OSDN Git Service

Revert r333147 "[ORC] Add findSymbolIn() wrapper to C bindings."
authorAndres Freund <andres@anarazel.de>
Thu, 24 May 2018 05:10:19 +0000 (05:10 +0000)
committerAndres Freund <andres@anarazel.de>
Thu, 24 May 2018 05:10:19 +0000 (05:10 +0000)
commit017f7dfd701c4f6fc205b029c51d71300d17877b
tree08ccc5c0274ddb3109d6d55ed690350d18f7ee3d
parentb0bd4049744f336edf77596ed85a69f771f1f054
Revert r333147 "[ORC] Add findSymbolIn() wrapper to C bindings."

This reverts r333147 until https://reviews.llvm.org/D47308 is ready to
be reviewed. r333147 exposed a behavioural difference between
OrcCBindingsStack::findSymbolIn() and OrcCBindingsStack::findSymbol(),
where only the latter does name mangling. After r333147 that causes a
test failure on OSX, because the new test looks for main using
findSymbolIn() but the mangled name is _main.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333152 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm-c/OrcBindings.h
lib/ExecutionEngine/Orc/OrcCBindings.cpp
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
unittests/ExecutionEngine/Orc/OrcCAPITest.cpp