[compiler-rt] r253911 - [PGO] sync up target instrument decl between runtime and llvm (NFC)
Xinliang David Li via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 23 12:07:09 PST 2015
Author: davidxl
Date: Mon Nov 23 14:07:09 2015
New Revision: 253911
URL: http://llvm.org/viewvc/llvm-project?rev=253911&view=rev
Log:
[PGO] sync up target instrument decl between runtime and llvm (NFC)
Modified:
compiler-rt/trunk/lib/profile/InstrProfiling.h
Modified: compiler-rt/trunk/lib/profile/InstrProfiling.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/InstrProfiling.h?rev=253911&r1=253910&r2=253911&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/InstrProfiling.h (original)
+++ compiler-rt/trunk/lib/profile/InstrProfiling.h Mon Nov 23 14:07:09 2015
@@ -100,9 +100,13 @@ void __llvm_profile_reset_counters(void)
*
* Records the target value for the CounterIndex if not seen before. Otherwise,
* increments the counter associated w/ the target value.
+ * void __llvm_profile_instrument_target(uint64_t TargetValue, void *Data,
+ * uint32_t CounterIndex);
*/
-void __llvm_profile_instrument_target(uint64_t TargetValue, void *Data,
- uint32_t CounterIndex);
+void INSTR_PROF_VALUE_PROF_FUNC(
+#define VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType) ArgType ArgName
+#include "InstrProfData.inc"
+);
/*!
* \brief Prepares the value profiling data for output.
More information about the llvm-commits
mailing list