diff options
author | David Blaikie <dblaikie@gmail.com> | 2022-02-15 11:26:15 -0800 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2022-02-15 11:58:40 -0800 |
commit | 9980a3f8318cbfe2305b4ffc58a7256da1a3891d (patch) | |
tree | f9eabfa9f97eee125aec41c6c96af58b761236b3 /cross-project-tests | |
parent | 1ea326634b582f5574e0b22b85e5b0c631b30dcf (diff) | |
download | llvm-9980a3f8318cbfe2305b4ffc58a7256da1a3891d.zip llvm-9980a3f8318cbfe2305b4ffc58a7256da1a3891d.tar.gz llvm-9980a3f8318cbfe2305b4ffc58a7256da1a3891d.tar.bz2 |
DebugInfo: Disable simplified template names for -gmlt and below
Since -gmlt doesn't carry any type information necessary to rebuild
template names.
Diffstat (limited to 'cross-project-tests')
-rw-r--r-- | cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp b/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp index ee429ef..3d94651 100644 --- a/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp +++ b/cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp @@ -1,9 +1,12 @@ // RUN: %clang %target_itanium_abi_host_triple %s -c -o - -gdwarf-4 -Xclang -gsimple-template-names=mangled -Xclang -debug-forward-template-params -std=c++20 \ // RUN: | llvm-dwarfdump --verify - +// RUN: %clang %target_itanium_abi_host_triple %s -c -o - -gdwarf-4 -Xclang -gsimple-template-names=mangled -Xclang -debug-forward-template-params -std=c++20 -gmlt -fdebug-info-for-profiling \ +// RUN: | llvm-dwarfdump --verify - // RUN: %clang %target_itanium_abi_host_triple %s -c -o - -gdwarf-4 -Xclang -gsimple-template-names=mangled -Xclang -debug-forward-template-params -std=c++20 -fdebug-types-section \ // RUN: | llvm-dwarfdump --verify - // RUN: %clang %target_itanium_abi_host_triple %s -c -o - -gdwarf-5 -Xclang -gsimple-template-names=mangled -Xclang -debug-forward-template-params -std=c++20 -fdebug-types-section \ // RUN: | llvm-dwarfdump --verify - + #include <cstdint> template<typename ...Ts> struct t1 { |