| Index: src/IceCfgNode.cpp
|
| diff --git a/src/IceCfgNode.cpp b/src/IceCfgNode.cpp
|
| index dec40e4d0442ee73b11211d3d87d7402ef16bf1c..aeb54ffd93874f58daa6d9e441deef611a4bcbbf 100644
|
| --- a/src/IceCfgNode.cpp
|
| +++ b/src/IceCfgNode.cpp
|
| @@ -1256,7 +1256,10 @@ void CfgNode::profileExecutionCount(VariableDeclaration *Var) {
|
| assert(Info != nullptr);
|
|
|
| Operand *RMWI64Name = Context->getConstantExternSym(RMW_I64);
|
| - Constant *Counter = Context->getConstantExternSym(Var->getName());
|
| + constexpr RelocOffsetT Offset = 0;
|
| + constexpr bool SuppressMangling = true;
|
| + Constant *Counter =
|
| + Context->getConstantSym(Offset, Var->getName(), SuppressMangling);
|
| Constant *AtomicRMWOp = Context->getConstantInt32(Intrinsics::AtomicAdd);
|
| Constant *One = Context->getConstantInt64(1);
|
| Constant *OrderAcquireRelease =
|
|
|