llvm-project/llvm/tools
Filip Pizlo 7aa695e026 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).

llvm-svn: 191804
2013-10-02 00:59:25 +00:00
..
bugpoint Remove several unused variables. 2013-10-01 13:32:03 +00:00
bugpoint-passes [CMake] bugpoint-passes should not be built in "all", when LLVM_BUILD_TOOLS is OFF. 2013-01-22 01:44:00 +00:00
gold Revert r188188 and r188200. 2013-08-12 21:07:31 +00:00
llc Use function attributes to indicate that we don't want to realign the stack. 2013-08-01 21:42:05 +00:00
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 Fix name matching to work on windows. 2013-08-28 21:00:03 +00:00
llvm-as Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-bcanalyzer keep only the StringRef version of getFileOrSTDIN. 2013-06-25 05:28:34 +00:00
llvm-config cmake: Prevent semicolon separated lists in llvm-config (PR17020) 2013-08-28 17:04:06 +00:00
llvm-cov Remove accidental commit. 2012-11-07 18:39:32 +00:00
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 Manually update the dependencies in the Makefiles. It turns out that all 2013-03-26 03:45:47 +00:00
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 Add an instruction deprecation feature to TableGen. 2013-09-12 10:28:05 +00:00
llvm-mcmarkup MC: Simple example parser for MC assembly markup. 2012-10-31 23:24:13 +00:00
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 Use @rpath for libraries rather than @executable_path on OSX. 2013-08-02 01:51:52 +00:00
llvm-size Sort the #include lines for tools/... 2012-12-04 10:44:52 +00:00
llvm-stress Revert "Encapsulate PassManager debug flags to avoid static init and cxa_exit." 2013-09-19 06:02:43 +00:00
llvm-symbolizer llvm-symbolizer: use real path when looking for debug binary location 2013-08-26 18:12:03 +00:00
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 Lift alignment restrictions for load/store folding on VINSERTF128/VEXTRACTF128. Fixes PR17268. 2013-09-18 03:55:53 +00:00
yaml2obj [Object] Split the ELF interface into 3 parts. 2013-08-08 22:27:13 +00:00
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