diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp --- a/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp +++ b/llvm/lib/DebugInfo/DWARF/DWARFDie.cpp @@ -356,7 +356,7 @@ Optional DWARFDie::findRecursively(ArrayRef Attrs) const { - std::vector Worklist; + SmallVector Worklist; Worklist.push_back(*this); // Keep track if DIEs already seen to prevent infinite recursion.