diff options
Diffstat (limited to 'lib/Target')
-rw-r--r-- | lib/Target/TargetAsmInfo.cpp | 3 | ||||
-rw-r--r-- | lib/Target/X86/X86TargetAsmInfo.cpp | 6 |
2 files changed, 6 insertions, 3 deletions
diff --git a/lib/Target/TargetAsmInfo.cpp b/lib/Target/TargetAsmInfo.cpp index 37ab073ffc..b7e3440766 100644 --- a/lib/Target/TargetAsmInfo.cpp +++ b/lib/Target/TargetAsmInfo.cpp @@ -75,7 +75,8 @@ TargetAsmInfo::TargetAsmInfo() : WeakRefDirective(0), HiddenDirective("\t.hidden\t"), ProtectedDirective("\t.protected\t"), - AbsoluteSectionOffsets(false), + AbsoluteDebugSectionOffsets(false), + AbsoluteEHSectionOffsets(false), HasLEB128(false), HasDotLoc(false), HasDotFile(false), diff --git a/lib/Target/X86/X86TargetAsmInfo.cpp b/lib/Target/X86/X86TargetAsmInfo.cpp index 6a27072e98..85ac7a4421 100644 --- a/lib/Target/X86/X86TargetAsmInfo.cpp +++ b/lib/Target/X86/X86TargetAsmInfo.cpp @@ -99,7 +99,8 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) { case X86Subtarget::isELF: // Set up DWARF directives HasLEB128 = true; // Target asm supports leb128 directives (little-endian) - AbsoluteSectionOffsets = true; + AbsoluteDebugSectionOffsets = true; + AbsoluteEHSectionOffsets = false; // bool HasLEB128; // Defaults to false. // hasDotLoc - True if target asm supports .loc directives. // bool HasDotLoc; // Defaults to false. @@ -141,7 +142,8 @@ X86TargetAsmInfo::X86TargetAsmInfo(const X86TargetMachine &TM) { // Set up DWARF directives HasLEB128 = true; // Target asm supports leb128 directives (little-endian) - AbsoluteSectionOffsets = true; + AbsoluteDebugSectionOffsets = true; + AbsoluteEHSectionOffsets = false; PrivateGlobalPrefix = "L"; // Prefix for private global symbols WeakRefDirective = "\t.weak\t"; SetDirective = "\t.set\t"; |