aboutsummaryrefslogtreecommitdiff
path: root/mlir/lib/Dialect
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-07-31 23:35:44 -0700
committerFangrui Song <i@maskray.me>2022-07-31 23:35:44 -0700
commitb2559f2f5ca950e917253b156bfd08ede5577cd5 (patch)
tree6af72664b4fbbf2bec7775482dd8825f0d703a62 /mlir/lib/Dialect
parent4ec22ba9c88655fdf676008d6755ec71185099be (diff)
[ELF] .eh_frame: remove config->wordsize padding
Linux Standard Base Core Specification says that CIE/FDE is padded to an addressing unit size boundary, but in practice GNU assembler/LLVM integrated assembler pad FDE/CIE to 4 and the last FDE to 8 on 64-bit systems. In addition, GNU ld doesn't pad to 8, so let's drop excess padding, too. If the assembler provides aligned pieces, the output will be aligned. Noticed .eh_frame size reduction for 3 executables: 0.3% (chrome), 4.7% (clang), 7.6% (an internal program).
Diffstat (limited to 'mlir/lib/Dialect')
0 files changed, 0 insertions, 0 deletions