[lld] r283174 - Remove unused parameter.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 3 18:03:04 PDT 2016
Author: ruiu
Date: Mon Oct 3 20:03:03 2016
New Revision: 283174
URL: http://llvm.org/viewvc/llvm-project?rev=283174&view=rev
Log:
Remove unused parameter.
I do not fully understand how to use these classes yet, but
seems like these arguments are not used, since without them
all tests still pass. In order to simplify the situation,
I'll remove them now.
Modified:
lld/trunk/COFF/PDB.cpp
Modified: lld/trunk/COFF/PDB.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/PDB.cpp?rev=283174&r1=283173&r2=283174&view=diff
==============================================================================
--- lld/trunk/COFF/PDB.cpp (original)
+++ lld/trunk/COFF/PDB.cpp Mon Oct 3 20:03:03 2016
@@ -35,9 +35,9 @@ void coff::createPDB(StringRef Path) {
pdb::PDBFileBuilder Builder(Alloc);
ExitOnErr(Builder.initialize(4096)); // 4096 is blocksize
- ExitOnErr(Builder.getMsfBuilder().addStream(1, {4}));
- ExitOnErr(Builder.getMsfBuilder().addStream(1, {5}));
- ExitOnErr(Builder.getMsfBuilder().addStream(1, {6}));
+ ExitOnErr(Builder.getMsfBuilder().addStream(1));
+ ExitOnErr(Builder.getMsfBuilder().addStream(1));
+ ExitOnErr(Builder.getMsfBuilder().addStream(1));
// Add an Info stream.
auto &InfoBuilder = Builder.getInfoBuilder();
More information about the llvm-commits
mailing list