summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2007-05-03 20:28:35 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2007-05-03 20:28:35 +0000
commit83930198dd626c91e3ecb555b7a112e9f2159e49 (patch)
tree18b284d00f5933f2a19b6a13d734c6708e78e1a7 /llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
parentc332bbaae4ba776e3c460d699e57fd0aff3bfb76 (diff)
downloadbcm5719-llvm-83930198dd626c91e3ecb555b7a112e9f2159e49.tar.gz
bcm5719-llvm-83930198dd626c91e3ecb555b7a112e9f2159e49.zip
Debug support for arm-linux.
Patch by Raul Herbster. llvm-svn: 36690
Diffstat (limited to 'llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
index 735790c237e..c7cf074b4e8 100644
--- a/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
@@ -63,8 +63,25 @@ ARMTargetAsmInfo::ARMTargetAsmInfo(const ARMTargetMachine &TM) {
DwarfRangesSection = ".section __DWARF,__debug_ranges,regular,debug";
DwarfMacInfoSection = ".section __DWARF,__debug_macinfo,regular,debug";
} else {
+ NeedsSet = false;
+ HasLEB128 = true;
+ AbsoluteDebugSectionOffsets = true;
+ ReadOnlySection = "\t.section\t.rodata\n";
PrivateGlobalPrefix = ".L";
WeakRefDirective = "\t.weak\t";
+ DwarfRequiresFrameSection = false;
+ DwarfAbbrevSection = "\t.section\t.debug_abbrev,\"\",%progbits";
+ DwarfInfoSection = "\t.section\t.debug_info,\"\",%progbits";
+ DwarfLineSection = "\t.section\t.debug_line,\"\",%progbits";
+ DwarfFrameSection = "\t.section\t.debug_frame,\"\",%progbits";
+ DwarfPubNamesSection ="\t.section\t.debug_pubnames,\"\",%progbits";
+ DwarfPubTypesSection ="\t.section\t.debug_pubtypes,\"\",%progbits";
+ DwarfStrSection = "\t.section\t.debug_str,\"\",%progbits";
+ DwarfLocSection = "\t.section\t.debug_loc,\"\",%progbits";
+ DwarfARangesSection = "\t.section\t.debug_aranges,\"\",%progbits";
+ DwarfRangesSection = "\t.section\t.debug_ranges,\"\",%progbits";
+ DwarfMacInfoSection = "\t.section\t.debug_macinfo,\"\",%progbits";
+
if (Subtarget->isAAPCS_ABI()) {
StaticCtorsSection = "\t.section .init_array,\"aw\",%init_array";
StaticDtorsSection = "\t.section .fini_array,\"aw\",%fini_array";
OpenPOWER on IntegriCloud