Closed
Description
This is a regression from 6251134.
05b86a8 addressed a part of the regression. For instance, this:
call void @llvm.dbg.value(metadata i64 or (i64 zext (i32 ptrtoint (ptr @anon.436463c58f189989edb51bc04335cb6d.21 to i32) to i64), i64 shl (i64 zext (i32 trunc (i64 lshr (i64 ptrtoint (ptr @anon.436463c58f189989edb51bc04335cb6d.21 to i64), i64 32) to i32) to i64), i64 32)), metadata !4453, metadata !DIExpression(DW_OP_LLVM_fragment, 64, 64)), !dbg !4493
used to cause an error but doesn't anymore with that fix.
What still causes an error, though, is e.g.:
call void @llvm.dbg.value(metadata ptr inttoptr (i64 or (i64 zext (i32 ptrtoint (ptr @anon.202156da7d09c46fe0b29195d5b08186.240 to i32) to i64), i64 shl (i64 zext (i32 trunc (i64 lshr (i64 ptrtoint (ptr @anon.202156da7d09c46fe0b29195d5b08186.240 to i64), i64 32) to i32) to i64), i64 32)) to ptr), metadata !14853, metadata !DIExpression(DW_OP_LLVM_fragment, 0, 64)), !dbg !14944
from this object file: https://drive.google.com/file/d/17fb-_f363yRFibtkJjRQ5qihnAuOPbdc/view?usp=sharing
Cc: @nikic