[RuntimeDyld] Improve error diagnostic in RuntimeDyldChecker.
authorLang Hames <lhames@gmail.com>
Thu, 10 Jul 2014 23:26:20 +0000 (23:26 +0000)
committerLang Hames <lhames@gmail.com>
Thu, 10 Jul 2014 23:26:20 +0000 (23:26 +0000)
commit5cfcad187b8978275e89d5ebdf996a64de471fbc
tree0cbd754c45338a95f6260904028e9b91800a1294
parente14048c25af23d89db4661e9c694b70f9af194b7
[RuntimeDyld] Improve error diagnostic in RuntimeDyldChecker.

The compiler often emits assembler-local labels (beginning with 'L') for use in
relocation expressions, however these aren't included in the object files.
Teach RuntimeDyldChecker to warn the user if they try to use one of these in an
expression, since it will never work.

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