summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit539f95933c9ef8e29cba5ba0adbb89ca926a0ffe (patch)
treed9b28d7cfbacba0f60e53d037a80a2e4d4c0704d /llvm/lib/Support/PluginLoader.cpp
parent057f46005333ee7db2cedc14d8aac95744d9dd62 (diff)
downloadbcm5719-llvm-539f95933c9ef8e29cba5ba0adbb89ca926a0ffe.tar.gz
bcm5719-llvm-539f95933c9ef8e29cba5ba0adbb89ca926a0ffe.zip
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 llvm-svn: 7364
Diffstat (limited to 'llvm/lib/Support/PluginLoader.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud