The -fno-sanitize-link-runtime flag currently does not work as expected on Darwin. This patch fixes that.
rdar://99200922
Paths
| Differential D142421
[Sanitizers] fix -fno-sanitize-link-runtime for darwin ClosedPublic Authored by usama54321 on Jan 23 2023, 4:55 PM.
Details Summary The -fno-sanitize-link-runtime flag currently does not work as expected on Darwin. This patch fixes that. rdar://99200922
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 26 2023, 3:29 PM Comment Actions Looks harmless enough, even though I am not sure why we have a completely separate code path on Darwin. The other toolchain driver seem to have shared code for this in clang/lib/Driver/ToolChains/CommonArgs.cpp. This revision was landed with ongoing or failed builds.Feb 1 2023, 11:08 AM Closed by commit rG57690a8ece9e: [Sanitizers] fix -fno-sanitize-link-runtime for darwin (authored by usama54321). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 494015 clang/lib/Driver/ToolChains/Darwin.cpp
clang/test/Driver/sanitizer-ld.c
|