[all-commits] [llvm/llvm-project] 9911af: WIP: Verify -gsimple-template-names=mangled values
David Blaikie via All-commits
all-commits at lists.llvm.org
Fri Sep 24 14:28:40 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9911af4b91c670477cf920f168b339bd2f3f307f
https://github.com/llvm/llvm-project/commit/9911af4b91c670477cf920f168b339bd2f3f307f
Author: David Blaikie <dblaikie at gmail.com>
Date: 2021-09-24 (Fri, 24 Sep 2021)
Changed paths:
M llvm/include/llvm/DebugInfo/DWARF/DWARFDie.h
M llvm/include/llvm/DebugInfo/DWARF/DWARFVerifier.h
M llvm/lib/DebugInfo/DWARF/DWARFDie.cpp
M llvm/lib/DebugInfo/DWARF/DWARFVerifier.cpp
M llvm/test/tools/llvm-dwarfdump/X86/prettyprint_types.s
Log Message:
-----------
WIP: Verify -gsimple-template-names=mangled values
Clang will encode names that should be able to be simplified as
"_STNname|<template, args>" (eg: "_STNt1|<int>") - this verification
mode will detect these names, decode them, create the original name
("t1<int>") and the simple name ("t1") - letting the simple name run
through the usual rebuilding logic - then compare the two sources of the
full name - the rebuilt and the _STN encoding.
This helps ensure that -gsimple-template-names is lossless.
More information about the All-commits
mailing list