OSDN Git Service

[MCJIT] Teach RuntimeDyldChecker to handle underscores at the start of symbols.
authorLang Hames <lhames@gmail.com>
Tue, 22 Jul 2014 23:17:21 +0000 (23:17 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 22 Jul 2014 23:17:21 +0000 (23:17 +0000)
commitf072ab78ee3845725668c0ef8b4da598e1af9788
tree944ca612484bdf9fb605ef7b6df7cae30422f219
parentb9b8d091377a4f4553a6f3644740aca5ce404d6c
[MCJIT] Teach RuntimeDyldChecker to handle underscores at the start of symbols.

RuntimeDyldChecker had been testing isalpha(Expr[0]) to recognise symbol tokens,
and throwing unrecognized token errors when it hit symbols with leading
underscores. This fixes that.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213706 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp