[PATCH] D61421: [Object] Change getSectionName() to use Expected<StringRef>
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 2 00:30:36 PDT 2019
MaskRay created this revision.
MaskRay added reviewers: rupprecht, jhenderson.
Herald added subscribers: llvm-commits, jakehehrlich, aheejin, hiraditya, sbc100, javed.absar.
Herald added a reviewer: alexshap.
Herald added a project: LLVM.
It currently receives an output parameter and returns
std::error_code. Expected<StringRef> fits for this purpose perfectly.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D61421
Files:
lld/COFF/Chunks.cpp
lld/COFF/InputFiles.cpp
llvm/include/llvm/Object/COFF.h
llvm/include/llvm/Object/ELFObjectFile.h
llvm/include/llvm/Object/MachO.h
llvm/include/llvm/Object/ObjectFile.h
llvm/include/llvm/Object/Wasm.h
llvm/include/llvm/Object/XCOFFObjectFile.h
llvm/lib/Object/COFFObjectFile.cpp
llvm/lib/Object/MachOObjectFile.cpp
llvm/lib/Object/ObjectFile.cpp
llvm/lib/Object/WasmObjectFile.cpp
llvm/lib/Object/XCOFFObjectFile.cpp
llvm/tools/llvm-nm/llvm-nm.cpp
llvm/tools/llvm-objcopy/COFF/Reader.cpp
llvm/tools/llvm-objdump/MachODump.cpp
llvm/tools/llvm-readobj/ARMWinEHPrinter.cpp
llvm/tools/llvm-readobj/ARMWinEHPrinter.h
llvm/tools/llvm-readobj/COFFDumper.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61421.197709.patch
Type: text/x-patch
Size: 22543 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190502/4a9cfdb4/attachment.bin>
More information about the llvm-commits
mailing list