summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/ELF.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2018-07-17 22:17:18 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2018-07-17 22:17:18 +0000
commit3e22733698cdd8a0a26487df7430d243a81a3bfa (patch)
tree18eef021e81ed569e071de60c5c90db6c790e075 /llvm/lib/Object/ELF.cpp
parent0054f48b4402dc50017a5254c454a1879445f3f7 (diff)
downloadbcm5719-llvm-3e22733698cdd8a0a26487df7430d243a81a3bfa.tar.gz
bcm5719-llvm-3e22733698cdd8a0a26487df7430d243a81a3bfa.zip
MC: Implement support for new .addrsig and .addrsig_sym directives.
Part of the address-significance tables proposal: http://lists.llvm.org/pipermail/llvm-dev/2018-May/123514.html Differential Revision: https://reviews.llvm.org/D47744 llvm-svn: 337328
Diffstat (limited to 'llvm/lib/Object/ELF.cpp')
-rw-r--r--llvm/lib/Object/ELF.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Object/ELF.cpp b/llvm/lib/Object/ELF.cpp
index d58a79115bd..3e2161a9396 100644
--- a/llvm/lib/Object/ELF.cpp
+++ b/llvm/lib/Object/ELF.cpp
@@ -246,6 +246,7 @@ StringRef llvm::object::getELFSectionTypeName(uint32_t Machine, unsigned Type) {
STRINGIFY_ENUM_CASE(ELF, SHT_LLVM_ODRTAB);
STRINGIFY_ENUM_CASE(ELF, SHT_LLVM_LINKER_OPTIONS);
STRINGIFY_ENUM_CASE(ELF, SHT_LLVM_CALL_GRAPH_PROFILE);
+ STRINGIFY_ENUM_CASE(ELF, SHT_LLVM_ADDRSIG);
STRINGIFY_ENUM_CASE(ELF, SHT_GNU_ATTRIBUTES);
STRINGIFY_ENUM_CASE(ELF, SHT_GNU_HASH);
STRINGIFY_ENUM_CASE(ELF, SHT_GNU_verdef);
OpenPOWER on IntegriCloud