Most uses of ALIAS() are in conjunction with WRAPPER_NAME().
Simplify the code and just make ALIAS() turn its argument into a string
(similar to Linux kernel's __alias macro). This in turn allows removing
WRAPPER_NAME().
NFC.
Paths
| Differential D151216
[compiler-rt] Simplify ALIAS() attribute macro ClosedPublic Authored by melver on May 23 2023, 7:54 AM.
Details Summary Most uses of ALIAS() are in conjunction with WRAPPER_NAME(). Simplify the code and just make ALIAS() turn its argument into a string NFC.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 23 2023, 7:59 AM This revision was landed with ongoing or failed builds.May 24 2023, 2:58 AM Closed by commit rG175fcd6fd24c: [compiler-rt] Simplify ALIAS() attribute macro (authored by melver). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 525085 compiler-rt/lib/asan/asan_interceptors.cpp
compiler-rt/lib/hwasan/hwasan_allocation_functions.cpp
compiler-rt/lib/interception/interception.h
compiler-rt/lib/lsan/lsan_interceptors.cpp
compiler-rt/lib/memprof/memprof_interceptors.cpp
compiler-rt/lib/msan/msan_interceptors.cpp
compiler-rt/lib/sanitizer_common/sanitizer_common_interceptors.inc
compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h
compiler-rt/lib/sanitizer_common/sanitizer_win_dll_thunk.h
compiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_testlib.cpp
compiler-rt/lib/tsan/rtl/tsan_interceptors.h
|