diff options
author | Nico Weber <nicolasweber@gmx.de> | 2019-06-04 19:10:08 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2019-06-04 19:10:08 +0000 |
commit | 1dce82636c9241b8208abe05ba02e499424338d5 (patch) | |
tree | 93eadc38febf04b3d0f32bf609b6fff79168dcf5 /llvm/test/Demangle | |
parent | 463854846853c3e4e099d31c51edec18e00730c0 (diff) | |
download | bcm5719-llvm-1dce82636c9241b8208abe05ba02e499424338d5.tar.gz bcm5719-llvm-1dce82636c9241b8208abe05ba02e499424338d5.zip |
llvm-undname: Correctly demangle vararg parameters
FunctionSignatureNode already had an IsVariadic field,
but it wasn't used anywhere yet. Set it and use it.
llvm-svn: 362541
Diffstat (limited to 'llvm/test/Demangle')
-rw-r--r-- | llvm/test/Demangle/ms-basic.test | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/test/Demangle/ms-basic.test b/llvm/test/Demangle/ms-basic.test index 8ba34d871f1..bc514b4e0c6 100644 --- a/llvm/test/Demangle/ms-basic.test +++ b/llvm/test/Demangle/ms-basic.test @@ -39,8 +39,10 @@ ; CHECK: void __cdecl x(float, int) ?x@@YAXMHZZ -; FIXME: This should be `(float, int, ...)` -; CHECK: void __cdecl x(float, int) +; CHECK: void __cdecl x(float, int, ...) + +?x@@YAXZZ +; CHECK: void __cdecl x(...) ?x@@3P6AHMNH@ZEA ; CHECK: int (__cdecl *x)(float, double, int) |