OSDN Git Service

[Object] Move ELF specific ObjectFile::getBuildAttributes to ELFObjectFileBase
authorFangrui Song <maskray@google.com>
Fri, 10 May 2019 10:19:08 +0000 (10:19 +0000)
committerFangrui Song <maskray@google.com>
Fri, 10 May 2019 10:19:08 +0000 (10:19 +0000)
commitf2ac3eb20d6183e71f31524d47c8e9fd2bdaeac4
treed16a6fe91b1e6a61e46d8029b0a6b5891c8160c5
parentcee924fc6a0062c5ba3aa6bae7fc6927854cc89e
[Object] Move ELF specific ObjectFile::getBuildAttributes to ELFObjectFileBase

Change the return type from std::error_code to Error and make the
function protected.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@360416 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/ELFObjectFile.h
include/llvm/Object/ObjectFile.h
lib/Object/ELFObjectFile.cpp