[PATCH] D72973: [llvm-objdump] Use symbol index+symbol name + storage mapping class as label for -D

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 00:30:03 PDT 2020


jhenderson added inline comments.


================
Comment at: llvm/tools/llvm-objdump/llvm-xcoffdump.h:26
+
+bool isLabel(const object::XCOFFObjectFile *Obj, const object::SymbolRef &Sym);
+
----------------
hubert.reinterpretcast wrote:
> I am having trouble accepting that `llvm-objdump` has any business injecting symbols directly into the `llvm` namespace. I understand that `llvm-objdump.h` does do so. @jhenderson, would you object if we introduced an `llvm::objdump_impl` namespace?
Seems like a reasonable idea, although I'd probably just call it `llvm::objdump`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72973





More information about the llvm-commits mailing list