diff options
author | Eric Christopher <echristo@gmail.com> | 2014-05-16 20:46:14 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2014-05-16 20:46:14 +0000 |
commit | 27846eca5ba156c9db34431725cb65e8d22b0f65 (patch) | |
tree | 7c56b7566e485d52e819f5a5f773998b27db2f1a /lib/CodeGen/BackendUtil.cpp | |
parent | 70c7eda21fd736f29ed4132cdcc656228d6ea952 (diff) |
Missed a ! in the if statement when these were being set and the options
are inverted in clang and llvm.
I'll attempt to get a testcase for this that doesn't involve compiling to .s,
but it's unlikely.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209017 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | lib/CodeGen/BackendUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp index 79c7e8bd5e..1a5213ee8f 100644 --- a/lib/CodeGen/BackendUtil.cpp +++ b/lib/CodeGen/BackendUtil.cpp @@ -494,7 +494,7 @@ TargetMachine *EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) { Options.MCOptions.MCRelaxAll = CodeGenOpts.RelaxAll; Options.MCOptions.MCSaveTempLabels = CodeGenOpts.SaveTempLabels; - Options.MCOptions.MCUseDwarfDirectory = CodeGenOpts.NoDwarfDirectoryAsm; + Options.MCOptions.MCUseDwarfDirectory = !CodeGenOpts.NoDwarfDirectoryAsm; Options.MCOptions.MCNoExecStack = CodeGenOpts.NoExecStack; TargetMachine *TM = TheTarget->createTargetMachine(Triple, TargetOpts.CPU, |