aboutsummaryrefslogtreecommitdiff
path: root/lib/ReaderWriter/ELF/ELFLinkingContext.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-04-10 21:23:51 +0000
committerRui Ueyama <ruiu@google.com>2015-04-10 21:23:51 +0000
commitff05d4477f4d108502e2f9c3db95d95ff2c2617b (patch)
treefbf8d42b0c9b2f91c910b874733f81a3e8f4c44d /lib/ReaderWriter/ELF/ELFLinkingContext.cpp
parent80ad8619b16779eec744f779065ef09b99e9bf37 (diff)
Remove the Native file format.
The Native file format was designed to be the fastest on-memory or on-disk file format for object files. The problem is that no one is working on that. No LLVM tools can produce object files in the Native, thus the feature of supporting the format is useless in the linker. This patch removes the Native file support. We can add it back if we really want it in future. git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@234641 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ReaderWriter/ELF/ELFLinkingContext.cpp')
-rw-r--r--lib/ReaderWriter/ELF/ELFLinkingContext.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/ReaderWriter/ELF/ELFLinkingContext.cpp b/lib/ReaderWriter/ELF/ELFLinkingContext.cpp
index 040a412d4..5e734b2f8 100644
--- a/lib/ReaderWriter/ELF/ELFLinkingContext.cpp
+++ b/lib/ReaderWriter/ELF/ELFLinkingContext.cpp
@@ -75,9 +75,6 @@ bool ELFLinkingContext::validateImpl(raw_ostream &diagnostics) {
case LinkingContext::OutputFileType::YAML:
_writer = createWriterYAML(*this);
break;
- case LinkingContext::OutputFileType::Native:
- llvm_unreachable("Unimplemented");
- break;
default:
_writer = createWriterELF(*this);
break;