[PATCH] D126257: Round up zero-sized symbols to 1 byte in `.debug_aranges`.

Bjorn Pettersson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 26 12:02:25 PDT 2022


bjope added inline comments.


================
Comment at: llvm/test/DebugInfo/X86/dwarf-aranges.ll:25
 ; CHECK-NEXT: .quad .Lfunc_begin0
-; CHECK-NEXT: .quad .Lsec_end2-.Lfunc_begin0
+; CHECK-NEXT: .quad 1
 
----------------
I do not fully understand what happened here.
The old label range was not zero-sized, right? So this is not rounding up to 1 byte, it is truncating it down to 1 byte, right? Is that really the intention with the patch?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126257/new/

https://reviews.llvm.org/D126257



More information about the llvm-commits mailing list