aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorMichael Buch <michaelbuch12@gmail.com>2023-01-15 03:26:41 +0000
committerMichael Buch <michaelbuch12@gmail.com>2023-01-27 02:24:36 +0000
commit1aee040c6545ad65d87b14a694078c182b9fa359 (patch)
treef10aeebdd5d6e6adf4dba632dd850df6c35d8df5 /llvm/lib/CodeGen/StackProtector.cpp
parenta29e06bbeaad7012ac85b221f1aaba3fe1d5fd35 (diff)
downloadllvm-1aee040c6545ad65d87b14a694078c182b9fa359.zip
llvm-1aee040c6545ad65d87b14a694078c182b9fa359.tar.gz
llvm-1aee040c6545ad65d87b14a694078c182b9fa359.tar.bz2
[lldb] Add support for DW_AT_default_value in template params
**Summary** This patch makes LLDB understand the `DW_AT_default_value` on template argument DIEs. As a result, type summaries will no longer contain the defaulted template arguments, reducing noise substantially. E.g., Before: ``` (lldb) v nested (std::vector<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::allocator<std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator <char> > > > > >) nested = size=0 {} ``` After: ``` (lldb) v nested (std::vector<std::vector<std::basic_string<char> > >) nested = size=0 {} ``` See discussion in https://reviews.llvm.org/D140423 **Testing** * Adjust API tests * Added unit-test Differential Revision: https://reviews.llvm.org/D141828
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions