From e5a1ea0182c046ca81398e15488db2b2f7ba6105 Mon Sep 17 00:00:00 2001 From: Mark Seaborn Date: Wed, 26 Jun 2013 14:37:37 -0700 Subject: 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 --- lib/Bitcode/Writer/BitcodeWriter.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib/Bitcode/Writer/BitcodeWriter.cpp') 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 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()); -- cgit v1.2.3-18-g5258