diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2011-10-31 01:06:42 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2011-10-31 01:06:42 +0000 |
commit | aaf2f36a8c5939b08dc8096da8e6eeeee4975177 (patch) | |
tree | bd51abf0490c1596b19b38afcb5996be350b6057 | |
parent | 8198288f4e5dfe1743abeed1aee780fe1ddcdf07 (diff) |
Turn on the new .file directive when appropriate, instead of turning it off.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@143327 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/BackendUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp index 8bd67ba3f0..bb44d1434c 100644 --- a/lib/CodeGen/BackendUtil.cpp +++ b/lib/CodeGen/BackendUtil.cpp @@ -305,8 +305,8 @@ bool EmitAssemblyHelper::AddEmitPasses(BackendAction Action, 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); |