We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab1decf commit b155532Copy full SHA for b155532
compiler-rt/lib/profile/InstrProfilingValue.c
@@ -83,13 +83,7 @@ __llvm_profile_iterate_data(const __llvm_profile_data *Data) {
83
/* This method is only used in value profiler mock testing. */
84
COMPILER_RT_VISIBILITY void *
85
__llvm_get_function_addr(const __llvm_profile_data *Data) {
86
- void *FP = Data->FunctionPointer;
87
-#if __has_feature(ptrauth_calls)
88
- // This is only used for tests where we compare against what happens to be
89
- // signed pointers.
90
- FP = ptrauth_sign_unauthenticated(FP, VALID_CODE_KEY, 0);
91
-#endif
92
- return FP;
+ return Data->FunctionPointer;
93
}
94
95
/* Allocate an array that holds the pointers to the linked lists of
0 commit comments