[PATCH] D79075: [Object] Change ObjectFile::getSymbolValue() return type to Expected<uint64_t>

Xing GUO via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 29 03:11:06 PDT 2020


Higuoxing added a comment.

Because `llvm-objdump` calls `getSymbolAddress()` first, then calls `getSymbolFlags()`. We have to enable error reporting in `getSymbolAddress()` as well.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79075





More information about the llvm-commits mailing list