]> granicus.if.org Git - clang/commit
Recommit [Object] Change object::SectionRef::getContents() to return Expected<StringRef>
authorFangrui Song <maskray@google.com>
Thu, 16 May 2019 13:24:04 +0000 (13:24 +0000)
committerFangrui Song <maskray@google.com>
Thu, 16 May 2019 13:24:04 +0000 (13:24 +0000)
commitb6c6b38192cc34367f86bb3ff150157368b19dfe
treea25cec1597c8f02436c448fa57b3bff95faf5cd2
parent2b469b71cbf579c95af77cbdd667f17965a0fb0f
Recommit [Object] Change object::SectionRef::getContents() to return Expected<StringRef>

r360876 didn't fix 2 call sites in clang.

Expected<ArrayRef<uint8_t>> may be better but use Expected<StringRef> for now.

Follow-up of D61781.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360892 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/ObjectFilePCHContainerOperations.cpp
tools/clang-offload-bundler/ClangOffloadBundler.cpp