diff options
author | Devang Patel <dpatel@apple.com> | 2009-06-19 21:54:26 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-06-19 21:54:26 +0000 |
commit | 14a55d952cf238fff42da53a75f39cf06dab184b (patch) | |
tree | 6cdae6080a19a3b234ff1e5d5442d18f16ce2dad /lib/Target/XCore/XCoreTargetAsmInfo.cpp | |
parent | 73a76736fbae602563e1c7dab3658c005caa2c09 (diff) |
Move up dwarf writer initialization in common AsmPrinter class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73784 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/XCoreTargetAsmInfo.cpp')
-rw-r--r-- | lib/Target/XCore/XCoreTargetAsmInfo.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/XCore/XCoreTargetAsmInfo.cpp b/lib/Target/XCore/XCoreTargetAsmInfo.cpp index fe985d2d3b..59ad624052 100644 --- a/lib/Target/XCore/XCoreTargetAsmInfo.cpp +++ b/lib/Target/XCore/XCoreTargetAsmInfo.cpp @@ -24,6 +24,7 @@ using namespace llvm; XCoreTargetAsmInfo::XCoreTargetAsmInfo(const XCoreTargetMachine &TM) : ELFTargetAsmInfo(TM), Subtarget(TM.getSubtargetImpl()) { + SupportsDebugInformation = true; TextSection = getUnnamedSection("\t.text", SectionFlags::Code); DataSection = getNamedSection("\t.dp.data", SectionFlags::Writeable | SectionFlags::Small); |