When a target does not support pragma detect_mismatch, an llvm.linker.options
metadata with an empty entry is created, which causes diagnostic in backend
since backend expects name/value pair in llvm.linker.options entries.
This patch fixes that.
Differential D69678
[CodeGen] Fix invalid llvm.linker.options about pragma detect_mismatch yaxunl on Oct 31 2019, 12:54 PM. Authored by
Details When a target does not support pragma detect_mismatch, an llvm.linker.options This patch fixes that.
Diff Detail |