[all-commits] [llvm/llvm-project] bc0725: [Object] Improve ArchiveWriter diagnostics
Yi Kong via All-commits
all-commits at lists.llvm.org
Sat Sep 10 06:08:37 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bc0725a43763ff241f807e1de45d1a548aec89b8
https://github.com/llvm/llvm-project/commit/bc0725a43763ff241f807e1de45d1a548aec89b8
Author: Yi Kong <yikong at google.com>
Date: 2022-09-10 (Sat, 10 Sep 2022)
Changed paths:
M llvm/lib/Object/ArchiveWriter.cpp
M llvm/test/Object/archive-malformed-object.test
Log Message:
-----------
[Object] Improve ArchiveWriter diagnostics
Print out the archive member that failed, to make debugging easier.
Before:
error: failed to build archive: Not an int attribute (Producer: 'LLVM15.0.1git' Reader: 'LLVM 14.0.5-rust-dev')
After:
error: failed to build archive: 'fake_bt_keystore.o': Not an int attribute (Producer: 'LLVM15.0.1git' Reader: 'LLVM 14.0.5-rust-dev')
Differential Revision: https://reviews.llvm.org/D133607
More information about the All-commits
mailing list