diff options
author | Michael Pozulp <pozulp.llvm@gmail.com> | 2019-08-15 05:15:22 +0000 |
---|---|---|
committer | Michael Pozulp <pozulp.llvm@gmail.com> | 2019-08-15 05:15:22 +0000 |
commit | 9abf668c08b0a560d34c6388095bb7671055c751 (patch) | |
tree | c2124c22b775a8bee6c42bb37c1d44122b4b6a77 /llvm/tools/llvm-cfi-verify | |
parent | 706cd705690b98b603362c6f1464795d95ea2db3 (diff) | |
download | llvm-9abf668c08b0a560d34c6388095bb7671055c751.zip llvm-9abf668c08b0a560d34c6388095bb7671055c751.tar.gz llvm-9abf668c08b0a560d34c6388095bb7671055c751.tar.bz2 |
[llvm-objdump] Add warning messages if disassembly + source for problematic inputs
Summary: Addresses https://bugs.llvm.org/show_bug.cgi?id=41905
Reviewers: jhenderson, rupprecht, grimar
Reviewed By: jhenderson, grimar
Subscribers: RKSimon, MaskRay, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D62462
llvm-svn: 368963
Diffstat (limited to 'llvm/tools/llvm-cfi-verify')
-rw-r--r-- | llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp b/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp index ce67ab4..03f6e3f 100644 --- a/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp +++ b/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp @@ -521,7 +521,7 @@ void FileAnalysis::parseSectionContents(ArrayRef<uint8_t> SectionBytes, continue; } - if (LineInfo->FileName == "<invalid>") + if (LineInfo->FileName == DILineInfo::BadString) continue; } |