This is an archive of the discontinued LLVM Phabricator instance.

Don't dead-end asan_foo() entrypoints in the shim
ClosedPublic

Authored by rsundahl on Sep 24 2023, 10:21 PM.

Details

Summary

Some entrypoints supporting LLDB process introspection were not
being forwarded to asan_abi_foo() stable ABI entrypoints which
effectively dead-ended them in NOPs that could not be implemented
by Stable ABI.

rdar://115974403

Diff Detail

Event Timeline

rsundahl created this revision.Sep 24 2023, 10:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 24 2023, 10:21 PM
Herald added a subscriber: Enna1. · View Herald Transcript
rsundahl requested review of this revision.Sep 24 2023, 10:21 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 24 2023, 10:21 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
rsundahl edited the summary of this revision. (Show Details)Sep 24 2023, 10:27 PM
vitalybuka accepted this revision.Sep 26 2023, 3:57 PM
This revision is now accepted and ready to land.Sep 26 2023, 3:57 PM
wrotki accepted this revision.Sep 26 2023, 4:01 PM

Vitaly, thanks for looking at this.

MaskRay accepted this revision.Sep 26 2023, 4:05 PM

Are __asan_abi_register_elf_globals needed if non-Apple systems don't build lib/asan_abi?

Are __asan_abi_register_elf_globals needed if non-Apple systems don't build lib/asan_abi?

Shouldn't need it for now but I put it there for completeness and I'm even though asan_abi is only building for Apple platforms, I'm also not trying to design other platforms out necessarily.

rsundahl retitled this revision from Don't dead-end asan_foo() entypoints in the shim to Don't dead-end asan_foo() entrypoints in the shim.Sep 26 2023, 5:39 PM
This revision was automatically updated to reflect the committed changes.