llvm-6502/tools
Filip Pizlo 6eb43d2956 This threads SectionName through the allocateCodeSection/allocateDataSection APIs, both in C++ and C land.
It's useful for the memory managers that are allocating a section to know what the name of the section is.  
At a minimum, this is useful for low-level debugging - it's customary for JITs to be able to tell you what 
memory they allocated, and as part of any such dump, they should be able to tell you some meta-data about 
what each allocation is for.  This allows clients that supply their own memory managers to do this.  
Additionally, we also envision the SectionName being useful for passing meta-data from within LLVM to an LLVM 
client.

This changes both the C and C++ APIs, and all of the clients of those APIs within LLVM.  I'm assuming that 
it's safe to change the C++ API because that API is allowed to change.  I'm assuming that it's safe to change 
the C API because we haven't shipped the API in a release yet (LLVM 3.3 doesn't include the MCJIT memory 
management C API).



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191804 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-02 00:59:25 +00:00
..
bugpoint Remove several unused variables. 2013-10-01 13:32:03 +00:00
bugpoint-passes
gold
llc
lli This threads SectionName through the allocateCodeSection/allocateDataSection APIs, both in C++ and C land. 2013-10-02 00:59:25 +00:00
llvm-ar
llvm-as Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-bcanalyzer
llvm-config
llvm-cov
llvm-diff Remove several unused variables. 2013-10-01 13:32:03 +00:00
llvm-dis Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-dwarfdump Add gnu pubsections as options to llvm-dwarfdump. 2013-09-25 23:02:44 +00:00
llvm-extract Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-jitlistener
llvm-link Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-lto Remove several unused variables. 2013-10-01 13:32:03 +00:00
llvm-mc
llvm-mcmarkup
llvm-nm Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-objdump Remove several unused variables. 2013-10-01 13:32:03 +00:00
llvm-prof Remove several unused variables. 2013-10-01 13:32:03 +00:00
llvm-readobj Remove several unused variables. 2013-10-01 13:32:03 +00:00
llvm-rtdyld This threads SectionName through the allocateCodeSection/allocateDataSection APIs, both in C++ and C land. 2013-10-02 00:59:25 +00:00
llvm-shlib
llvm-size
llvm-stress Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-symbolizer
lto Move command line options to the users of libLTO. Fixes --enable-shared build. 2013-09-30 16:39:19 +00:00
macho-dump Object/COFF: Rename getXXX{Begin,End} -> xxx_{begin,end}. 2013-09-27 21:47:05 +00:00
msbuild msbuild: Set _MSC_VER to match the CRT we're using 2013-09-19 17:18:35 +00:00
obj2yaml Remove several unused variables. 2013-10-01 13:32:03 +00:00
opt
yaml2obj
CMakeLists.txt Revert "Enable building LTO on WIN32." 2013-09-30 16:32:51 +00:00
LLVMBuild.txt Move LTO support library to a component, allowing it to be tested 2013-09-24 23:52:22 +00:00
Makefile llvm/tools/Makefile: Suppress building llvm-lto on cygming, for now, probably due to LTO.dll. 2013-09-20 13:12:24 +00:00