[all-commits] [llvm/llvm-project] ac0037: [Object] Change uint32_t getSymbolFlags() to Expec...

Crazy Debugger via All-commits all-commits at lists.llvm.org
Sat Apr 18 06:27:04 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ac00376a13e9b637a8bc6b9e2ae6fd668e01b0f9
      https://github.com/llvm/llvm-project/commit/ac00376a13e9b637a8bc6b9e2ae6fd668e01b0f9
  Author: vgxbj <higuoxing at gmail.com>
  Date:   2020-04-18 (Sat, 18 Apr 2020)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h
    M llvm/include/llvm/Object/COFF.h
    M llvm/include/llvm/Object/COFFImportFile.h
    M llvm/include/llvm/Object/ELFObjectFile.h
    M llvm/include/llvm/Object/IRObjectFile.h
    M llvm/include/llvm/Object/MachO.h
    M llvm/include/llvm/Object/ObjectFile.h
    M llvm/include/llvm/Object/SymbolicFile.h
    M llvm/include/llvm/Object/TapiFile.h
    M llvm/include/llvm/Object/Wasm.h
    M llvm/include/llvm/Object/XCOFFObjectFile.h
    M llvm/lib/ExecutionEngine/Orc/Mangling.cpp
    M llvm/lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp
    M llvm/lib/ExecutionEngine/RuntimeDyld/JITSymbol.cpp
    M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp
    M llvm/lib/Object/ArchiveWriter.cpp
    M llvm/lib/Object/COFFObjectFile.cpp
    M llvm/lib/Object/IRObjectFile.cpp
    M llvm/lib/Object/MachOObjectFile.cpp
    M llvm/lib/Object/ObjectFile.cpp
    M llvm/lib/Object/TapiFile.cpp
    M llvm/lib/Object/WasmObjectFile.cpp
    M llvm/lib/Object/XCOFFObjectFile.cpp
    M llvm/tools/dsymutil/DebugMap.cpp
    M llvm/tools/dsymutil/MachODebugMapParser.cpp
    M llvm/tools/llvm-nm/llvm-nm.cpp
    M llvm/tools/llvm-objdump/MachODump.cpp
    M llvm/tools/llvm-objdump/llvm-objdump.cpp
    M llvm/tools/llvm-size/llvm-size.cpp
    M llvm/tools/sancov/sancov.cpp

  Log Message:
  -----------
  [Object] Change uint32_t getSymbolFlags() to Expected<uint32_t> getSymbolFlags().

This change enables getSymbolFlags() to return errors which benefit error reporting in clients.

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




More information about the All-commits mailing list