mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
834326712b
Mac Tinderbox debug build). r=catlee. patch clang to always produce debug_frame. --HG-- extra : rebase_source : 0ca24100e9451b5d4d585fa27c116183fa6c5864
14 lines
588 B
Diff
14 lines
588 B
Diff
diff --git a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
|
|
index d6d4510..c488d4a 100644
|
|
--- a/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
|
|
+++ b/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
|
|
@@ -172,6 +172,8 @@ bool AsmPrinter::doInitialization(Module &M) {
|
|
OutStreamer.EmitFileDirective(M.getModuleIdentifier());
|
|
}
|
|
|
|
+ OutStreamer.EmitCFISections(true, true);
|
|
+
|
|
GCModuleInfo *MI = getAnalysisIfAvailable<GCModuleInfo>();
|
|
assert(MI && "AsmPrinter didn't require GCModuleInfo?");
|
|
for (GCModuleInfo::iterator I = MI->begin(), E = MI->end(); I != E; ++I)
|