summaryrefslogtreecommitdiff
path: root/bolt/unittests/Core/BinaryContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bolt/unittests/Core/BinaryContext.cpp')
-rw-r--r--bolt/unittests/Core/BinaryContext.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/bolt/unittests/Core/BinaryContext.cpp b/bolt/unittests/Core/BinaryContext.cpp
index 7ac1c1435759..1fbb07bca966 100644
--- a/bolt/unittests/Core/BinaryContext.cpp
+++ b/bolt/unittests/Core/BinaryContext.cpp
@@ -40,7 +40,8 @@ protected:
void initializeBOLT() {
BC = cantFail(BinaryContext::createBinaryContext(
- ObjFile.get(), true, DWARFContext::create(*ObjFile.get())));
+ ObjFile.get(), true, DWARFContext::create(*ObjFile.get()),
+ {llvm::outs(), llvm::errs()}));
ASSERT_FALSE(!BC);
}