summaryrefslogtreecommitdiff
path: root/src/codegen/helpers.rs
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <emilio@crisal.io>2017-04-23 02:52:16 +0200
committerEmilio Cobos Álvarez <emilio@crisal.io>2017-04-23 02:59:37 +0200
commit20d5140a1ac950a8499e357a51604c5032321cfd (patch)
tree7517bc382d544ffd760f21d85427bbe4c0ce7232 /src/codegen/helpers.rs
parent469a428242560625f4dc09025a93aad4166bab01 (diff)
ir: Try to get C++ manglings with the appropriate API first.
As pointed out in #653, clang 3.8 asserts when trying to mangle a C++ constructor or a destructor. The following patch tries to use the `clang_Cursor_getCXXManglings` function first. This assumes that the last mangling we're interested in is the proper one, which seems to be true looking at LLVM, and on trunk on my machine.
Diffstat (limited to 'src/codegen/helpers.rs')
0 files changed, 0 insertions, 0 deletions