[MLIR] Make MLIRRegisterAllPasses depend on mlir-headers (#196913)
RegisterAllPasses.cpp pulls in dialect Passes.h / generated Passes.h.inc
via TableGen targets that are tied to mlir-headers, but add_mlir_library
only adds mlir-generic-headers by default, so this TU can compile before
those generated headers are ready and registerAllPasses() can miss
passes (e.g. sporadic mlir-opt --help gaps). Add DEPENDS mlir-headers to
MLIRRegisterAllPasses in mlir/lib/CMakeLists.txt so it waits for those
outputs. Verified with ninja mlir-opt and mlir-opt --help | grep -E
'nvvm-attach-target|rocdl-attach-target' (or similar stable upstream
passes in your tree).
Signed-off-by: Fujun Han <fujun.han at iluvatar.com>
Co-authored-by: Cursor <cursoragent at cursor.com>
[AtomicExpand] Add bitcasts when expanding load atomic vector (#148900)
AtomicExpand fails for aligned `load atomic <n x T>` because it
does not find a compatible library call. This change adds appropriate
bitcasts so that the call can be lowered. It also adds support for
128 bit lowering in tablegen to support SSE/AVX.
interfaces: adjust and annotate interface_dhcpv6_id() #7647
This does not change the output unless an unknown or empty interface
is passed which is mostly to protect future GUI use from returning a
wrong IAID. This means from a functional perspective this is risk-
free.
Also note that this is the "default_id" and not always the resulting
ID due to what was already worked on for this ticket.
[LifetimeSafety] Impove `[[clang::lifetimbound]]` violation diagnostics (#196824)
Reports lifetimebound verification diagnostics at the attribute
location, so declarations with the attribute now point at the
declaration rather than only at the function definition.
[CMake] Don't pass --gc-sections to MSVC-style linkers when using clang's MSVC mode (#196393)
The PR concerns Clang with a GNU-like command-line interface on Windows.
The LLVM linker on Windows (lld-link.exe) does not understand the
--gc-sections option. The PR excludes that option when compiling on
Windows to remove a linker warning (and an error if warnings are treated
as such).
Services: Kea DHCPv4: Add client-id to reservations (#10288)
* Services: Kea DHCPv4: Add client-id to reservations
* Should be client_id in the row
* Add client_id to dhcpv4 config generator
* client-id is stored differently in the running configuration and the lease endpoint, it must be normalized here so we can return a correct match in is_reserved
* Fix typo in client_id
* Use MAC address instead of Ether address in validation message, fix missing back reference in DHCPv6 reservation validation
* Update src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php
Co-authored-by: Franco Fichtner <franco at opnsense.org>
* Update src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php
[5 lines not shown]
[lldb][Windows] Use WaitForDebugEventEx if available (#196817)
This makes use of
[`WaitForDebugEventEx`](https://learn.microsoft.com/en-us/windows/win32/api/debugapi/nf-debugapi-waitfordebugeventex)
over `WaitForDebugEvent` if available (Windows 10+).
The two functions are identical except for the handling of
`OutputDebugStringW`. The `-Ex` version forwards the string as Unicode
whereas the other version forwards ASCII strings. Since we don't handle
these outputs yet, it shouldn't make any difference.
Split from #196395.
Explicitly cast IOCPARM_MAX to size_t - it can never be negative.
Hopefully avoids build breakage by a signed vs. unsigned comparision warning
on mips*64*.