[llvm] [llvm-readobj] Add a reusable LLVMReadobjDriver library (PR #222917)

Anutosh Bhat via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 04:50:13 PDT 2026


================
@@ -543,9 +544,9 @@ void PrinterContext<ET>::PrintIndexTable(unsigned SectionIndex,
     DictScope E(SW, "Entry");
 
     const support::ulittle32_t Word0 =
-      Data[Entry * (IndexTableEntrySize / sizeof(*Data)) + 0];
+        Data[Entry * (IndexTableEntrySize / sizeof(*Data)) + 0];
     const support::ulittle32_t Word1 =
-      Data[Entry * (IndexTableEntrySize / sizeof(*Data)) + 1];
+        Data[Entry * (IndexTableEntrySize / sizeof(*Data)) + 1];
----------------
anutosh491 wrote:

Yes that should be the correct way to proceed.

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


More information about the llvm-commits mailing list