[all-commits] [llvm/llvm-project] d9391a: [mlir][llvm] Stop exporting empty debug MD strings
Christian Ulmann via All-commits
all-commits at lists.llvm.org
Mon Feb 27 00:53:37 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d9391a37a9f8eb222a951606e0ca5d6a5b6b2199
https://github.com/llvm/llvm-project/commit/d9391a37a9f8eb222a951606e0ca5d6a5b6b2199
Author: Christian Ulmann <christian.ulmann at nextsilicon.com>
Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths:
M mlir/include/mlir/Dialect/LLVMIR/LLVMAttrDefs.td
M mlir/lib/Target/LLVMIR/DebugImporter.cpp
M mlir/lib/Target/LLVMIR/DebugImporter.h
M mlir/lib/Target/LLVMIR/DebugTranslation.cpp
M mlir/lib/Target/LLVMIR/DebugTranslation.h
M mlir/test/Target/LLVMIR/Import/debug-info.ll
M mlir/test/Target/LLVMIR/llvmir-debug.mlir
Log Message:
-----------
[mlir][llvm] Stop exporting empty debug MD strings
This commit ensures that no empty debug metadata strings are exported as
these are not legal names. Additionally, this commit ensures that
non-existing strings are not accidentially imported as empty strings.
Reviewed By: gysit
Differential Revision: https://reviews.llvm.org/D144263
More information about the All-commits
mailing list