Turn on the new .file directive when appropriate, instead of turning it off.

llvm-svn: 143327
This commit is contained in:
Nick Lewycky 2011-10-31 01:06:42 +00:00
parent aab6169ef6
commit dd424a5bc4
1 changed files with 2 additions and 2 deletions

View File

@ -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);