diff options
author | Fangrui Song <i@maskray.me> | 2024-06-23 10:08:51 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2024-06-23 10:08:52 -0700 |
commit | 21fac2d1d060b0f9b11a746718e58d4cd1ee97e5 (patch) | |
tree | e2f32591d8e4044b6a32d8691beb6330b81e4ee9 /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 6dc8de7a0abc7df8295273694fd9b951ed33708f (diff) | |
download | llvm-21fac2d1d060b0f9b11a746718e58d4cd1ee97e5.zip llvm-21fac2d1d060b0f9b11a746718e58d4cd1ee97e5.tar.gz llvm-21fac2d1d060b0f9b11a746718e58d4cd1ee97e5.tar.bz2 |
[MC] Ensure all new sections have a MCDataFragment
MCAssembler::layout ensures that every section has at least one
fragment, which simplifies MCAsmLayout::getSectionAddressSize (see
e73353c7201a3080851d99a16f5fe2c17f7697c6 from 2010). It's better to
ensure the condition is satisfied at create time (COFF, GOFF, Mach-O) to
simplify more fragment processing.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions