[all-commits] [llvm/llvm-project] 0adccd: [lldb] Allow languages to filter breakpoints set b...
Felipe de Azevedo Piovezan via All-commits
all-commits at lists.llvm.org
Thu Mar 14 09:40:22 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0adccd1a7fd8e30650f76bd33471de28b7939455
https://github.com/llvm/llvm-project/commit/0adccd1a7fd8e30650f76bd33471de28b7939455
Author: Felipe de Azevedo Piovezan <fpiovezan at apple.com>
Date: 2024-03-14 (Thu, 14 Mar 2024)
Changed paths:
M lldb/include/lldb/Target/Language.h
M lldb/source/Breakpoint/BreakpointResolver.cpp
M lldb/source/Core/Debugger.cpp
M lldb/source/Target/Language.cpp
M lldb/source/Target/TargetProperties.td
Log Message:
-----------
[lldb] Allow languages to filter breakpoints set by line (#83908)
Some languages may create artificial functions that have no real user
code, even though there is line table information for them. One such
case is with coroutine code that receives the CoroSplitter
transformation in LLVM IR. That code transformation creates many
different Functions, cloning one Instruction into many Instructions in
many different Functions and copying the associated debug locations.
It would be difficult to make that pass delete debug locations of cloned
instructions in a language agnostic way (is it even possible?), but LLDB
can ignore certain locations by querying its Language APIs and having it
decide based on, for example, mangling information.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list