[llvm] Add --offoading option to llvm-readobj (PR #143342)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 5 00:25:37 PDT 2025


================
@@ -90,16 +90,16 @@ Error OffloadBundleFatBin::readEntries(StringRef Buffer,
     StringRef EntryID;
 
     if (Error EC = Reader.readInteger(EntryOffset))
----------------
jh7370 wrote:

Nit: since `EC` usually stands for "error code" and you're using an `Error` not `std::error_code`, I'd change the name to `Err` or similar.

https://github.com/llvm/llvm-project/pull/143342


More information about the llvm-commits mailing list