[all-commits] [llvm/llvm-project] 9f9af8: [MLIR][LLVM] Enable export of DISubprograms on fun...
Christian Ulmann via All-commits
all-commits at lists.llvm.org
Sat Jan 13 02:37:04 PST 2024
Branch: refs/heads/users/dinistro/mlir-export-di-subprograms-on-decls
Home: https://github.com/llvm/llvm-project
Commit: 9f9af8f96b9180214938b96969f91dbf8b27154b
https://github.com/llvm/llvm-project/commit/9f9af8f96b9180214938b96969f91dbf8b27154b
Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
Date: 2024-01-13 (Sat, 13 Jan 2024)
Changed paths:
M flang/lib/Optimizer/Transforms/AddDebugFoundation.cpp
M mlir/lib/Dialect/LLVMIR/Transforms/DIScopeForLLVMFuncOp.cpp
M mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
Log Message:
-----------
[MLIR][LLVM] Enable export of DISubprograms on function declarations
This commit changes the MLIR to LLVMIR export to also attach subprogram
debug attachements to function declarations.
This commit addiitonally fixes the two passes that produce subprograms
to not attach the "Definition" flag to function declarations. This
otherwise results in invalid LLVM IR.
More information about the All-commits
mailing list