[lld] r186427 - Fix broken unittest for GnuLDDriver.
Rui Ueyama
ruiu at google.com
Tue Jul 16 10:17:02 PDT 2013
Author: ruiu
Date: Tue Jul 16 12:17:01 2013
New Revision: 186427
URL: http://llvm.org/viewvc/llvm-project?rev=186427&view=rev
Log:
Fix broken unittest for GnuLDDriver.
Modified:
lld/trunk/unittests/DriverTests/GnuLdDriverTest.cpp
Modified: lld/trunk/unittests/DriverTests/GnuLdDriverTest.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/unittests/DriverTests/GnuLdDriverTest.cpp?rev=186427&r1=186426&r2=186427&view=diff
==============================================================================
--- lld/trunk/unittests/DriverTests/GnuLdDriverTest.cpp (original)
+++ lld/trunk/unittests/DriverTests/GnuLdDriverTest.cpp Tue Jul 16 12:17:01 2013
@@ -25,7 +25,8 @@ class GnuLdParserTest : public ParserTes
protected:
virtual ELFTargetInfo* doParse(int argc, const char **argv,
raw_ostream &diag) {
- std::unique_ptr<ELFTargetInfo> info(GnuLdDriver::parse(argc, argv, diag));
+ std::unique_ptr<ELFTargetInfo> info;
+ GnuLdDriver::parse(argc, argv, info, diag);
return info.release();
}
};
More information about the llvm-commits
mailing list