summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Bozier <seifsta@gmail.com>2017-01-31 15:18:56 +0000
committerDavid Bozier <seifsta@gmail.com>2017-01-31 15:18:56 +0000
commitc2fa8f1bd7e3d22f49105c9b30e9c3e87e2428c6 (patch)
treec1e1840cd25814d4a49383521a94f8cf7c3fc092 /test
parenteb7bd38813ecc418c40d4686b6851039a794bffb (diff)
Add support for demangling C++11 thread_local variables. In clang, the grammar for mangling for these names are "<special-name> ::= TW <object name>" for wrapper variables or "<special-name> ::= TH <object name>" for initialization variables.
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@293638 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/test_demangle.pass.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_demangle.pass.cpp b/test/test_demangle.pass.cpp
index 22d9823..3d17f8c 100644
--- a/test/test_demangle.pass.cpp
+++ b/test/test_demangle.pass.cpp
@@ -29602,6 +29602,8 @@ const char* cases[][2] =
// FIXME(compnerd) pretty print this as void (*)(unsigned long &) volatile &&
{"PVFvRmOE", "void (*)(unsigned long&) volatile&&"},
{"PFvRmOE", "void (*)(unsigned long&) &&"},
+ {"_ZTW1x", "thread-local wrapper routine for x"},
+ {"_ZTHN3fooE", "thread-local initialization routine for foo"},
};
const unsigned N = sizeof(cases) / sizeof(cases[0]);