This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Call hasFlag instead of hasArg
ClosedPublic

Authored by ahatanak on Apr 22 2022, 4:59 PM.

Details

Summary

_HAS_STATIC_RTTI should be set to 0 only by -fno-rtti according to the summary of https://reviews.llvm.org/D103771.

rdar://92039243

Diff Detail

Event Timeline

ahatanak created this revision.Apr 22 2022, 4:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2022, 4:59 PM
ahatanak requested review of this revision.Apr 22 2022, 4:59 PM
zero9178 accepted this revision.Apr 22 2022, 5:23 PM

Ouch! Two bugs, and the one in the testsuite covered up the former one. Thank you for noticing.

This revision is now accepted and ready to land.Apr 22 2022, 5:23 PM
This revision was automatically updated to reflect the committed changes.