This is an archive of the discontinued LLVM Phabricator instance.

[llvm-nm] Always use opaque pointers (PR55506)
ClosedPublic

Authored by nikic on May 17 2022, 1:52 AM.

Details

Reviewers
jhenderson
aeubanks
Group Reviewers
Restricted Project
Commits
rGc4c01e4e4e38: [llvm-nm] Always use opaque pointers (PR55506)
Summary

Always enable opaque pointers in llvm-nm, because the tool doesn't actually care, and this allows us to read both typed pointer and opaque pointer bitcode files in one archive. Previously this depended on the order inside the archive (it would work with an opaque pointer bitcode file first, but fail with a typed pointer bitcode file first).

Fixes https://github.com/llvm/llvm-project/issues/55506.

Diff Detail

Event Timeline

nikic created this revision.May 17 2022, 1:52 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: rupprecht. · View Herald Transcript
nikic requested review of this revision.May 17 2022, 1:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 17 2022, 1:52 AM
aeubanks accepted this revision.May 17 2022, 8:33 AM
This revision is now accepted and ready to land.May 17 2022, 8:33 AM
This revision was landed with ongoing or failed builds.May 18 2022, 12:46 AM
This revision was automatically updated to reflect the committed changes.