[PATCH] D91183: Added GDB pretty printer for StringMap
Moritz Sichert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 17 11:21:41 PST 2020
MoritzS updated this revision to Diff 305860.
MoritzS added a comment.
Herald added a subscriber: dexonsmith.
Read tombstone value from a constexpr variable. The getTombstoneVal() function
is still necessary, though, as reinterpret_cast is not a constant expression.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91183/new/
https://reviews.llvm.org/D91183
Files:
debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.cpp
debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
llvm/include/llvm/ADT/StringMap.h
llvm/utils/gdb-scripts/prettyprinters.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91183.305860.patch
Type: text/x-patch
Size: 4248 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201117/bfe91d96/attachment.bin>
More information about the llvm-commits
mailing list