diff options
author | Tobias Gysi <tobias.gysi@nextsilicon.com> | 2023-01-10 17:13:33 +0100 |
---|---|---|
committer | Tobias Gysi <tobias.gysi@nextsilicon.com> | 2023-01-10 17:14:04 +0100 |
commit | 3589885d82b6a835a783304111400ec3bb167a6b (patch) | |
tree | 84329fbabfa02391dd662727268f02850c1c219f /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp | |
parent | dbee2030a5651d76b543f2b3275489c3e049df05 (diff) | |
download | llvm-3589885d82b6a835a783304111400ec3bb167a6b.zip llvm-3589885d82b6a835a783304111400ec3bb167a6b.tar.gz llvm-3589885d82b6a835a783304111400ec3bb167a6b.tar.bz2 |
[mlir][llvm] Improve error messages during LLVM IR import.
Use the module location instead of unknown location if the imported
LLVM IR module does not have more precise debug information.
Additionally, use the diagMD function to print the metadata instead
of just the metadata kind if the import fails.
Reviewed By: definelicht
Differential Revision: https://reviews.llvm.org/D141357
Diffstat (limited to 'llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions