[all-commits] [llvm/llvm-project] 6302a9: DebugInfo: ThinLTO: Import template parameters on ...
David Blaikie via All-commits
all-commits at lists.llvm.org
Tue Apr 5 14:30:18 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6302a91468ebcaeac63951f9c89da9d89bc38ede
https://github.com/llvm/llvm-project/commit/6302a91468ebcaeac63951f9c89da9d89bc38ede
Author: David Blaikie <dblaikie at gmail.com>
Date: 2022-04-05 (Tue, 05 Apr 2022)
Changed paths:
M llvm/lib/Bitcode/Reader/MetadataLoader.cpp
M llvm/test/ThinLTO/X86/debuginfo-compositetype-import.ll
Log Message:
-----------
DebugInfo: ThinLTO: Import template parameters on type declarations
Necessary when importing class template specializations that have
simplified template names (may otherwise be necessary - eg: Sony
requires template parameter DIEs even with unsimplified names, but short
of always importing names this is the best I can do for now) - long term
this probably needs a flag for the DICompositeType to specify whether it
needs template parameters on declarations & that flag could power this
behavior, rather than inspecting the name.
More information about the All-commits
mailing list