[PATCH] D80833: [CodeView] Add full repro to LF_BUILDINFO record

Alexandre Ganea via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 18 08:07:04 PDT 2020


aganea added a comment.

Thanks for taking the time @hans, @amccarth!

I've split this into several smaller patches, to ease bisect if needs be:
rGa45409d8855a1e4538990507ef25e9b51c090193 <https://reviews.llvm.org/rGa45409d8855a1e4538990507ef25e9b51c090193> - [Clang] Move clang::Job::printArg to llvm::sys::printArg. NFCI.
rG24eff42ba4b85eaa5429e8efe9bd2070d34ba1f7 <https://reviews.llvm.org/rG24eff42ba4b85eaa5429e8efe9bd2070d34ba1f7> - [CodeView] Add TypeCollection::replaceType to replace type records post-merging
rG89ea0b05207d45c145fb525df554b3b986ae379b <https://reviews.llvm.org/rG89ea0b05207d45c145fb525df554b3b986ae379b> - [MC] Pass down argv0 & cc1 cmd-line to the back-end and store in MCTargetOptions
rG403f9537924b8910ed4f741ed96c61f5e657915b <https://reviews.llvm.org/rG403f9537924b8910ed4f741ed96c61f5e657915b> - [CodeView] Add full repro to LF_BUILDINFO record **<- this enables the feature**

I've supplemented this current patch with two fixes:
rG8374bf43634725dc02a262a77b5f940fca25938c <https://reviews.llvm.org/rG8374bf43634725dc02a262a77b5f940fca25938c> - [CodeView] Fix generated command-line expansion in LF_BUILDINFO. Fix the 'pdb' entry which was previously a null reference, now an empty string.
rGcab3fc53d2e173243a462e9c8e914af58ddbeaba <https://reviews.llvm.org/rGcab3fc53d2e173243a462e9c8e914af58ddbeaba> - Fix linker error in clang-fuzzer following 89ea0b05207d45c145fb525df554b3b986ae379b <https://reviews.llvm.org/rG89ea0b05207d45c145fb525df554b3b986ae379b>


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80833/new/

https://reviews.llvm.org/D80833





More information about the cfe-commits mailing list