This is an archive of the discontinued LLVM Phabricator instance.

[ASAN] Fix darwin-interface test
ClosedPublic

Authored by steven_wu on Mar 14 2022, 1:40 PM.

Details

Summary

Fix darwin interface test after D121464. asan_rtl_x86_64.S is not
available on Darwin.

Diff Detail

Event Timeline

steven_wu created this revision.Mar 14 2022, 1:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2022, 1:40 PM
steven_wu requested review of this revision.Mar 14 2022, 1:40 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 14 2022, 1:40 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript

Not sure about win32 situation as it is also guarded in compiler-rt/lib/asan/CMakeLists.txt:

if (NOT WIN32 AND NOT APPLE)
   list(APPEND ASAN_SOURCES
     asan_rtl_x86_64.S
     asan_interceptors_vfork.S
     )
 endif()
steven_wu updated this revision to Diff 415255.Mar 14 2022, 3:50 PM

Add win32.

This revision is now accepted and ready to land.Mar 14 2022, 4:40 PM
This revision was automatically updated to reflect the committed changes.