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 | e76eee46387649a5b8effc992314478f02a154bf (patch) | |
tree | a73ce75dc690395705d8064929faf3c337836356 /clang/lib/CodeGen/BackendUtil.cpp | |
parent | 4fc3cdd05476fc2d18949148bcb7d72480c1564f (diff) | |
download | bcm5719-llvm-e76eee46387649a5b8effc992314478f02a154bf.tar.gz bcm5719-llvm-e76eee46387649a5b8effc992314478f02a154bf.zip |
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.
llvm-svn: 209017
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index 79c7e8bd5e2..1a5213ee8f5 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/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, |