aboutsummaryrefslogtreecommitdiff
path: root/lib/Bitcode/Writer
diff options
context:
space:
mode:
authorMark Seaborn <mseaborn@chromium.org>2013-06-26 14:37:37 -0700
committerMark Seaborn <mseaborn@chromium.org>2013-06-26 14:37:37 -0700
commite5a1ea0182c046ca81398e15488db2b2f7ba6105 (patch)
tree905aaf4faf86f9d994359b96410b9d5b14abc945 /lib/Bitcode/Writer
parentbb186d9ec3a98cec5290410982309e0b35765231 (diff)
PNaCl: Remove some LOCALMODs in the upstream bitcode reader/writer
These were for ELF dynamic linking support, which we are removing. The same LOCALMODs were previously removed from PNaCl's fork of the reader/writer (in https://codereview.chromium.org/17761005/). BUG=https://code.google.com/p/nativeclient/issues/detail?id=3520 TEST=PNaCl toolchain trybots Review URL: https://codereview.chromium.org/17854006
Diffstat (limited to 'lib/Bitcode/Writer')
-rw-r--r--lib/Bitcode/Writer/BitcodeWriter.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Bitcode/Writer/BitcodeWriter.cpp b/lib/Bitcode/Writer/BitcodeWriter.cpp
index 1765a84529..1b73f23e8f 100644
--- a/lib/Bitcode/Writer/BitcodeWriter.cpp
+++ b/lib/Bitcode/Writer/BitcodeWriter.cpp
@@ -1990,9 +1990,6 @@ void llvm::WriteBitcodeToFile(const Module *M, raw_ostream &Out) {
SmallVector<char, 0> Buffer;
Buffer.reserve(256*1024);
- // Convert Deplib info to metadata
- M->convertLibraryListToMetadata(); // @LOCALMOD
-
// If this is darwin or another generic macho target, reserve space for the
// header.
Triple TT(M->getTargetTriple());