aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp
diff options
context:
space:
mode:
authorJaved Absar <javed.absar@arm.com>2017-06-05 10:11:57 +0000
committerJaved Absar <javed.absar@arm.com>2017-06-05 10:11:57 +0000
commit2a67c9ee39c3a2dd298a9a0aec96a1eff6349344 (patch)
tree4ad76a7874c3308ece86e0e2b76b35f0ff1102df /llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp
parentb16d146838b8f4b34e072f34a5f194d9a4df4cc5 (diff)
downloadllvm-2a67c9ee39c3a2dd298a9a0aec96a1eff6349344.zip
llvm-2a67c9ee39c3a2dd298a9a0aec96a1eff6349344.tar.gz
llvm-2a67c9ee39c3a2dd298a9a0aec96a1eff6349344.tar.bz2
Add support for #pragma clang section
This patch provides a means to specify section-names for global variables, functions and static variables, using #pragma directives. This feature is only defined to work sensibly for ELF targets. One can specify section names as: #pragma clang section bss="myBSS" data="myData" rodata="myRodata" text="myText" One can "unspecify" a section name with empty string e.g. #pragma clang section bss="" data="" text="" rodata="" Reviewers: Roger Ferrer, Jonathan Roelofs, Reid Kleckner Differential Revision: https://reviews.llvm.org/D33412 llvm-svn: 304705
Diffstat (limited to 'llvm/lib/DebugInfo/CodeView/DebugCrossExSubsection.cpp')
0 files changed, 0 insertions, 0 deletions