summaryrefslogtreecommitdiffstats
path: root/gnu/llvm/unittests/Analysis/CGSCCPassManagerTest.cpp
diff options
context:
space:
mode:
authorpatrick <patrick@openbsd.org>2018-04-06 14:26:03 +0000
committerpatrick <patrick@openbsd.org>2018-04-06 14:26:03 +0000
commitbdabc2f19ffb9e20600dad6e8a300842a7bda50e (patch)
treec50e7b2e5449b074651bb82a58517a8ebc4a8cf7 /gnu/llvm/unittests/Analysis/CGSCCPassManagerTest.cpp
parentPrint a 'p' flag for file descriptors that were opened after pledge(2). (diff)
downloadwireguard-openbsd-bdabc2f19ffb9e20600dad6e8a300842a7bda50e.tar.xz
wireguard-openbsd-bdabc2f19ffb9e20600dad6e8a300842a7bda50e.zip
Import LLVM 6.0.1 release including clang, lld and lldb.
"where is the kaboom?" deraadt@
Diffstat (limited to 'gnu/llvm/unittests/Analysis/CGSCCPassManagerTest.cpp')
-rw-r--r--gnu/llvm/unittests/Analysis/CGSCCPassManagerTest.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/llvm/unittests/Analysis/CGSCCPassManagerTest.cpp b/gnu/llvm/unittests/Analysis/CGSCCPassManagerTest.cpp
index e2481826597..aa0be73fdf2 100644
--- a/gnu/llvm/unittests/Analysis/CGSCCPassManagerTest.cpp
+++ b/gnu/llvm/unittests/Analysis/CGSCCPassManagerTest.cpp
@@ -1168,8 +1168,8 @@ TEST_F(CGSCCPassManagerTest, TestAnalysisInvalidationCGSCCUpdate) {
"dummy", &*H2F.begin()->begin());
// Now update the call graph.
- auto &NewC = updateCGAndAnalysisManagerForFunctionPass(
- CG, C, H2N, AM, UR, /*DebugLogging*/ true);
+ auto &NewC =
+ updateCGAndAnalysisManagerForFunctionPass(CG, C, H2N, AM, UR);
assert(&NewC != &C && "Should get a new SCC due to update!");
(void)&NewC;
@@ -1214,8 +1214,8 @@ TEST_F(CGSCCPassManagerTest, TestAnalysisInvalidationCGSCCUpdate) {
(void)CallInst::Create(&H3F, {}, "", &*H2F.begin()->begin());
// Now update the call graph.
- auto &NewC = updateCGAndAnalysisManagerForFunctionPass(
- CG, C, H2N, AM, UR, /*DebugLogging*/ true);
+ auto &NewC =
+ updateCGAndAnalysisManagerForFunctionPass(CG, C, H2N, AM, UR);
assert(&NewC != &C && "Should get a new SCC due to update!");
(void)&NewC;