4 Commits

Author SHA1 Message Date
Jonas Devlieghere
f866ef202c
[lldb] Bring more diagnostics in compliance with our coding standards (#190410)
The LLVM Coding Standards [1] specify that:

> [T]o match error message styles commonly produced by other tools,
> start the first sentence with a lowercase letter, and finish the last
> sentence without a period, if it would end in one otherwise.

Historically, that hasn't been something we've enforced in LLDB, but in
the past year or so I've started to pay more attention to this in code
reviews. This PR brings more error messages in compliance, further
increasing consistency.

I also adopted `createStringErrorV` where it improved the code as a
drive-by for lines I was already touching.

[1] https://llvm.org/docs/CodingStandards.html#error-and-warning-messages

Assisted-by: Claude Code
2026-04-05 10:41:47 -07:00
Dave Lee
e10833d845
[lldb] Replace make_error<StringError> with createStringError* (NFC) (#185748)
This makes the constructions of string errors more concise and more
consistent, mainly by removing the `inconvertibleErrorCode()`.
Additional changes replace `createStringError(formatv(...), ...)` with
`createStringErrorV(...)`.

Assisted-by: Claude
2026-03-11 10:46:55 -07:00
Dhruv Srivastava
f54c36ebc9
[lldb][AIX] Added Kill() implementation (#169454)
This PR is in reference to porting LLDB on AIX.

Link to discussions on llvm
https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640 and
https://github.com/llvm/llvm-project/issues/101657
Complete changes together in this draft:
- https://github.com/llvm/llvm-project/pull/102601

**Description:**
Extending Kill and SigchldHandler for NativeProcessAIX.

Ref: https://www.ibm.com/docs/en/aix/7.3.0?topic=p-ptrace-ptracex-ptrace64-subroutine
2025-12-22 11:37:22 +05:30
Dhruv Srivastava
ec95ce358c
[lldb][AIX] Added base files for NativeProcess Support for AIX (#118160)
This PR is in reference to porting LLDB on AIX.

Link to discussions on llvm discourse and github:

1. https://discourse.llvm.org/t/port-lldb-to-ibm-aix/80640
2. https://github.com/llvm/llvm-project/issues/101657
The complete changes for porting are present in this draft PR:
https://github.com/llvm/llvm-project/pull/102601

Added base files for NativeProcess Support for AIX. 
Will be adding further support in consequent incremental PR.
2025-03-14 16:52:41 +05:30