llvm / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies.
http://llvm.org
Other
27.83k stars 11.46k forks source link

lldb-api :: functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py doesn't stop on breakpoint condition #100486

Closed kendalharland closed 1 month ago

kendalharland commented 1 month ago

On windows x86_64 this test stops on the set breakpoint when val == 1 if the breakpoint condition is set on the SBBreakpointLocation rather than the SBBreakpoint directly. Setting the condition on the breakpoint itself, seems to fix the issue.

kendalharland commented 1 month ago

Part of https://github.com/llvm/llvm-project/issues/100474

llvmbot commented 1 month ago

@llvm/issue-subscribers-lldb

Author: Kendal Harland (kendalharland)

On windows x86_64 this test stops on the set breakpoint when `val == 1` if the breakpoint condition is set on the SBBreakpointLocation rather than the SBBreakpoint directly. Setting the condition on the breakpoint itself, seems to fix the issue.
kendalharland commented 1 month ago

This was due to me using my host's clang-cl to build and run the tests rather than the recently build clang from llvm. WAI.