aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
diff options
context:
space:
mode:
authorTobias Gysi <tobias.gysi@nextsilicon.com>2023-01-10 17:13:33 +0100
committerTobias Gysi <tobias.gysi@nextsilicon.com>2023-01-10 17:14:04 +0100
commit3589885d82b6a835a783304111400ec3bb167a6b (patch)
tree84329fbabfa02391dd662727268f02850c1c219f /llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
parentdbee2030a5651d76b543f2b3275489c3e049df05 (diff)
downloadllvm-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