[PATCH] D143513: [DebugInfo] Allow parsing line tables aligned to 4 or 8-byte boundaries

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 10 12:40:10 PST 2023


MaskRay added inline comments.


================
Comment at: llvm/test/tools/llvm-dwarfdump/ARM/aligned_line_tables.s:85
+// End first line table
+// Padding:
+.ifdef UNALIGNED_PADDING
----------------
The number of padding will be fragile if the above directives are changed.

You may use `llvm-mc ... --save-temp-labels` to retain `.L*` symbols, then add `// RUN: llvm-nm %t.o | FileCheck ...` to test the st_value of `.Ltable0_end`. This will clearly show the needed padding bytes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D143513



More information about the llvm-commits mailing list