Add plugin.jit-loader.gdb.enable-jit-breakpoint property to make JIT loader breakpoint optional with default value set true.
If we're not interested in debugging JIT code there is no need to hit this breakpoint.
Details
- Reviewers
clayborg tberghammer
Diff Detail
Event Timeline
source/Core/PluginManager.cpp | ||
---|---|---|
2628 | Do we still need this function? It's used only by platform plugin and there is no platform plugin properties right now in use - we may want to migrate from old style properties. |
Looks good.
source/Core/PluginManager.cpp | ||
---|---|---|
2628 | I believe we do for other branches that we merge into... Leave it for now. |
Files:
/lldb/trunk/include/lldb/Core/PluginManager.h /lldb/trunk/source/Core/PluginManager.cpp /lldb/trunk/source/Plugins/JITLoader/GDB/JITLoaderGDB.cpp /lldb/trunk/source/Plugins/JITLoader/GDB/JITLoaderGDB.h
Users:
ovyalov (Author)
@clayborg Given that this was merged, does it make sense to now allow the JITLoader to be created on OS X as well, but set the setting to false by default? Does that address the performance concern you had initially?
So you are saying to have a setting that allows this plug-in to be enabled and have it set to false by default? That sounds good to me. It probably should be false on all platforms and anyone wanting JIT support should enable it?
Do we still need this function? It's used only by platform plugin and there is no platform plugin properties right now in use - we may want to migrate from old style properties.