This is an archive of the discontinued LLVM Phabricator instance.

[llvm-pdbutil] Fix broken '-modi' option after change D122226.
ClosedPublic

Authored by CarlosAlbertoEnciso on Apr 10 2022, 11:59 PM.

Details

Summary

The change described by:

https://reviews.llvm.org/D122226

Moved some llvm-pdbutil functionality to the debug PDB library.

This patch addresses a broken '-modi' argument handling, which causes an assertion if its value is other than '0' or '1', as described in https://reviews.llvm.org/D122226#3417917

In addition, moves the assertion for that argument from the PDB library into the llvm-pdbutil driver.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptApr 10 2022, 11:59 PM
Herald added a subscriber: hiraditya. · View Herald Transcript
CarlosAlbertoEnciso requested review of this revision.Apr 10 2022, 11:59 PM
CarlosAlbertoEnciso edited the summary of this revision. (Show Details)Apr 11 2022, 12:04 AM
zequanwu accepted this revision.Apr 11 2022, 11:40 AM

Thanks for the fix.

This revision is now accepted and ready to land.Apr 11 2022, 11:40 AM
This revision was landed with ongoing or failed builds.Apr 11 2022, 10:31 PM
This revision was automatically updated to reflect the committed changes.

Thanks for the fix.

@zequanwu Thanks for your review.