[clang][pdb] Don't include -fmessage-length in PDB buildinfo
authorTobias Hieta <tobias@hieta.se>
Tue, 8 Nov 2022 08:23:10 +0000 (09:23 +0100)
committerTobias Hieta <tobias@hieta.se>
Tue, 8 Nov 2022 09:05:59 +0000 (10:05 +0100)
commitaa99b607b5cf8ef1260f5661dcbf077f26ee797c
tree5d0439a1ade73d407b57594f0e27d8c8a633d14a
parentaa9647e2d0b29caa3b31154246dd4d9c6a4e0c2f
[clang][pdb] Don't include -fmessage-length in PDB buildinfo

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.

Reviewed By: hans

Differential Revision: https://reviews.llvm.org/D137322
clang/test/CodeGen/debug-info-codeview-buildinfo.c
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp