projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PGO] move names of runtime sections definitions to InstrProfData.inc
[oota-llvm.git]
/
lib
/
Transforms
/
Instrumentation
/
InstrProfiling.cpp
diff --git
a/lib/Transforms/Instrumentation/InstrProfiling.cpp
b/lib/Transforms/Instrumentation/InstrProfiling.cpp
index a70bf27ed7b91dcc22dc90a087536717f5a77289..03b404c1f3b7667c0e779a5a69b4b6773566c117 100644
(file)
--- a/
lib/Transforms/Instrumentation/InstrProfiling.cpp
+++ b/
lib/Transforms/Instrumentation/InstrProfiling.cpp
@@
-181,7
+181,7
@@
static Constant *getOrInsertValueProfilingCall(Module &M) {
};
auto *ValueProfilingCallTy =
FunctionType::get(ReturnTy, makeArrayRef(ParamTypes), false);
- return M.getOrInsertFunction(
"__llvm_profile_instrument_target"
,
+ return M.getOrInsertFunction(
getInstrProfValueProfFuncName()
,
ValueProfilingCallTy);
}