[all-commits] [llvm/llvm-project] ff6a0b: [Object] Change ObjectFile::getSymbolValue() retur...

Xing GUO via All-commits all-commits at lists.llvm.org
Fri May 1 23:02:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ff6a0b6a8ee74693e9711973028a8a327adf9cd5
      https://github.com/llvm/llvm-project/commit/ff6a0b6a8ee74693e9711973028a8a327adf9cd5
  Author: Xing GUO <higuoxing at gmail.com>
  Date:   2020-05-02 (Sat, 02 May 2020)

  Changed paths:
    M llvm/include/llvm/Object/ELFObjectFile.h
    M llvm/include/llvm/Object/ObjectFile.h
    M llvm/lib/DebugInfo/GSYM/ObjectFileTransformer.cpp
    M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp
    M llvm/lib/Object/COFFObjectFile.cpp
    M llvm/lib/Object/ObjectFile.cpp
    M llvm/lib/Object/SymbolSize.cpp
    M llvm/lib/XRay/InstrumentationMap.cpp
    M llvm/tools/dsymutil/DebugMap.cpp
    M llvm/tools/dsymutil/MachODebugMapParser.cpp
    M llvm/tools/llvm-objdump/MachODump.cpp

  Log Message:
  -----------
  [Object] Change ObjectFile::getSymbolValue() return type to Expected<uint64_t>

Summary:
In D77860, we have changed `getSymbolFlags()` return type to `Expected<uint32_t>`.
This change helps bubble the error further up the stack.

Reviewers: jhenderson, grimar, JDevlieghere, MaskRay

Reviewed By: jhenderson

Subscribers: hiraditya, MaskRay, rupprecht, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79075




More information about the All-commits mailing list