summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCContext.cpp
diff options
context:
space:
mode:
authorManman Ren <mren@apple.com>2013-02-05 21:52:47 +0000
committerManman Ren <mren@apple.com>2013-02-05 21:52:47 +0000
commit4e042a6be6ceeffcacc9a07ea2f4c232c6773567 (patch)
treef62edcb1b8e5ab41147ad11066b34892b2f36d78 /llvm/lib/MC/MCContext.cpp
parentd15f013dc215b9c57222fa07243a9e0a39e80216 (diff)
downloadbcm5719-llvm-4e042a6be6ceeffcacc9a07ea2f4c232c6773567.tar.gz
bcm5719-llvm-4e042a6be6ceeffcacc9a07ea2f4c232c6773567.zip
Dwarf: support for LTO where a single object file can have multiple line tables
We generate one line table for each compilation unit in the object file. Reviewed by Eric and Kevin. rdar://problem/13067005 llvm-svn: 174445
Diffstat (limited to 'llvm/lib/MC/MCContext.cpp')
-rw-r--r--llvm/lib/MC/MCContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCContext.cpp b/llvm/lib/MC/MCContext.cpp
index aa52b49047f..a074003711f 100644
--- a/llvm/lib/MC/MCContext.cpp
+++ b/llvm/lib/MC/MCContext.cpp
@@ -40,7 +40,7 @@ MCContext::MCContext(const MCAsmInfo &mai, const MCRegisterInfo &mri,
CompilationDir(llvm::sys::Path::GetCurrentDirectory().str()),
CurrentDwarfLoc(0,0,0,DWARF2_FLAG_IS_STMT,0,0),
DwarfLocSeen(false), GenDwarfForAssembly(false), GenDwarfFileNumber(0),
- AllowTemporaryLabels(true), AutoReset(DoAutoReset) {
+ AllowTemporaryLabels(true), DwarfCompileUnitID(0), AutoReset(DoAutoReset) {
MachOUniquingMap = 0;
ELFUniquingMap = 0;
OpenPOWER on IntegriCloud