[PATCH] D69087: [llvm-ar] Implement the O modifier: display member offsets inside the archive

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 17 02:30:53 PDT 2019


ruiu added inline comments.


================
Comment at: tools/llvm-ar/llvm-ar.cpp:498
+    if (DisplayMemberOffsets)
+      outs() << (" 0x" + utohexstr(C.getDataOffset(), true));
   }
----------------
The following style is more common. Doesn't this work?

  outs() << " 0x" << utohexstr(C.getDataOffset(), true);


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69087/new/

https://reviews.llvm.org/D69087





More information about the llvm-commits mailing list