diff options
author | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2019-03-18 19:13:23 +0000 |
---|---|---|
committer | Alexandre Ganea <alexandre.ganea@ubisoft.com> | 2019-03-18 19:13:23 +0000 |
commit | 4aeea4cc42323067f0fb73fd844a66fbb295f889 (patch) | |
tree | f7a56f2bff1911b6b5a2efe147a270e6f4d8fdef /llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp | |
parent | 8723a5655172dcea0e26c72c2def7deb9ad83188 (diff) | |
download | bcm5719-llvm-4aeea4cc42323067f0fb73fd844a66fbb295f889.tar.gz bcm5719-llvm-4aeea4cc42323067f0fb73fd844a66fbb295f889.zip |
[DebugInfo][PDB] Don't write empty debug streams
Before, empty debug streams were written as 8 bytes (4 bytes signature + 4 bytes for the GlobalRefs count).
With this patch, unused empty streams aren't emitted anymore. Modules now encode 65535 as an 'unused stream' value, by convention.
Also fix the * Linker * contrib section which wasn't correctly emitted previously.
Differential Revision: https://reviews.llvm.org/D59502
llvm-svn: 356395
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp')
0 files changed, 0 insertions, 0 deletions