llvm-dwarfdump: support for type printing "decltype(nullptr)" as "nullptr_t"
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 20 Sep 2021 00:33:56 +0000 (17:33 -0700)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 20 Sep 2021 00:33:56 +0000 (17:33 -0700)
commit606ea0dd2a7308d4af222ddcf0ae66c6267cb90d
treef05917087970928f091c6ed3f62b32670e00eac4
parent11e0b79b056a5f1ba1feb81872aee67709f34834
llvm-dwarfdump: support for type printing "decltype(nullptr)" as "nullptr_t"

This should probably be rendered as "std::nullptr_t" but for now clang
uses the unqualified name (which is ambiguous with possible user defined
name in the global namespace), so match that here.
llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
llvm/test/tools/llvm-dwarfdump/X86/prettyprint_types.s