Skip to content

Backport 50ae1c7 ("[LLDB][LoongArch] Fix build errors about NT_LOONGARCH_HW_{BREAK,WATCH}") to LLVM 20 #134377

@ziyao233

Description

@ziyao233

Hardware breakpoints support on loongarch64 has been added and available since LLVM 20, but older glibcs and musl 1.2.5 (the latest release) don't ship corresponding macro definition in system headers, which causes building failures of LLDB.

I've checked the patch could be applied to LLVM 20.1.2, fixing the issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions