[Lldb-commits] [PATCH] D30817: BreakpointResolverFileLine: Correct treatment of move-to-nearest-code for multiple modules
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 10 04:00:26 PST 2017
labath created this revision.
move-to-nearest-code needs special treatment to avoid creating
superfluous breakpoints in case multiple compilation units. It already
had code to handle the case when the compilation units are in the same
module, but it still did not properly handle the case when the
compilation units are in different modules.
This fixes the issue by manually iterating over the modules (instead of
just CUs) to make sure we aggregate the matches properly.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 8058 bytes
Desc: not available
More information about the lldb-commits