summaryrefslogtreecommitdiffstats
path: root/build/build-clang/llvm-debug-frame.patch
blob: a8c57ce6fc45ff9df60f966d24e792d4a6ce4d6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: lib/CodeGen/AsmPrinter/AsmPrinter.cpp
===================================================================
--- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp	(revision 226419)
+++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp	(working copy)
@@ -210,6 +210,8 @@
     OutStreamer->EmitFileDirective(M.getModuleIdentifier());
   }

+  OutStreamer->EmitCFISections(true, true);
+
   GCModuleInfo *MI = getAnalysisIfAvailable<GCModuleInfo>();
   assert(MI && "AsmPrinter didn't require GCModuleInfo?");
   for (auto &I : *MI)