llvm-project/lldb/source/Plugins/LanguageRuntime/CPlusPlus
Felipe de Azevedo Piovezan baeb17cdfa [lldb] Add more dylib paths for exception breakpoints
When setting a breakpoint upon throwing exceptions, LLDB only
searches for the libc++abi code inside dylibs named:
  1. libc++abi.dylib
  2. libSystem.B.dylib

However, this fails to account for libs with a version number. For
example, when building the libcxx and libcxxabi runtimes, the following
dylibs are generated:

build/lib/libc++abi.1.0.dylib
build/lib/libc++abi.1.dylib -> libc++abi.1.0.dylib
build/lib/libc++abi.dylib -> libc++abi.1.dylib

If we are debugging a program linked against any of the "versioned"
libs, the breakpoint doesn't work. This commit adds these names to the
search list.

Differential Revision: https://reviews.llvm.org/D132598
2022-08-25 06:46:04 -04:00
..
ItaniumABI [lldb] Add more dylib paths for exception breakpoints 2022-08-25 06:46:04 -04:00
CMakeLists.txt
CPPLanguageRuntime.cpp [LLDB] Replace use of double underscore in identifiers 2022-02-16 11:54:45 -08:00
CPPLanguageRuntime.h [LLDB] Replace use of double underscore in identifiers 2022-02-16 11:54:45 -08:00