summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/ELF.cpp
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2018-07-16 23:09:29 +0000
committerSam Clegg <sbc@chromium.org>2018-07-16 23:09:29 +0000
commitcf2a9e28b1bb37181ae916043df155cede38ff18 (patch)
tree2201a2ebd62ff346c8c631b0c71422aff1e78860 /llvm/lib/Object/ELF.cpp
parentc71adc8040b1e382b195a0096015cb5c39628b23 (diff)
downloadbcm5719-llvm-cf2a9e28b1bb37181ae916043df155cede38ff18.tar.gz
bcm5719-llvm-cf2a9e28b1bb37181ae916043df155cede38ff18.zip
[WebAssembly] Remove ELF file support.
This support was partial and temporary. Now that we have wasm object file support its no longer needed. Differential Revision: https://reviews.llvm.org/D48744 llvm-svn: 337222
Diffstat (limited to 'llvm/lib/Object/ELF.cpp')
-rw-r--r--llvm/lib/Object/ELF.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/Object/ELF.cpp b/llvm/lib/Object/ELF.cpp
index 3477da00517..d58a79115bd 100644
--- a/llvm/lib/Object/ELF.cpp
+++ b/llvm/lib/Object/ELF.cpp
@@ -125,13 +125,6 @@ StringRef llvm::object::getELFRelocationTypeName(uint32_t Machine,
break;
}
break;
- case ELF::EM_WEBASSEMBLY:
- switch (Type) {
-#include "llvm/BinaryFormat/ELFRelocs/WebAssembly.def"
- default:
- break;
- }
- break;
case ELF::EM_AMDGPU:
switch (Type) {
#include "llvm/BinaryFormat/ELFRelocs/AMDGPU.def"
@@ -188,8 +181,6 @@ uint32_t llvm::object::getELFRelrRelocationType(uint32_t Machine) {
case ELF::EM_SPARC32PLUS:
case ELF::EM_SPARCV9:
return ELF::R_SPARC_RELATIVE;
- case ELF::EM_WEBASSEMBLY:
- break;
case ELF::EM_AMDGPU:
break;
case ELF::EM_BPF:
OpenPOWER on IntegriCloud