This is an archive of the discontinued LLVM Phabricator instance.

[DWARFLinker][NFC] Add None value to the DwarfLinkerAccelTableKind enum.
ClosedPublic

Authored by avl on May 12 2022, 9:46 AM.

Details

Summary

this review is extracted from D86539.

  1. Rename AccelTableKind to DwarfLinkerAccelTableKind (to differentiate from AccelTableKind from CodeGen/AsmPrinter/DwarfDebug.h)
  1. Add None value to the DwarfLinkerAccelTableKind.

Diff Detail

Event Timeline

avl created this revision.May 12 2022, 9:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 12 2022, 9:46 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
avl requested review of this revision.May 12 2022, 9:46 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 12 2022, 9:46 AM
JDevlieghere added inline comments.May 13 2022, 1:01 PM
llvm/lib/DWARFLinker/DWARFLinker.cpp
1791

Nit: llvm style guide says comments need to be sentences starting with an uppercase letter.

llvm/tools/dsymutil/dsymutil.cpp
209–229

Should we update this and allow None as a valid input for dsymutil?

avl added inline comments.May 16 2022, 6:26 AM
llvm/tools/dsymutil/dsymutil.cpp
209–229

we can, if we want None for dsymutil. Will update this patch accordingly.

JDevlieghere added inline comments.May 16 2022, 8:20 AM
llvm/tools/dsymutil/dsymutil.cpp
209–229

It seems straightforward enough that we might as well support it.

avl updated this revision to Diff 429739.May 16 2022, 9:06 AM

added 'None' value for 'accelerator' option of dsymutil.

aprantl accepted this revision.May 16 2022, 3:31 PM
aprantl added inline comments.
llvm/tools/dsymutil/dsymutil.cpp
224

Typo (also in the original): Supported

This revision is now accepted and ready to land.May 16 2022, 3:31 PM
avl added a comment.May 17 2022, 2:30 AM

Thank you for the review!

This revision was landed with ongoing or failed builds.May 17 2022, 2:33 AM
This revision was automatically updated to reflect the committed changes.