]> granicus.if.org Git - llvm/commit
[DWARF] Change DWARFDebugLoc::Entry::Loc from SmallVector<char, 4> to SmallString<4>
authorFangrui Song <maskray@google.com>
Mon, 5 Aug 2019 06:33:52 +0000 (06:33 +0000)
committerFangrui Song <maskray@google.com>
Mon, 5 Aug 2019 06:33:52 +0000 (06:33 +0000)
commit6183bab46633394a7b02d295f90a8ac2af12a018
treec7fbf5ca3a2564fc0fe94603dce186e1f178a428
parent2ffd08308b1992f8e94b74d271d56bafd9ab9604
[DWARF] Change DWARFDebugLoc::Entry::Loc from SmallVector<char, 4> to SmallString<4>

SmallString has a conversion to StringRef, which can be leveraged to
simplify two use sites.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367801 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h
lib/DebugInfo/DWARF/DWARFVerifier.cpp