Skip to content

Commit 6daf88a

Browse files
committed
Add debug output when hijacking thread creation
1 parent 3af6626 commit 6daf88a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,6 +1319,7 @@ void ExprEngine::defaultEvalCall(NodeBuilder &Bldr, ExplodedNode *Pred,
13191319
// TODO: make this a proper mode
13201320
// Special case thread creation
13211321
if (isThread(*Call)) {
1322+
llvm::errs() << "Hijacking pthread_create(3)\n";
13221323
threadBifurcate(*Call, D, Bldr, Pred, State);
13231324
return;
13241325
}

0 commit comments

Comments
 (0)