This is an archive of the discontinued LLVM Phabricator instance.

[Darwin][ASan][Sanitizer] Enable dlclose-test for all darwin targets.
ClosedPublic

Authored by rsundahl on Apr 4 2022, 4:34 PM.

Details

Summary

Test was being skipped on non-x86 darwin architectures.

rdar://79795770

Diff Detail

Event Timeline

rsundahl created this revision.Apr 4 2022, 4:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2022, 4:34 PM
Herald added a subscriber: pengfei. · View Herald Transcript
rsundahl requested review of this revision.Apr 4 2022, 4:34 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 4 2022, 4:34 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript
yln accepted this revision.Apr 4 2022, 4:45 PM

LGTM, with nits.

compiler-rt/test/asan/TestCases/Posix/dlclose-test.cpp
13

Joining the grammar nitpick ;)

14

This test works on x86 and Darwin, but hasn't been confirmed working anywhere else.

This revision is now accepted and ready to land.Apr 4 2022, 4:45 PM
rsundahl updated this revision to Diff 420452.Apr 5 2022, 4:45 AM
  1. Updated D123099: [Darwin][ASan][Sanitizer] Enable dlclose-test for all darwin targets.
  2. Fixed nits
rsundahl marked 2 inline comments as done.Apr 5 2022, 4:49 AM
rsundahl added inline comments.
compiler-rt/test/asan/TestCases/Posix/dlclose-test.cpp
14

Re-worded slightly to fit <80 characters.

rsundahl accepted this revision.Apr 5 2022, 5:00 AM
rsundahl marked an inline comment as done.

Self-approved with comment.

This revision was landed with ongoing or failed builds.Apr 5 2022, 12:21 PM
This revision was automatically updated to reflect the committed changes.