Skip to content

Commit

Permalink
Adds a WeavePass loaded msg in the LLVM pass
Browse files Browse the repository at this point in the history
  • Loading branch information
tpatki committed Mar 13, 2024
1 parent e9d047d commit 24354c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/c/weaver/weave/perfflow_weave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ bool WeavingPass::insertBefore(Module &m, Function &f, StringRef &a,

bool WeavingPass::doInitialization(Module &m)
{
outs() << "WeavePass loaded successfully. \n";

auto annotations = m.getNamedGlobal("llvm.global.annotations");
if (!annotations)
{
Expand Down

0 comments on commit 24354c7

Please sign in to comment.