[PATCH] [MCJIT] Add two useful utility functions
Keno Fischer
kfischer at college.harvard.edu
Wed Jun 17 11:33:11 PDT 2015
Sure, I'll add a test. The use case for the LoadObjectFile method was to hand off a single object file that I generated and be able to look at it. Adding an event listener didn't really work because I don't know which of the hundreds of events corresponded to the object file I want. I suppose I could after the fact query the execution engine for the address of one of the symbols in the module and look through a map of addresses to object files I create in an event listener - but that just seemed like too much effort for information which is actually readily available, but just gets discarded.
REPOSITORY
rL LLVM
http://reviews.llvm.org/D10421
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list