[cfe-commits] r143327 - /cfe/trunk/lib/CodeGen/BackendUtil.cpp

Nick Lewycky nicholas at mxc.ca
Sun Oct 30 18:06:43 PDT 2011


Author: nicholas
Date: Sun Oct 30 20:06:42 2011
New Revision: 143327

URL: http://llvm.org/viewvc/llvm-project?rev=143327&view=rev
Log:
Turn on the new .file directive when appropriate, instead of turning it off.

Modified:
    cfe/trunk/lib/CodeGen/BackendUtil.cpp

Modified: cfe/trunk/lib/CodeGen/BackendUtil.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/BackendUtil.cpp?rev=143327&r1=143326&r2=143327&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/BackendUtil.cpp (original)
+++ cfe/trunk/lib/CodeGen/BackendUtil.cpp Sun Oct 30 20:06:42 2011
@@ -305,8 +305,8 @@
     TM->setMCSaveTempLabels(true);
   if (CodeGenOpts.NoDwarf2CFIAsm)
     TM->setMCUseCFI(false);
-  if (CodeGenOpts.NoDwarfDirectoryAsm)
-    TM->setMCUseDwarfDirectory(false);
+  if (!CodeGenOpts.NoDwarfDirectoryAsm)
+    TM->setMCUseDwarfDirectory(true);
   if (CodeGenOpts.NoExecStack)
     TM->setMCNoExecStack(true);
 





More information about the cfe-commits mailing list