[PATCH] D110299: Add subrange debugging for languages that support native subrange types
John Reagan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 24 12:14:18 PDT 2021
JohnReagan added a comment.
Ah, thank you for doing this. We have noticed the lack of support when porting our Pascal over to OpenVMS x86.
On our proprietary Itanium backend, we generate as a point of comparison. We also allow run-time upper/lower bounds as well.
00000780 00000100 00000003 [03] (base type) (level: 2)
00000781 00000101 name: "BIGGEST"
00000789 00000109 encoding: 05 (5) (signed)
0000078a 0000010a byte size: [04] 0000000000000004 (4)
0000078b 0000010b 00000007 [07] (subrange) (level: 2)
0000078c 0000010c name: "BIGGEST"
00000794 00000114 type: ref: 00000100 (00000100)
00000798 00000118 lower bound: [01] 0000000000000001 (1)
00000799 00000119 upper bound: [e400] 0000000000000064 (100)
0000079b 0000011b 00000008 [08] (variable) (level: 2)
0000079c 0000011c name: "BIG"
000007a0 00000120 type: ref: 0000010b (0000010b)
000007a4 00000124 location: block length: [03] 3 (3)
000007a5 00000125 7c (breg12) [a001] 00000000000000a0 (r12+160)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D110299/new/
https://reviews.llvm.org/D110299
More information about the llvm-commits
mailing list