[clang][DebugInfo] Set linkage name for dynamic initializer/destructor debug info (#189794)
Compiler-generated dynamic initializers and atexit destructors for global
variables were missing DW_AT_linkage_name in their DWARF debug info.
For CodeView targets, different template instantiations of the same
variable all shared the same human-readable name, making them
indistinguishable in the debug info.
Set LinkageName to Fn->getName() if subprogram name does not match
the mangled name.
[PDB] Refactor cache strategy for function symbol lookups (#188927)
The original algorithm only caches the symbols that are being queried.
The module needs to be decoded again and again even when looking up the
same symbol but different address. This is time consuming when looking
for a large amount of symbol info. This patch uses IntervalMap to cache
decoded symbols to avoid duplicate decoding. We tested the symbol lookup
time for all symbols in symtab for Blender. The time was shortened by
258x relative to the original algorithm. This will greatly improve the
experience of loading symbols for pseudo probe on Windows.
[MC][debug_frame] Fix a bug in MCDwarfFrameEmitter::emit() so that per-function CIE can be generated when CIEs are different (#192727)
When CIEs of the .debug_frame section are different across multiple
functions, CIEs must not be deduplicated. This PR fixes a bug that has
prevented generating per-function CIE for `IsEH=false` when they are
different.
The test case (DwarfDebugFrameCIE.cpp) generation is assisted by LLM
agents.
options: Improve performance by loading ports_env.
This is normally handled by jail_start() but poudriere-options does not use a
jail. Call setup_ports_env() directly like poudriere-distclean does.
Fixes #1335
(cherry picked from commit b8937a8306487fd94142b31315c6e15f5eb17000)
Conflicts:
src/share/poudriere/options.sh
Fix some fallout from removing DEPENDS_ARGS.
The have_ports_feature() was broken before and did not properly
have FLAVORS set where listed_ports() was used.
(cherry picked from commit af0f63dfcee7dfb2824e421cf3e80c865d4091a7)
options: Improve performance by loading ports_env.
This is normally handled by jail_start() but poudriere-options does not use a
jail. Call setup_ports_env() directly like poudriere-distclean does.
Fixes #1335
Merge tag 'drm-next-2026-04-22' of https://gitlab.freedesktop.org/drm/kernel
Pull more drm updates from Dave Airlie:
"This is a followup which is mostly next material with some fixes.
Alex pointed out I missed one of his AMD MRs from last week, so I
added that, then Jani sent the pipe reordering stuff, otherwise it's
just some minor i915 fixes and a dma-buf fix.
drm:
- Add support for AMD VSDB parsing to drm_edid
dma-buf:
- fix documentation formatting
i915:
- add support for reordered pipes to support joined pipes better
- Fix VESA backlight possible check condition
- Verify the correct plane DDB entry
[48 lines not shown]
[UnsafeBufferUsage][SSAF] Change -Wunsafe-buffer-usage API for SSAF-based analysis (#191934)
Change -Wunsafe-buffer-usage API to match `Stmt`s instead of `Decl`s. It
is up to clients of the API to determine how to traversal a `Decl`. In
this change, the client is SSAF-based
UnsafeBufferUsageExtractor.
---------
Co-authored-by: Balázs Benics <benicsbalazs at gmail.com>
linuxkpi: Handle bin attributes in sysfs attribute groups
For instance, this is used by DRM drivers to declare the EDID property
of an GPU output connector:
sysctl -b sys.device.drmn1.card0.card0-DP-1.edid | edid-decode
...
Block 0, Base EDID:
EDID Structure Version & Revision: 1.4
Vendor & Product Identification:
Manufacturer: SAM
Model: 29814
Serial Number: 810635354 (0x3051505a)
Made in: week 15 of 2025
...
Reviewed by: bz, emaste, wulf
Sponsored by: The FreeBSD Foundation
[3 lines not shown]
[NFC][LowerTypeTests] Add AArch64 and X86 jump table tests with debug info (#192735) (#193358)
It just recommits test copied from non dbg version.
Implementation is https://github.com/llvm/llvm-project/pull/192736.
This is the same as #192735, accidentally merged into spr/users branch.