aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/DebugInfo/CodeView/(public-mirror)
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2025-12-10 10:55:28 +0000
committerBrooks Davis <brooks@FreeBSD.org>2025-12-10 10:57:50 +0000
commit80203a27e964403d1d23907089f5c57c60a15c04 (patch)
treed86a94f56318757f6521e94a415f49317d544c47 /include/llvm/DebugInfo/CodeView/(public-mirror)
parentcfae62eac076d43bc94c667084018a21ee8a305f (diff)
Add sys/_align.h replacing machine/_align.hHEADmain
Define _ALIGNBYTES using sizeof(void *) (no functional change on any existing architecture) which will allow it to work with CHERI were we must align things up to capability alignment. In _ALIGN, replace integer manipulation which does not preserve pointer provenance with a type and provenance preserving builtin. This requires modest changes in code which assumes _ALIGN returns an integer, but those are relatively rare. Reviewed by: kib, markj Effort: CHERI upstreaming Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D53947
Diffstat (limited to 'include/llvm/DebugInfo/CodeView/(public-mirror)')
0 files changed, 0 insertions, 0 deletions