diff options
author | Alex Langford <alangford@apple.com> | 2024-01-31 14:44:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-31 14:44:52 -0800 |
commit | db68e9229b54f1d72c0a4445682718d75e532b5d (patch) | |
tree | fe7370ad2be4e0a0c1ef1a185efc7567f5af8efd /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | ff53d5074256b8d88d9883dd593992a011fb0516 (diff) | |
download | llvm-db68e9229b54f1d72c0a4445682718d75e532b5d.zip llvm-db68e9229b54f1d72c0a4445682718d75e532b5d.tar.gz llvm-db68e9229b54f1d72c0a4445682718d75e532b5d.tar.bz2 |
[lldb][NFCI] Remove m_being_created from Breakpoint classes (#79716)
The purpose of m_being_created in these classes was to prevent
broadcasting an event related to these Breakpoints during the creation
of the breakpoint (i.e. in the constructor). In Breakpoint and
Watchpoint, m_being_created had no effect. That is to say, removing it
does not change behavior.
However, BreakpointLocation does still use m_being_created. In the
constructor, SetThreadID is called which does broadcast an event only if
`m_being_created` is false. Instead of having this logic be roundabout,
the constructor instead calls `SetThreadIDInternal`, which actually
changes the thread ID. `SetThreadID` also will call
`SetThreadIDInternal` in addition to broadcasting a changed event.
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions