[MCJIT] Allow '$' characters in symbol names in RuntimeDyldChecker.
authorLang Hames <lhames@gmail.com>
Tue, 19 Aug 2014 20:04:45 +0000 (20:04 +0000)
committerLang Hames <lhames@gmail.com>
Tue, 19 Aug 2014 20:04:45 +0000 (20:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216017 91177308-0d34-0410-b5e6-96231b3b80d8

lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp

index 02504a9..3fa89c6 100644 (file)
@@ -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());
   }