summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-05-16 20:46:14 +0000
committerEric Christopher <echristo@gmail.com>2014-05-16 20:46:14 +0000
commite76eee46387649a5b8effc992314478f02a154bf (patch)
treea73ce75dc690395705d8064929faf3c337836356 /clang/lib/CodeGen/BackendUtil.cpp
parent4fc3cdd05476fc2d18949148bcb7d72480c1564f (diff)
downloadbcm5719-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.cpp2
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,
OpenPOWER on IntegriCloud