[all-commits] [llvm/llvm-project] 679cc0: [lldb] Remove Function null checks in Block.cpp (#...
Pavel Labath via All-commits
all-commits at lists.llvm.org
Mon Apr 28 23:20:29 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 679cc0a1ed60ea529abc04cecbcdd75d65ea0588
https://github.com/llvm/llvm-project/commit/679cc0a1ed60ea529abc04cecbcdd75d65ea0588
Author: Pavel Labath <pavel at labath.sk>
Date: 2025-04-29 (Tue, 29 Apr 2025)
Changed paths:
M lldb/include/lldb/Symbol/Block.h
M lldb/source/Symbol/Block.cpp
Log Message:
-----------
[lldb] Remove Function null checks in Block.cpp (#137611)
As of #117683, Blocks are always enclosed in a function, so these checks
never fail. We can't change the signature of
`CalculateSymbolContextFunction` as it's an abstract function (and some
of its implementations can return nullptr), but we can create a
different function that we can call when we know we're dealing with a
block.
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