projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Defer call to InitSections until after MCContext has been initialized. If
[oota-llvm.git]
/
lib
/
CodeGen
/
LLVMTargetMachine.cpp
diff --git
a/lib/CodeGen/LLVMTargetMachine.cpp
b/lib/CodeGen/LLVMTargetMachine.cpp
index f0d536982bc2426fd73b3c7e0ab4e8c8ad7bc5f1..1065614f4b2e1e082c1b2a9a5fe6024ed4683c0b 100644
(file)
--- a/
lib/CodeGen/LLVMTargetMachine.cpp
+++ b/
lib/CodeGen/LLVMTargetMachine.cpp
@@
-202,7
+202,7
@@
bool LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
*Context, *MAB, Out,
MCE, hasMCRelaxAll(),
hasMCNoExecStack()));
- AsmStreamer.get()->
InitSections(
);
+ AsmStreamer.get()->
setAutoInitSections(true
);
break;
}
case CGFT_Null: