[clang] [llvm] Fix silent truncation of inline ASM `srcloc` cookie when going through a `DiagnosticInfoSrcMgr` (PR #84559)

via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 13 08:09:01 PDT 2024


beetrees wrote:

@statham-arm I've widened the `LocCookie` in `DiagnosticInfoDontCall` as requested. I also noticed the inline ASM example in the LangRef still used an `i32` `srcloc`: while that still works fine, I updated the example to use an `i64` so that readers would be aware of the increased integer size available.

https://github.com/llvm/llvm-project/pull/84559


More information about the cfe-commits mailing list