diff options
author | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2015-11-23 19:56:46 +0000 |
---|---|---|
committer | Ehsan Akhgari <ehsan.akhgari@gmail.com> | 2015-11-23 19:56:46 +0000 |
commit | 93697fa7557a7305e51c0c5b0982a404d399e6fd (patch) | |
tree | 2670bdbf367766166c28c6ff9665a7abe34d7417 /llvm/test/Transforms/SampleProfile/inline-coverage.ll | |
parent | 0615a0e65dd1da8941eda4db8d2d65ea02f40976 (diff) | |
download | bcm5719-llvm-93697fa7557a7305e51c0c5b0982a404d399e6fd.tar.gz bcm5719-llvm-93697fa7557a7305e51c0c5b0982a404d399e6fd.zip |
Make clang_Cursor_getMangling not mangle if the declaration isn't mangled
Right now clang_Cursor_getMangling will attempt to mangle any
declaration, even if the declaration isn't mangled (extern C). This
results in a partially mangled name which isn't useful for much. This
patch makes clang_Cursor_getMangling return an empty string if the
declaration isn't mangled.
Patch by Michael Wu <mwu@mozilla.com>.
llvm-svn: 253909
Diffstat (limited to 'llvm/test/Transforms/SampleProfile/inline-coverage.ll')
0 files changed, 0 insertions, 0 deletions