From cb1c8cce468339a6d10d1e016c1026948ebd6162 Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Tue, 16 Jul 2013 17:17:01 +0000 Subject: [PATCH] Fix broken unittest for GnuLDDriver. llvm-svn: 186427 --- lld/unittests/DriverTests/GnuLdDriverTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lld/unittests/DriverTests/GnuLdDriverTest.cpp b/lld/unittests/DriverTests/GnuLdDriverTest.cpp index 42c52f3..87a2530 100644 --- a/lld/unittests/DriverTests/GnuLdDriverTest.cpp +++ b/lld/unittests/DriverTests/GnuLdDriverTest.cpp @@ -25,7 +25,8 @@ class GnuLdParserTest : public ParserTest { protected: virtual ELFTargetInfo* doParse(int argc, const char **argv, raw_ostream &diag) { - std::unique_ptr info(GnuLdDriver::parse(argc, argv, diag)); + std::unique_ptr info; + GnuLdDriver::parse(argc, argv, info, diag); return info.release(); } }; -- 2.7.4