[llvm] r216017 - [MCJIT] Allow '$' characters in symbol names in RuntimeDyldChecker.
Lang Hames
lhames at gmail.com
Tue Aug 19 13:04:45 PDT 2014
Author: lhames
Date: Tue Aug 19 15:04:45 2014
New Revision: 216017
URL: http://llvm.org/viewvc/llvm-project?rev=216017&view=rev
Log:
[MCJIT] Allow '$' characters in symbol names in RuntimeDyldChecker.
Modified:
llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
Modified: llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp?rev=216017&r1=216016&r2=216017&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp Tue Aug 19 15:04:45 2014
@@ -207,7 +207,7 @@ private:
size_t FirstNonSymbol = Expr.find_first_not_of("0123456789"
"abcdefghijklmnopqrstuvwxyz"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
- ":_.");
+ ":_.$");
return std::make_pair(Expr.substr(0, FirstNonSymbol),
Expr.substr(FirstNonSymbol).ltrim());
}
More information about the llvm-commits
mailing list