Skip to content

Commit 13903ff

Browse files
authored
Update revert-3dae5eedd73370bad5183b5903cd0e186702fff8.patch (#46)
1 parent 4c164f1 commit 13903ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm-patches/revert-3dae5eedd73370bad5183b5903cd0e186702fff8.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ index dfc32ac9db29..7d0c7573f2e0 100644
77
#define GET_FUNCTION_ADDRESS(fn) &fn
88
#else
99
-#define GET_FUNCTION_ADDRESS(fn) __builtin_function_start(fn)
10-
+#define GET_FUNCTION_ADDRESS(fn) (void *)fn
10+
+#define GET_FUNCTION_ADDRESS(fn) (void *)(&fn)
1111
#endif // LIBFUZER_MSVC
1212

1313
// Copied from compiler-rt/lib/sanitizer_common/sanitizer_win_defs.h

0 commit comments

Comments
 (0)