Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2022-02-11 08:14:02 +0300
committerDavid Blaikie <dblaikie@gmail.com>2022-02-15 22:58:40 +0300
commit1ea326634b582f5574e0b22b85e5b0c631b30dcf (patch)
tree8da7d383a78175bbc1bb942e01c531637b779d15 /cross-project-tests
parentae76fafc3f1671d619f0e6c2f42458616697c8bc (diff)
DebugInfo: Don't simplify template names using _BitInt(N)
_BitInt(N) only encodes the byte size in DWARF, not the bit size, so can't be reconstituted.
Diffstat (limited to 'cross-project-tests')
-rw-r--r--cross-project-tests/debuginfo-tests/clang_llvm_roundtrip/simplified_template_names.cpp2
1 files changed, 2 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 898b27ec0e47..ee429ef3b579 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
@@ -316,6 +316,8 @@ int main() {
f1<void(t8)>();
operator_not_really<int>();
t12 v4;
+ f1<_BitInt(3)>();
+ f1<const unsigned _BitInt(5)>();
}
void t8::mem() {
struct t7 { };