diff options
author | David Blaikie <dblaikie@gmail.com> | 2021-12-29 14:04:38 -0800 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2021-12-29 14:04:38 -0800 |
commit | 6edc38935aaf98c2ee2e87874330b9dc08d899ab (patch) | |
tree | bfcd9f36c86485d10d83178f9146c7be3f4e84d1 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
parent | 4d58d1d5af31eb386b73279f288286db225fabae (diff) | |
download | llvm-6edc38935aaf98c2ee2e87874330b9dc08d899ab.zip llvm-6edc38935aaf98c2ee2e87874330b9dc08d899ab.tar.gz llvm-6edc38935aaf98c2ee2e87874330b9dc08d899ab.tar.bz2 |
DWARFDie: don't try to compute a full template name for a template parameter packs
Otherwise these look a lot like actual templates (they have a name and
they have template parameters) but they don't participate in naming
(this doesn't come up in practice because a template parameter pack DIE
is never referenced from another DIE (so we don't do full name
rebuilding for it) or the subject of simplified template name rebuilding
(never has the _STN prefix)) - it could be tested with some hand crafted
DWARF but doesn't seem important/useful to do so.
This change is just for performance - to avoid trying to parse more
DIEs, etc, when it's not needed when computing the name in the DWARF
verifier.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions