This is an archive of the discontinued LLVM Phabricator instance.

[lld-macho][nfc] Use %X in mapfile test
ClosedPublic

Authored by int3 on Mar 3 2022, 2:07 PM.

Details

Reviewers
Roger
thakis
Group Reviewers
Restricted Project
Commits
rG72c5b26f3d65: [lld-macho][nfc] Use %X in mapfile test
Summary

LLD (and ld64) emits uppercase hex addresses in the mapfile. The
map-file.s test passes right now because the addresses we emit happen
not to include any alphabets, but that can easily change.

I noticed this while dealing with
https://github.com/llvm/llvm-project/issues/54184.

Diff Detail

Event Timeline

int3 created this revision.Mar 3 2022, 2:07 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMar 3 2022, 2:07 PM
int3 requested review of this revision.Mar 3 2022, 2:07 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2022, 2:07 PM
thakis accepted this revision.Mar 3 2022, 6:18 PM
thakis added a subscriber: thakis.

Lg

This revision is now accepted and ready to land.Mar 3 2022, 6:18 PM
This revision was automatically updated to reflect the committed changes.