Skip to content

Commit b155532

Browse files
committed
Rollback changes to compiler-rt/lib/profile/InstrProfilingValue.c
1 parent ab1decf commit b155532

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

compiler-rt/lib/profile/InstrProfilingValue.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,7 @@ __llvm_profile_iterate_data(const __llvm_profile_data *Data) {
8383
/* This method is only used in value profiler mock testing. */
8484
COMPILER_RT_VISIBILITY void *
8585
__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;
86+
return Data->FunctionPointer;
9387
}
9488

9589
/* Allocate an array that holds the pointers to the linked lists of

0 commit comments

Comments
 (0)