diff options
author | Martin Storsjo <martin@martin.st> | 2018-07-20 05:44:34 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2018-07-20 05:44:34 +0000 |
commit | a55fc7161481ec4410a55c2e1b82d7c6d68949d6 (patch) | |
tree | e95781c9a1c1585359d11b2d6b3fdca8d47c2ff7 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ea9c580994a7b40cd31128d2e4ecba9d7795b22b (diff) | |
download | bcm5719-llvm-a55fc7161481ec4410a55c2e1b82d7c6d68949d6.tar.gz bcm5719-llvm-a55fc7161481ec4410a55c2e1b82d7c6d68949d6.zip |
[COFF] Write the debug directory and build id to a separate section for MinGW
For dwarf debug info, an executable normally either contains the debug
info, or it is stripped out. To reduce the storage needed (slightly)
for the debug info kept separately from the released, stripped binaries,
one can choose to only copy the debug data from the original executable
(essentially the reverse of the strip operation), producing a file with
only debug info.
When copying the debug data from an executable with GNU objcopy,
the build id and debug directory need to reside in a separate section,
as this will be kept while the rest of the .rdata section is removed.
Differential Revision: https://reviews.llvm.org/D49352
llvm-svn: 337526
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions