summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorPaul Robinson <paul_robinson@playstation.sony.com>2015-12-18 23:41:11 +0000
committerPaul Robinson <paul_robinson@playstation.sony.com>2015-12-18 23:41:11 +0000
commita3ff2e4e02562c6732d87f7118ca663f9b3dae37 (patch)
treef46482243d01f0eb297b83efc1024960bb3db417 /clang/lib/CodeGen
parentbfc2dc7ab7dbc622966527d550bfe44b4296067b (diff)
downloadbcm5719-llvm-a3ff2e4e02562c6732d87f7118ca663f9b3dae37.tar.gz
bcm5719-llvm-a3ff2e4e02562c6732d87f7118ca663f9b3dae37.zip
CC1 part of debugger tuning; pass through setting from driver to LLVM.
Differential Revision: http://reviews.llvm.org/D15650 llvm-svn: 256063
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/BackendUtil.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp
index 784e9c7ba5f..c4a98156d78 100644
--- a/clang/lib/CodeGen/BackendUtil.cpp
+++ b/clang/lib/CodeGen/BackendUtil.cpp
@@ -553,6 +553,7 @@ TargetMachine *EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) {
Options.DataSections = CodeGenOpts.DataSections;
Options.UniqueSectionNames = CodeGenOpts.UniqueSectionNames;
Options.EmulatedTLS = CodeGenOpts.EmulatedTLS;
+ Options.DebuggerTuning = CodeGenOpts.getDebuggerTuning();
Options.MCOptions.MCRelaxAll = CodeGenOpts.RelaxAll;
Options.MCOptions.MCSaveTempLabels = CodeGenOpts.SaveTempLabels;
OpenPOWER on IntegriCloud