]> granicus.if.org Git - llvm/commit
Change debug-info-for-profiling from a TargetOption to a function attribute.
authorDehao Chen <dehao@google.com>
Wed, 1 Feb 2017 22:45:09 +0000 (22:45 +0000)
committerDehao Chen <dehao@google.com>
Wed, 1 Feb 2017 22:45:09 +0000 (22:45 +0000)
commitfe46230d58acace8dc579416ca8dce5a759c08cd
tree951032dfd5ff1e2f92799cf309c7e7ec2d34e6c7
parentf7fdc84b39fc68dfb9c03eda397aae1c8a0413d5
Change debug-info-for-profiling from a TargetOption to a function attribute.

Summary: LTO requires the debug-info-for-profiling to be a function attribute.

Reviewers: echristo, mehdi_amini, dblaikie, probinson, aprantl

Reviewed By: mehdi_amini, dblaikie, aprantl

Subscribers: aprantl, probinson, ahatanak, llvm-commits, mehdi_amini

Differential Revision: https://reviews.llvm.org/D29203

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293833 91177308-0d34-0410-b5e6-96231b3b80d8
20 files changed:
include/llvm/IR/DIBuilder.h
include/llvm/IR/DebugInfoMetadata.h
include/llvm/Target/TargetOptions.h
lib/AsmParser/LLParser.cpp
lib/Bitcode/Reader/MetadataLoader.cpp
lib/Bitcode/Writer/BitcodeWriter.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
lib/IR/AsmWriter.cpp
lib/IR/DIBuilder.cpp
lib/IR/DebugInfo.cpp
lib/IR/DebugInfoMetadata.cpp
lib/Target/TargetMachine.cpp
test/Bitcode/upgrade-debug-info-for-profiling.ll [new file with mode: 0644]
test/Bitcode/upgrade-debug-info-for-profiling.ll.bc [new file with mode: 0644]
test/DebugInfo/Generic/gmlt.ll [moved from test/DebugInfo/Inputs/gmlt.ll with 96% similarity]
test/DebugInfo/Generic/gmlt.test [deleted file]
test/DebugInfo/Generic/gmlt_profiling.ll [new file with mode: 0644]
test/DebugInfo/X86/gmlt.test
unittests/IR/MetadataTest.cpp