aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2025-03-07 15:23:05 -0700
committerGitHub <noreply@github.com>2025-03-07 14:23:05 -0800
commit993cbead9e5c2385b93b7931b74c5d83dbadeb34 (patch)
tree0c46527d6c344cc4e61eaa803b5bd894d956a737 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parentd90423e310482bdbc731242fa25dcb3dd44e69de (diff)
downloadllvm-993cbead9e5c2385b93b7931b74c5d83dbadeb34.zip
llvm-993cbead9e5c2385b93b7931b74c5d83dbadeb34.tar.gz
llvm-993cbead9e5c2385b93b7931b74c5d83dbadeb34.tar.bz2
Two fixes for DISubrangeType (#130345)
My previous patch to add DISubrangeType (#126772) had a couple of minor errors. This patch corrects them. 1. When using a DISubrangeType as an array index type, the wrong tag was written into the DIE. 2. I'd intended for subranges to use bit strides, not byte strides -- but neglected to actually implement this. Ada needs bit strides. This patch adds a new test that checks both these things. Finally, this patch adds some documentation for DISubrangeType.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions