aboutsummaryrefslogtreecommitdiff
path: root/lib/Support/PluginLoader.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-07-28 19:16:14 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-07-28 19:16:14 +0000
commit91eabc13d3a456cc4b387d3d7fdb041d976732c7 (patch)
tree37bbf006f43e2c10ef859c2d2d7b3204ee5df0ac /lib/Support/PluginLoader.cpp
parentd69c1e6dc28bed3c156f78fee5253748e3d509e2 (diff)
BugDriver.h:
* Added method to query if BugDriver is executing the JIT currently. This provides the ability in adding code that is conditionally executed in codegen debugging phase. CodeGeneratorBug.cpp: * Delete test functions from the Safe module * Code conditionally added when debugging the JIT: use the lazy resolver function added to Emitter.cpp to get function pointer by name. When compiled into an .so, this is the only way to get a pointer to an external function * Added a symbol disambiguator which will keep symbols uniquely named across modules * Delete generated files by default * The function `main' *must* stay in the .bc file for the JIT, but that prevents debugging it alone. This patch makes the old `main' become `old_main' and adds a new function named `main' which just calls the original with the same parameters, thereby keeping functionality the same. ExecutionDriver.cpp: * Returned to getting unique filenames * Simplified code choosing between using and not using shared library option git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7364 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/PluginLoader.cpp')
0 files changed, 0 insertions, 0 deletions