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 | dd424a5bc423a546728db7c0719e558d9563045f (patch) | |
tree | a46a46868f228612e205b3fb3ca872e3dd5484ee /clang/lib/CodeGen/BackendUtil.cpp | |
parent | aab6169ef69df3344cb30d7e15e4ca3c0c50e73b (diff) | |
download | bcm5719-llvm-dd424a5bc423a546728db7c0719e558d9563045f.tar.gz bcm5719-llvm-dd424a5bc423a546728db7c0719e558d9563045f.zip |
Turn on the new .file directive when appropriate, instead of turning it off.
llvm-svn: 143327
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index 8bd67ba3f0b..bb44d1434c3 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/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); |