[flang][OpenMP] Fix privatization of linear in TARGET (#202443)
Linear symbols are privatized by OpenMP IRBuilder, except when they are
enclosed within TARGET, in which case their privatization must occur in
DataSharingProcessor.
Fixes #201628
[NFC][lldb][Windows] Clean up NativeProcessWindows (#202720)
A second pass over NativeProcessWindows after b1142bf99486:
- Fix "implemenation" typo in CacheLoadedModules.
- Simplify OnExitThread to use llvm::erase_if.
[StackColoring] Add test for stack-coloring and setjmp (#199959)
As in title. The stack-coloring issue has been fixed here:
https://github.com/llvm/llvm-project/pull/196542
I've attempted some other fix here
https://github.com/llvm/llvm-project/pull/181370 that wasn't right (it
sill missed some cases);
I believe explicit test-case would be valuable to have for this
behavior. The test is reduced from real life application that suffered
from this bug
[mlir][SPIR-V] Fix swapped GL/CL SAbs ops in arith.remsi lowering (#202959)
Could be treated as NFC:
The GL/CL template args were confused but in fact it did not affect the
actual result, so no test modification is required. The reason is that
driver legalizes ops by target env capabilities and rewriter that
created the unsupported variant of the op is dropped and another one is
picked
[InstCombine][NFC] Don't insert trivial assumes when simplifying assume bundles (#202951)
When removing the only element in an assume bundle an `@llvm.assume(i1
true)` is currently inserted, which will just be removed again. Instead,
just remove the assume call to save a few cycles.
[lldb][Windows] Surface DebugBreakProcess Halt() as a SIGSTOP signal stop (#201885)
With #201884, each keystroke arriving while the debuggee is running
triggers a `\x03` BREAK. On Windows, the halt is implemented by
injecting a thread that fires an int3. However, the resulting breakpoint
exception was being reported as a real `__debugbreak()` (SIGTRAP). The
client treats that as a genuine stop, ends the continue, and stdin
forwarding ships at most one byte per BP hit.
With this patch, when a halt is pending, the server treats the next
breakpoint as the halt acknowledgement and report it as SIGSTOP instead
of SIGTRAP. The client then resumes the debuggee automatically, making
the brief halt transparent.
This is a follow up to https://github.com/llvm/llvm-project/pull/201884.
rdar://178725947
---------
Co-authored-by: Nerixyz <nero.9 at hotmail.de>
axgbe: Remove leftover RSS default from xgbe_default_config()
Since 2b8df53 this is a sysctl toggle and the default is managed
in axgbe_sysctl_init() already along with the other toggles.
Signed-off-by: Stephan de Wit <stephan.de.wit at deciso.com>
stand: add EFI support for mmio serial consoles
When no legacy serial is found, we may be looking at a non-legacy mmio
serial device mapping, in which case the efi_devpath_name() for name
ConOutDev looks like this:
VenHw(XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX,0090DCFE00000000)/Uart(115200,8,N,1)/VenVt100()
Which should tell the kernel to attach a console to 0xfedc9000
(little endian 64 bit value). The value is stored behind the
VENDOR_DEVICE_PATH struct as a byte stream hence we need to check
if said address is appended behind the node. Also enforce use for
uart by requiring the console speed read from the same device.
There is no scientific process for "rs:2" derivation, but evidence would
indicate that this is the correct setting for existing MMIO EFI consoles.
See also: http://bsdimp.blogspot.com/2018/07/how-to-get-memory-mapped-serial-console.html
[AMDGPU] Fix value swap for potentially aliased out arguments in RewriteOutArguments (#202922)
When two out argument pointers may alias, MemoryDependence returns the
last aliasing store for both, so each argument was paired with the other
stored value
Match each store pointer to its argument and store them in pairs instead
archivers/p5-Archive-Tar: update 3.10 -> 3.12
Changelog: https://metacpan.org/dist/Archive-Tar/changes
Major changes:
- Allow '..' links in secure extract in parent path for
symlinks and hardlinks
Port changes:
- Update TEST_TEPENDS to pass all the tests
[CodeGen] Refactor rematerializer unit tests to reduce boilerplate (NFC) (#197575)
Taking inspiration from other unit tests, this refactors the
rematerializer's unit tests with the aim of reducing the amount of
repetitive boilerplate code in each individual test, making the addition
of new tests easier/faster in the future.
Each unit test defines some input MIR to instantiate a rematerializer
on; a user-provided callback is then invoked with a pre-initialized
rematerializer wrapped in a helper object that factors out as much
common verification logic as possible.
hcreate(3): fix incorrect claim that hdestroy frees keys
The man page incorrectly stated that hdestroy() calls free(3) for
each comparison key. The implementation (hdestroy_r.c) only frees
the internal table structure, not the user-provided keys or data.
This matches POSIX, which says hdestroy "shall dispose of the
search table" without mentioning key deallocation.
Update the description to clarify that the caller is responsible
for freeing any memory associated with table entries.
PR: 291240
Signed-off-by: Kit Dallege <xaum.io at gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2095
etherswitchcfg(8): document atu commands
Add documentation for the ATU (Address Translation Unit) commands
that were implemented but not documented in the man page:
- atu dump: display the MAC address table
- atu flush all: clear all dynamic ATU entries
- atu flush port <n>: clear ATU entries for a specific port
Also add atu to the SYNOPSIS section.
PR: 275413
Signed-off-by: Kit Dallege <xaum.io at gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2096
re(4): document jumbo frame support for 8168/8111 chips
The man page only mentioned jumbo frame support for the 8169, 8169S,
and 8110S chips. The 8168 and 8111 family also support jumbo frames,
with varying MTU limits depending on the chip revision (6K for C
variants, 9K for D and later). Update the documentation to reflect
the actual driver capabilities.
PR: 160399
Signed-off-by: Kit Dallege <xaum.io at gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2097
bsdconfig(8): add missing vt(4) console commands
Add documentation for the vt_font, vt_keymap, vt_repeat, vt_saver,
vt_screenmap, and vt_ttys commands which are available at runtime
but were not listed in the man page.
Also clarify that the existing syscons_* commands are for the
syscons(4) console driver and remove stale commented-out entries.
PR: 291051
Signed-off-by: Kit Dallege <xaum.io at gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2100
diskless(8): remove references to deleted clone_root script
The clone_root script was removed from the tree in commit
7736786b08e8 but the diskless(8) man page still referenced it
in two places. Remove both references.
PR: 292231
Signed-off-by: Kit Dallege <xaum.io at gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2101
cp(1): fix -P documentation to reflect it works without -R
Since commit 97e13037915c, the -P flag works without -R as
required by POSIX. Update the man page to state that only -H
and -L are ignored without -R, while -P can be used independently.
PR: 289959
Signed-off-by: Kit Dallege <xaum.io at gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2102
du(1): document --si option
The --si option (human-readable output with SI units based on
powers of 1000) was implemented but missing from both the SYNOPSIS
and the options list.
PR: 265199
Signed-off-by: Kit Dallege <xaum.io at gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2104