summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2013-06-19 03:05:52 +0000
committerEnrico Granata <egranata@apple.com>2013-06-19 03:05:52 +0000
commit5c47969350e9d90dc900672fe0e996f8262e2c63 (patch)
tree465b0b0996865708ebd60c6fa2836b3c93a4630c /clang/lib/CodeGen/CodeGenModule.cpp
parent16577a58e33ad2910e410e01477a50f66a384c11 (diff)
downloadbcm5719-llvm-5c47969350e9d90dc900672fe0e996f8262e2c63.tar.gz
bcm5719-llvm-5c47969350e9d90dc900672fe0e996f8262e2c63.zip
Improvements to "command script import" to better support reloading in Xcode
Xcode spawns a new LLDB SBDebugger for each debug session, and this was causing the reloading of python modules to fail across debug sessions (long story short: the module would not be loaded in the current instance of the ScriptInterpreter, but would still be present in sys.modules, hence the import call would just make a copy of it and not run it again Greg's new decorator uncovered the issue since it relies on actually loading the module's code rather than using __lldb_init_module as the active entity) This patch introduces the notion of a local vs. global import and crafts an appropriate command to allow reloading to work across debug sessions llvm-svn: 184279
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud