forked from OSchip/llvm-project
parent
7df03c2e30
commit
cb1c8cce46
|
@ -25,7 +25,8 @@ class GnuLdParserTest : public ParserTest<GnuLdDriver, ELFTargetInfo> {
|
|||
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();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue