This is an archive of the discontinued LLVM Phabricator instance.

[MC] Make MCAsmInfo::isAcceptableChar reflect MCAsmInfo::doesAllowAtInName
ClosedPublic

Authored by efriedma on Mar 25 2022, 3:57 PM.

Details

Summary

On targets which don't allow "@" in identifiers, make sure we don't emit them; otherwise, we can't parse our own output.

Diff Detail

Event Timeline

efriedma created this revision.Mar 25 2022, 3:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2022, 3:57 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
efriedma requested review of this revision.Mar 25 2022, 3:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 25 2022, 3:57 PM
mstorsjo accepted this revision.Mar 25 2022, 4:03 PM

LGTM, sounds sensible!

This revision is now accepted and ready to land.Mar 25 2022, 4:03 PM
rnk accepted this revision.Mar 28 2022, 10:46 AM

lgtm