This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] removed memory access callback from asan interface for darwin
ClosedPublic

Authored by aralisza on Dec 15 2021, 6:38 PM.

Details

Summary

These symbols were introduced in https://reviews.llvm.org/D114558 but were not properly guarded for mac which caused downstream CI failures

Diff Detail

Event Timeline

aralisza created this revision.Dec 15 2021, 6:38 PM
aralisza requested review of this revision.Dec 15 2021, 6:38 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 15 2021, 6:38 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
aralisza updated this revision to Diff 394715.Dec 15 2021, 6:50 PM

simplify platform guard

kubamracek accepted this revision.Dec 16 2021, 12:06 PM

Aha, this is just the same treatment that's already done to the _linux.cpp version of this test: https://github.com/llvm/llvm-project/commit/c13524856bb304e6b4f80da7f5c5ecdc021920ee

Given that, LGTM.

This revision is now accepted and ready to land.Dec 16 2021, 12:06 PM
yln accepted this revision.Dec 16 2021, 12:33 PM
yln added inline comments.
compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
2–3

Can we put this note here in reverse in Linux/interface_symbols.c? Hopefully this will make it less likely for them to get out of sync.

aralisza added inline comments.Dec 16 2021, 12:59 PM
compiler-rt/test/asan/TestCases/Darwin/interface_symbols_darwin.cpp
2–3

I will do this in a subsequent patch

This revision was landed with ongoing or failed builds.Dec 16 2021, 1:03 PM
This revision was automatically updated to reflect the committed changes.