Reapplies the original commit:2f01fd99ebThe previous application of this patch failed due to some missing DbgVariableRecord support in clang, which has been added now by commit8805465e. This will probably break some downstream tools that don't already handle debug records. If your downstream code breaks as a result of this change, the simplest fix is to convert the module in question to the old debug format before you process it, using `Module::convertFromNewDbgValues()`. For more information about how to handle debug records or about what has changed, see the migration document: https://llvm.org/docs/RemoveDIsDebugInfo.html This reverts commit4fd319ae27.
308 KiB
308 KiB