As discussed in https://reviews.llvm.org/D136474 -fmessage-length
creates problems with reproduciability in the PDB files.
This patch just drops that argument when writing the PDB file.
Paths
| Differential D137322
[clang][pdb] Don't include -fmessage-length in PDB buildinfo ClosedPublic Authored by thieta on Nov 3 2022, 2:41 AM.
Details Summary As discussed in https://reviews.llvm.org/D136474 -fmessage-length This patch just drops that argument when writing the PDB file.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 3 2022, 2:41 AM This revision is now accepted and ready to land.Nov 7 2022, 10:24 AM This revision was landed with ongoing or failed builds.Nov 8 2022, 1:06 AM Closed by commit rGaa99b607b5cf: [clang][pdb] Don't include -fmessage-length in PDB buildinfo (authored by thieta). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 472881 clang/test/CodeGen/debug-info-codeview-buildinfo.c
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
|
could this be just
MESSAGELEN-NOT: -fmessage-length
?