[PATCH] D18126: Port InstrProfiling pass to new pass manager
David Li via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 12 17:37:42 PST 2016
davidxl created this revision.
davidxl added a reviewer: chandlerc.
davidxl added a subscriber: llvm-commits.
Herald added a subscriber: joker.eph.
When creating the InstrProfiling pass, clang needs to pass the some options to the pass (such as profile output path, etc). There does not seem to be a good way to do that with the new pass manager. Please advise.
http://reviews.llvm.org/D18126
Files:
include/llvm/InitializePasses.h
include/llvm/LinkAllPasses.h
include/llvm/Transforms/Instrumentation.h
lib/Passes/PassBuilder.cpp
lib/Passes/PassRegistry.def
lib/Transforms/IPO/PassManagerBuilder.cpp
lib/Transforms/Instrumentation/InstrProfiling.cpp
lib/Transforms/Instrumentation/Instrumentation.cpp
test/Instrumentation/InstrProfiling/PR23499.ll
test/Instrumentation/InstrProfiling/linkage.ll
test/Instrumentation/InstrProfiling/no-counters.ll
test/Instrumentation/InstrProfiling/noruntime.ll
test/Instrumentation/InstrProfiling/platform.ll
test/Instrumentation/InstrProfiling/profiling.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18126.50533.patch
Type: text/x-patch
Size: 12099 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160313/4b62091c/attachment.bin>
More information about the llvm-commits
mailing list