[BOLT] Remove a redundant call to std::unique_ptr<T>::get (NFC) (#145211)

This commit is contained in:
Kazu Hirata
2025-06-23 18:04:19 -07:00
committed by GitHub
parent 2f9c97c030
commit d4d37d8430

View File

@@ -65,7 +65,7 @@ protected:
BC = cantFail(BinaryContext::createBinaryContext( BC = cantFail(BinaryContext::createBinaryContext(
ObjFile->makeTriple(), std::make_shared<orc::SymbolStringPool>(), ObjFile->makeTriple(), std::make_shared<orc::SymbolStringPool>(),
ObjFile->getFileName(), nullptr, /*IsPIC*/ false, ObjFile->getFileName(), nullptr, /*IsPIC*/ false,
DWARFContext::create(*ObjFile.get()), {llvm::outs(), llvm::errs()})); DWARFContext::create(*ObjFile), {llvm::outs(), llvm::errs()}));
ASSERT_FALSE(!BC); ASSERT_FALSE(!BC);
} }