This is an archive of the discontinued LLVM Phabricator instance.

[HWASan] Use ASM_WRAPPER_NAME instead of __interceptor_*
ClosedPublic

Authored by melver on May 23 2023, 7:54 AM.

Details

Summary

Use ASM_WRAPPER_NAME to produce the name of the __interceptor_*
functions.

NFC.

Diff Detail

Event Timeline

melver created this revision.May 23 2023, 7:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 23 2023, 7:54 AM
melver requested review of this revision.May 23 2023, 7:54 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 23 2023, 7:54 AM
Herald added subscribers: Restricted Project, pcwang-thead. · View Herald Transcript
dvyukov accepted this revision.May 23 2023, 7:59 AM

Nice! Should simplify changing these names.

This revision is now accepted and ready to land.May 23 2023, 7:59 AM
This revision was automatically updated to reflect the committed changes.
RamNalamothu added inline comments.
compiler-rt/lib/hwasan/hwasan_setjmp_riscv64.S
44

Typo at line 44:

ASN_WRAPPER_NAME --> ASM_WRAPPER_NAME
melver marked an inline comment as done.May 24 2023, 9:27 AM
melver added inline comments.
compiler-rt/lib/hwasan/hwasan_setjmp_riscv64.S
44

Fixed, thanks for the report!