diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-11-14 01:55:54 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-11-14 01:55:54 +0000 |
| commit | f13ad102080e51bc68da9e67542ddc9fd6cc168f (patch) | |
| tree | e29e7bbdf5a2a58ca4223b91c1c9ea72c1ed0383 /libcxx/test/std/language.support/support.runtime/csetjmp.pass.cpp | |
| parent | b8596e4d1d0fbbd14e1afc7bffb7b7d1cf63f83e (diff) | |
| download | bcm5719-llvm-f13ad102080e51bc68da9e67542ddc9fd6cc168f.tar.gz bcm5719-llvm-f13ad102080e51bc68da9e67542ddc9fd6cc168f.zip | |
__cxa_demangle: ensure that we have a mangled symbol
Ensure that we have a mangled symbol before attempting to demangle it. We would
previously treat any input as a mangled symbol rather than checking that the
symbol has the initial C++ Itanium v3 mangling prefix of `_Z`. This changes the
behaviour from the previous case which would undecorate `f` to `float` rather
than nullptr as it should.
Unfortunately, we do not have any negative testing for the demangler.
llvm-svn: 286788
Diffstat (limited to 'libcxx/test/std/language.support/support.runtime/csetjmp.pass.cpp')
0 files changed, 0 insertions, 0 deletions

