[all-commits] [llvm/llvm-project] 4ce93d: [MLIR][LLVM] Avoid creating invalid DICompositeTyp...
Christian Ulmann via All-commits
all-commits at lists.llvm.org
Tue Oct 31 06:30:46 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4ce93d531d9335e108ca1c3bab9a86f474cda69f
https://github.com/llvm/llvm-project/commit/4ce93d531d9335e108ca1c3bab9a86f474cda69f
Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
Date: 2023-10-31 (Tue, 31 Oct 2023)
Changed paths:
M mlir/lib/Target/LLVMIR/DebugImporter.cpp
M mlir/test/Target/LLVMIR/Import/debug-info.ll
Log Message:
-----------
[MLIR][LLVM] Avoid creating invalid DICompositeTypes in import (#70797)
This commit ensures that the debug info import skips `DICompositeTypes`
that have an array type tag and failed to translate the base type. This
is necessary because array `DICompositeTypes` require a base type to be
valid.
Note that this is currently not verified in LLVM, instead it leads to an
explosion of the `ASMPrinter`.
More information about the All-commits
mailing list