unSafe.sh - 不安全
我的收藏
今日热榜
公众号文章
导航
Github CVE
Github Tools
编码/解码
文件传输
Twitter Bot
Telegram Bot
Search
Rss
黑夜模式
Linker I/O tricks and their downsides
mold and wild enable several tricks by default that other linkersdon't do. This pos...
2026-9-20 07:0:0 | 阅读: 9 |
收藏
|
MaskRay - maskray.me
mold
thp
lld
memory
gib
lld 23 ELF changes
LLVM 23.1 has been released. As usual, I maintain lld/ELF and asvolunteer work have...
2026-9-12 07:0:0 | 阅读: 23 |
收藏
|
MaskRay - maskray.me
lld
cfi
relro
aarch64
int3
Block frequency
Estimating branchprobabilities says how one branch splits.BlockFrequencyInfo turns...
2026-8-23 07:0:0 | 阅读: 29 |
收藏
|
MaskRay - maskray.me
mass
scc
irreducible
bfi
freq
Estimating branch probabilities
LLVM's BranchProbabilityInfo assigns everymulti-successor terminator a probability...
2026-8-9 07:0:0 | 阅读: 25 |
收藏
|
MaskRay - maskray.me
loops
1048575
irreducible
succ
nesting
Estimating branch probabilities
LLVM's BranchProbabilityInfo assigns everymulti-successor terminator a probability...
2026-8-9 07:0:0 | 阅读: 32 |
收藏
|
MaskRay - maskray.me
loops
1048575
irreducible
succ
edges
Irreducible loops
The dominator tree letsus identify natural loops:a back edge T->H whose head H dom...
2026-7-12 14:19:58 | 阅读: 58 |
收藏
|
MaskRay - maskray.me
nd
irreducible
loops
dfs
b0
Irreducible loops
The dominator tree lets usidentify natural loops: a back edgeT->H whose head H dom...
2026-7-12 07:0:0 | 阅读: 22 |
收藏
|
MaskRay - maskray.me
loops
nd
dfs
irreducible
forest
Optimizing LLVM's bump allocator
BumpPtrAllocator is LLVM's bump allocator (arenaallocator): each allocation bumps a...
2026-6-28 07:0:0 | 阅读: 41 |
收藏
|
MaskRay - maskray.me
curptr
alignment
alignedptr
stage1
Optimizing LLVM's bump allocator
BumpPtrAllocator is LLVM's bump allocator (arenaallocator): each allocation bumps a...
2026-6-28 07:0:0 | 阅读: 24 |
收藏
|
MaskRay - maskray.me
curptr
alignment
allocator
alignedptr
A deep dive into SmallVector::push_back
SmallVector is LLVM's most-used container, andpush_back its hot operation. For the...
2026-6-27 07:0:0 | 阅读: 59 |
收藏
|
MaskRay - maskray.me
trivially
elt
callee
smallvector
shrink
A deep dive into SmallVector::push_back
tl;dr This blog post describes a recentSmallVector::push_back optimization for appr...
2026-6-27 07:0:0 | 阅读: 22 |
收藏
|
MaskRay - maskray.me
smallvector
trivially
callee
elt
Recent LLVM hash table improvements
LLVM had several hash tables using quadratic probing with in-bandsentinel keys (emp...
2026-6-7 11:55:39 | 阅读: 49 |
收藏
|
MaskRay - maskray.me
densemap
erase
probing
smallptrset
miss
Fighting Hyrum's Law in LLVM
With a sufficient number of users of an API, it does not matterwhat you promise in...
2026-5-10 07:0:0 | 阅读: 38 |
收藏
|
MaskRay - maskray.me
shuffle
randomize
reverse
iteratorty
libcpp
Fighting Hyrum's Law in LLVM
With a sufficient number of users of an API, it does not matterwhat you promise in...
2026-5-10 07:0:0 | 阅读: 24 |
收藏
|
MaskRay - maskray.me
shuffle
randomize
reverse
libcpp
iteratorty
Recent lld/ELF performance improvements
好的,我现在需要帮用户总结一篇文章的内容,控制在100个字以内,而且不需要特定的开头。首先,我得仔细阅读文章,了解主要信息。 文章主要讲的是LLVM 22分支之后,作者为lld/ELF做了很多优化,比如并行化链接阶段和移除热点。然后通过基准测试比较了不同版本的性能。 我需要提取关键点:优化措施、基准测试结果、主要改进和剩余问题。比如,并行加载输入文件、加速标记阶段、优化重定位扫描等。 接下来,我要把这些信息浓缩成100字以内。确保涵盖主要变化和比较结果,同时提到lld在某些方面仍落后于mold和wild。 最后,检查语言是否简洁明了,避免使用复杂的术语,让用户容易理解。 </think> 文章介绍了LLVM 22分支后对lld/ELF的优化工作,包括并行化链接阶段、移除热点以及性能提升。通过基准测试比较了当前主分支与lld 22.1、mold和wild的性能表现,并详细分析了优化措施及其效果。结果显示,在大多数情况下mold和wild仍领先于lld,特别是在调试信息处理方面存在瓶颈。...
2026-4-12 07:0:0 | 阅读: 42 |
收藏
|
MaskRay - maskray.me
lld
mold
chromium
wall
addfile
Bit-field layout
嗯,用户让我总结一下这篇文章的内容,控制在100字以内。首先,我需要通读文章,理解其主要观点。 文章主要讨论了C和C++中位字段的布局和访问机制。它分为两个阶段:存储单元布局和访问单元生成。存储单元由ABI决定,影响结构体的大小和对齐方式。访问单元则由编译器优化,影响生成的代码效率。 文章还比较了不同的ABI,如Itanium和Microsoft,在处理位字段时的差异。Itanium允许不同类型的位字段共享存储单元,而Microsoft则为每个位字段分配独立的存储单元。 总结时,我需要涵盖这些关键点:位字段的布局规则、两个阶段的区别、ABI的影响以及不同ABI之间的差异。 确保语言简洁明了,不超过100字。 </think> 文章讨论了C和C++中位字段的布局规则及其在不同ABI(如Itanium和Microsoft)下的实现差异。位字段的布局分为两个阶段:存储单元分配(由ABI决定)和访问单元生成(由编译器优化)。Itanium ABI允许不同类型的位字段共享存储单元,而Microsoft ABI则为每个位字段分配独立的存储单元。...
2026-2-22 08:0:0 | 阅读: 49 |
收藏
|
MaskRay - maskray.me
alignment
fits
microsoft
bitfield
aligned
Bit-field layout
The C and C++ standards leave nearly every detail to theimplementation. C23 §6.7.3....
2026-2-22 08:0:0 | 阅读: 24 |
收藏
|
MaskRay - maskray.me
alignment
fits
microsoft
aligned
i8
Call relocation types
Most architectures encode direct branch/call instructions with aPC-relative displac...
2026-2-16 08:0:0 | 阅读: 23 |
收藏
|
MaskRay - maskray.me
plt32
pc32
aarch64
relocations
Call relocation types
好的,我现在需要帮用户总结这篇文章的内容,控制在100字以内。首先,我得仔细阅读文章,理解其主要观点。 文章讨论了不同架构在处理分支/调用指令时使用ELF重定位类型的情况。静态链接时,PC相对重定位足够,而动态链接时需要引入PLT表,导致了不同的重定位类型。作者还提到命名混乱和冗余的问题,并建议未来架构采用单一重定位类型。 接下来,我需要提取关键点:静态与动态链接的不同处理、PLT表的引入、命名问题以及对未来的建议。然后将这些内容简洁地整合成一段话,确保不超过100字。 最后,检查语言是否流畅自然,避免使用过于专业的术语,让用户容易理解。 </think> 文章探讨了不同架构在处理分支/调用指令时使用的ELF重定位类型。静态链接中,PC相对重定位足够;动态链接中引入PLT表导致不同重定位类型。命名混乱和冗余问题存在,未来应采用单一重定位类型。...
2026-2-16 08:0:0 | 阅读: 31 |
收藏
|
MaskRay - maskray.me
plt32
pc32
386
assembler
lld 22 ELF changes
For those unfamiliar, lld is theLLVM linker, supporting PE/COFF, ELF, Mach-O, and W...
2026-2-1 08:0:0 | 阅读: 24 |
收藏
|
MaskRay - maskray.me
aarch64
lld
thinlto
risc
relocations
Previous
1
2
3
4
5
6
7
8
Next