KhronosGroup / SPIRV-LLVM-Translator

A tool and a library for bi-directional translation between SPIR-V and LLVM IR
Other
479 stars 213 forks source link

Support for record debug format #2565

Closed bwlodarcz closed 4 months ago

bwlodarcz commented 4 months ago

Recently, LLVM migrated to new debug format replacing debug intrinsics with so-called records. The DIBuilder api supports both formats now with grace deprecation period for intrinsics. Currently Translator during reverse translation have new format disabled by flag and still supports only old one. Documentation for the migration: https://llvm.org/docs/RemoveDIsDebugInfo.html

asudarsa commented 4 months ago

LGTM. Thanks @bwlodarcz . Please take a look at the build fail. Seems like an easy fix. Thanks