[PATCH] D157881: [DWARFVerifier] Fix getNames return type mismatch
Felipe de Azevedo Piovezan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 14 08:01:58 PDT 2023
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGe376ced67cc3: [DWARFVerifier] Fix getNames return type mismatch (authored by fdeazeve).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157881/new/
https://reviews.llvm.org/D157881
Files:
llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
Index: llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
===================================================================
--- llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
+++ llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
@@ -1354,7 +1354,7 @@
static SmallVector<StringRef, 3> getNames(const DWARFDie &DIE,
bool IncludeStrippedTemplateNames,
bool IncludeLinkageName = true) {
- SmallVector<StringRef, 2> Result;
+ SmallVector<StringRef, 3> Result;
if (const char *Str = DIE.getShortName()) {
Result.emplace_back(Str);
if (IncludeStrippedTemplateNames) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157881.549944.patch
Type: text/x-patch
Size: 646 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230814/bfb903bb/attachment.bin>
More information about the llvm-commits
mailing list