diff options
Diffstat (limited to 'lld/COFF/Chunks.cpp')
-rw-r--r-- | lld/COFF/Chunks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/Chunks.cpp b/lld/COFF/Chunks.cpp index 353d9d9ad7d..88ab1103d42 100644 --- a/lld/COFF/Chunks.cpp +++ b/lld/COFF/Chunks.cpp @@ -586,7 +586,7 @@ StringRef SectionChunk::getDebugName() { ArrayRef<uint8_t> SectionChunk::getContents() const { ArrayRef<uint8_t> A; - File->getCOFFObj()->getSectionContents(Header, A); + cantFail(File->getCOFFObj()->getSectionContents(Header, A)); return A; } |