llvm-project/llvm/lib
Javed Absar f3d7904d20 [IR] Allow attributes with global variables
This patch extends llvm-ir to allow attributes to be set on global variables.
An RFC was sent out earlier by my colleague James Molloy: http://lists.llvm.org/pipermail/cfe-dev/2017-March/053100.html
A key part of that proposal was to extend LLVM-IR to carry attributes on global variables.
This generic feature could be useful for multiple purposes.
In our present context, it would be useful to carry user specified sections for bss/rodata/data.

Reviewed by: Jonathan Roelofs, Reid Kleckner
Differential Revision: https://reviews.llvm.org/D32009

llvm-svn: 302794
2017-05-11 12:28:08 +00:00
..
Analysis [SCEV] Reduce possible APInt allocations a bit. 2017-05-11 06:48:54 +00:00
AsmParser [IR] Allow attributes with global variables 2017-05-11 12:28:08 +00:00
Bitcode [IR] Allow attributes with global variables 2017-05-11 12:28:08 +00:00
CodeGen Strip trailing whitespace. NFCI. 2017-05-11 10:03:05 +00:00
DebugInfo [DWARF] Fix a parsing issue with type unit headers. 2017-05-09 19:38:38 +00:00
Demangle Add support for demangling C++11 thread_local variables. 2017-01-31 15:56:36 +00:00
ExecutionEngine [ExecutionEngine] Make RuntimeDyld::MemoryManager responsible for tracking EH 2017-05-09 21:32:18 +00:00
Fuzzer [libFuzzer] fix a compiler warning 2017-05-10 23:59:03 +00:00
IR [IR] Allow attributes with global variables 2017-05-11 12:28:08 +00:00
IRReader Timer: Track name and description. 2016-11-18 19:43:18 +00:00
LTO Ensure non-null ProfileSummaryInfo passed to ModuleSummaryIndex builder 2017-05-10 18:52:16 +00:00
LibDriver Fix some ArgList uses after API change in r300135. 2017-04-12 23:43:58 +00:00
LineEditor
Linker [Linker] Provide callback for internalization 2017-03-13 18:08:11 +00:00
MC chang type from 'int' to 'size_t'. This will fix revision number 302652 2017-05-10 14:00:57 +00:00
Object [WebAssembly] Improve libObject support for wasm imports and exports 2017-05-09 23:48:41 +00:00
ObjectYAML [WebAssembly] Fix build error in wasm YAML code 2017-05-10 00:14:04 +00:00
Option ArgList: cache index ranges containing arguments with each ID 2017-04-12 23:19:51 +00:00
Passes [PM] Add ProfileSummaryAnalysis as a required pass in the new pipeline. 2017-05-04 16:58:45 +00:00
ProfileData [ProfileData] Unify getInstrProf*SectionName helpers 2017-04-15 00:09:57 +00:00
Support Remove spurious cast of nullptr. NFC. 2017-05-11 08:53:00 +00:00
TableGen Use print() instead of dump() in code 2017-01-28 02:47:46 +00:00
Target [GlobalISel][X86] Remove hand-written G_FADD/F_SUB selection. 2017-05-11 12:15:03 +00:00
Transforms [LV] Refactor ILV.vectorize{Loop}() by introducing LVP.executePlan(); NFC 2017-05-11 11:36:33 +00:00
XRay [XRay] - Fix spelling error to test commit access. 2017-04-06 03:32:01 +00:00
CMakeLists.txt [XRay] Define the library for XRay trace logs 2017-01-11 06:39:09 +00:00
LLVMBuild.txt