forked from OSchip/llvm-project
Turn on the new .file directive when appropriate, instead of turning it off.
llvm-svn: 143327
This commit is contained in:
parent
aab6169ef6
commit
dd424a5bc4
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue