summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/BackendUtil.cpp
diff options
context:
space:
mode:
authorDehao Chen <dehao@google.com>2017-02-01 22:45:21 +0000
committerDehao Chen <dehao@google.com>2017-02-01 22:45:21 +0000
commit5a3f890e0618cbd8ce789ab24c1c1f5c311a16d8 (patch)
tree8e19179d0d845f06598e9652ae71369e617d910f /clang/lib/CodeGen/BackendUtil.cpp
parent0944a8c2ec4b7049403855c4195ccd541098c29d (diff)
downloadbcm5719-llvm-5a3f890e0618cbd8ce789ab24c1c1f5c311a16d8.tar.gz
bcm5719-llvm-5a3f890e0618cbd8ce789ab24c1c1f5c311a16d8.zip
Change debug-info-for-profiling from a TargetOption to a function attribute.
Summary: cfe change for https://reviews.llvm.org/D29203 Reviewers: echristo, dblaikie Reviewed By: dblaikie Subscribers: mehdi_amini, cfe-commits Differential Revision: https://reviews.llvm.org/D29205 llvm-svn: 293834
Diffstat (limited to 'clang/lib/CodeGen/BackendUtil.cpp')
-rw-r--r--clang/lib/CodeGen/BackendUtil.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp
index 1bf3c5aec79..712c9611bd8 100644
--- a/clang/lib/CodeGen/BackendUtil.cpp
+++ b/clang/lib/CodeGen/BackendUtil.cpp
@@ -568,7 +568,6 @@ void EmitAssemblyHelper::CreateTargetMachine(bool MustCreateTM) {
Options.DisableIntegratedAS = CodeGenOpts.DisableIntegratedAS;
Options.CompressDebugSections = CodeGenOpts.CompressDebugSections;
Options.RelaxELFRelocations = CodeGenOpts.RelaxELFRelocations;
- Options.DebugInfoForProfiling = CodeGenOpts.DebugInfoForProfiling;
// Set EABI version.
Options.EABIVersion = llvm::StringSwitch<llvm::EABI>(TargetOpts.EABIVersion)
OpenPOWER on IntegriCloud