diff options
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveDebugVariables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveDebugVariables.cpp b/llvm/lib/CodeGen/LiveDebugVariables.cpp index 0e7571b..36e53c8 100644 --- a/llvm/lib/CodeGen/LiveDebugVariables.cpp +++ b/llvm/lib/CodeGen/LiveDebugVariables.cpp @@ -134,7 +134,7 @@ public: LocNoCount = LocNoVec.size(); if (LocNoCount > 0) { LocNos = std::make_unique<unsigned[]>(LocNoCount); - std::copy(LocNoVec.begin(), LocNoVec.end(), loc_nos_begin()); + llvm::copy(LocNoVec, loc_nos_begin()); } } else { LLVM_DEBUG(dbgs() << "Found debug value with 64+ unique machine " |