[Lldb-commits] [lldb] [LLDB][FreeBSD] Implement DoStopIDBumped on FreeBSD (PR #195679)

via lldb-commits lldb-commits at lists.llvm.org
Tue May 5 01:35:06 PDT 2026


aokblast wrote:

> This should come with a test. It looks like the linked issue has a relatively simple reproducer?

Emm, it is hard for me create a generic test. glibc does not call vfprintf directly, instead, they have their internal namespace.

I also try to create a testcase like the following:

```
void g() {}
void f() {g()}
int main() {f()}
```

, and set a breakpoint on g(), step-out twice. It seems that simple program does not break lldb on FreeBSD. I can make this testcase FreeBSD only. Or is there any suggestion?
> 
> As a follow-up, can we hoist the cache-clearing logic into a common POSIX/ELF base so Linux/FreeBSD (and eventually NetBSD) don't drift?

I see. I will create a separate patch. Thanks!

https://github.com/llvm/llvm-project/pull/195679


More information about the lldb-commits mailing list