This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Respect CMAKE_NM
ClosedPublic

Authored by smeenai on Jun 14 2019, 3:57 PM.

Details

Summary

The default nm executable may not be able to handle the architecture
we're building the sanitizers for. Respect CMAKE_NM if it's set to
ensure we're using the correct nm tool. Preserve the existing NM
environment variable override to not break its users.

Diff Detail

Repository
rL LLVM

Event Timeline

smeenai created this revision.Jun 14 2019, 3:57 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 14 2019, 3:57 PM
Herald added subscribers: llvm-commits, Restricted Project, mgorny and 2 others. · View Herald Transcript
compnerd accepted this revision.Jun 14 2019, 7:47 PM
This revision is now accepted and ready to land.Jun 14 2019, 7:47 PM
This revision was automatically updated to reflect the committed changes.