[PATCH] [MCJIT] Add two useful utility functions
Keno Fischer
kfischer at college.harvard.edu
Fri Jun 12 14:37:18 PDT 2015
Hi lhames,
This adds FindGlobalVariableNamed to ExecutionEngine (plus implementation in MCJIT), which is an analog of FindFunctionNamed for GlobalVariables. Additionally it exposes a variant of addObjectFile (called LoadObjectFile) that returns the LoadedObjectInfo rather than discarding it, which can be useful for debugging.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D10421
Files:
include/llvm/ExecutionEngine/ExecutionEngine.h
lib/ExecutionEngine/ExecutionEngine.cpp
lib/ExecutionEngine/MCJIT/MCJIT.cpp
lib/ExecutionEngine/MCJIT/MCJIT.h
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D10421.27602.patch
Type: text/x-patch
Size: 7074 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150612/ce0e9710/attachment.bin>
More information about the llvm-commits
mailing list