diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2021-08-02 22:17:53 -0700 |
---|---|---|
committer | Pirama Arumuga Nainar <pirama@google.com> | 2021-08-06 09:23:25 -0700 |
commit | 16ebb7ab5c462518388527b6ebee2f0e1080b777 (patch) | |
tree | c83e08db2779850b5c18b814626ecaa352c2658a /llvm/lib/Analysis/LoopCacheAnalysis.cpp | |
parent | e4cc071e9220333d47d5f9b399080e5ab21051f5 (diff) | |
download | llvm-16ebb7ab5c462518388527b6ebee2f0e1080b777.zip llvm-16ebb7ab5c462518388527b6ebee2f0e1080b777.tar.gz llvm-16ebb7ab5c462518388527b6ebee2f0e1080b777.tar.bz2 |
[llvm-objcopy] [COFF] Do not patch debug entries if PointerToRawData is zero
Fix an edge case missed by https://reviews.llvm.org/D78921. For e.g.,
the Repro debug entry (generated with the /Brepro linker flag) does not
have a debug-directory payload. Do not attempt to patch Debug entries
without a payload.
Differential Revision: https://reviews.llvm.org/D107324
Diffstat (limited to 'llvm/lib/Analysis/LoopCacheAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions