summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-cxxfilt
Commit message (Collapse)AuthorAgeFilesLines
* c++filt: support COFF import thunksSaleem Abdulrasool2017-03-221-0/+5
| | | | | | | The synthetic thunk for the import is prefixed with __imp_. Attempt to undecorate the names when they begin with the __imp_ prefix. llvm-svn: 298550
* llvm-cxxfilt: support `-_`Saleem Abdulrasool2017-01-221-0/+11
| | | | | | | | Add the `--strip-underscore` option to llvm-cxxfilt to strip the leading underscore. This is useful for when dealing with targets which add a leading underscore. llvm-svn: 292759
* llvm-cxxfilt: support `-t` to demangle typesSaleem Abdulrasool2017-01-201-0/+5
| | | | | | | | By default c++filt demangles functions, though you can optionally pass `-t` to have it decode types as well, behaving nearly identical to `__cxa_demangle`. Add support for this mode. llvm-svn: 292576
* llvm-cxxfilt: filter out invalid manglingsSaleem Abdulrasool2017-01-191-0/+6
| | | | | | | | | | c++filt does not attempt to demangle symbols which do not match its expected format. This means that the symbol must start with _Z or ___Z (block invocation function extension). Any other symbols are returned as is. Note that this is different from the behaviour of __cxa_demangle which will demangle fragments. llvm-svn: 292467
* llvm-cxxfilt: support reading from stdinSaleem Abdulrasool2016-11-132-0/+14
`c++filt` when given no arguments runs as a REPL, decoding each line as a decorated name. Unify the test structure to be more uniform, with the tests for llvm-cxxfilt living under test/tools/llvm-cxxfilt. llvm-svn: 286777
OpenPOWER on IntegriCloud