diff options
author | Michael Pozulp <pozulp.llvm@gmail.com> | 2019-07-30 05:28:26 +0000 |
---|---|---|
committer | Michael Pozulp <pozulp.llvm@gmail.com> | 2019-07-30 05:28:26 +0000 |
commit | b1cbe51bdf44098c74f5c74b7bcd8c041a7c6772 (patch) | |
tree | 588f18be5fd52bedb0f539699d9df998de34a565 /llvm/tools/llvm-cfi-verify | |
parent | f940d859589faf3b769449be8d55304b0e2f0ba9 (diff) | |
download | llvm-b1cbe51bdf44098c74f5c74b7bcd8c041a7c6772.zip llvm-b1cbe51bdf44098c74f5c74b7bcd8c041a7c6772.tar.gz llvm-b1cbe51bdf44098c74f5c74b7bcd8c041a7c6772.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: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D62462
llvm-svn: 367284
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 4bf308f..29a055b 100644 --- a/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp +++ b/llvm/tools/llvm-cfi-verify/lib/FileAnalysis.cpp @@ -520,7 +520,7 @@ void FileAnalysis::parseSectionContents(ArrayRef<uint8_t> SectionBytes, continue; } - if (LineInfo->FileName == "<invalid>") + if (LineInfo->FileName == DILineInfo::BadString) continue; } |