[lldb][test] Keep each object newer than its .d file (#239655)
`TestBreakpointLanguage.py` failed on the `lldb-cmake-matrix` bot.
https://ci.swift.org/view/all/job/llvm.org/job/lldb-cmake-matrix/1017/
```
error: a.out debug map object file "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/lldb-build/lldb-test-build.noindex/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.dwarf/b.o" changed (actual: 0x6aed2d34, debug map: 0x6aed2d33) since this executable was linked, debug info will not be loaded
FAIL: test_regex_breakpoint_language_dwarf (TestBreakpointLanguage.TestBreakpointLanguage)
File "/Users/ec2-user/jenkins/workspace/llvm.org/lldb-cmake-matrix/llvm-project/lldb/test/API/functionalities/breakpoint/breakpoint_language/TestBreakpointLanguage.py", line 40, in test_regex_breakpoint_language
self.assertTrue(self.check_location_file(cpp_bp, 0, "b.cpp"))
AssertionError: False is not true
```
It shares a build directory, and every `self.build()` runs `make`.
clang writes the `.d` after the `.o`, so if these two writes across a
secondary boundary, the next `make` rebuilds that `.o`. If this
happens in the second in which `a.out` was linked, the new `.o` is not
newer than `a.out`, so there is no relink. `ld` recorded the old mtime
of `b.o` in its `N_OSO` entry, and lldb doesn't load the debug info
of `b.o`.
[2 lines not shown]
Keep nft output out of the middlewared journal
flush_chains() ran nft without redirecting its output, so nft's error
for a missing table or chain went to middlewared's stdout and stderr,
which systemd sends to the journal. Capture it, as the other nft call
in this file does. The callers already log the failure.
[mlir][docs] Fix the documented signatures of the ODS dispatch functions
The documentation of the generated attribute and type parse and print
dispatch functions has bit-rotted over the years, with most notably the signature changing quite a bit (79f736c150c5, f97e72aaca4a, fe4f512be7a5).
Update the signatures and describe what the dispatch functions return + the semantics of the mnemonic pointer parameter. The documented semantics are required for later work on attribute and type partitioning to chain parser-printer generators.
Co-authored-by: Claude <noreply at anthropic.com>
lang/opensycl: allow a range of LLVM versions
Per the build documentation, LLVM >= 15 and <= 21 are supported so
express that allowing LLVM_DEFAULT (current 19) to be used.
PR: 300193
Approved by: maintainer timeout
[libc] Use a syscall wrapper for mlockall (#243414)
This PR move mlockall behind the centralized syscall wrappers, following
libc/docs/dev/syscall_wrapper_refactor.md.
[libc] Use a syscall wrapper for mlock (#243412)
This PR move mlock behind the centralized syscall wrappers, following
libc/docs/dev/syscall_wrapper_refactor.md.
[libc] Use a syscall wrapper for mlock2 (#243413)
This PR move mlock2 behind the centralized syscall wrappers, following
libc/docs/dev/syscall_wrapper_refactor.md.
[libc] Use a syscall wrapper for mincore (#243411)
This PR move mincore behind the centralized syscall wrappers, following
libc/docs/dev/syscall_wrapper_refactor.md.
devel/llvm12: thin the port further
Add a comment describing the ports that depend on this one to aid future
decisions about keeping it.
Remove COMPILER_RT, EXTRAS, LIT, OPENMP, and PYCLANG options.
Drop AMDGPU and WebAssembly backends from BE_NATIVE and BE_FREEBSD and
make native the default.
devel/ikos: mark DEPRECATED
Requires LLVM 14 and is broken with libc++ 21. Will be broken on all
platforms once 14.4 and 15.1 are out of support.
PR: 300191
Approved by: maintainer timeout
editors/hexer: mark DEPRECATED
It's been unmaintained (other that sweeping commits) since import
despite upstream releases. It doesn't build with a modern version of
clang (also true of the latest release).
While here, make llvm an explicit build depend.
PR: 300190
Approved by: maintainer timeout
devel/spirv-llvm-translator: drop support for LLVM 12 13 14
These versions are ancient so drop support for them.
PR: 300189
Approved by: jbeich (maintainer)