[llvm-jitlink] Don't show FailedToMaterialize errors by default.
This patch makes printing of FailedToMaterialize errors in llvm-jitlink conditional on the -show-err-failed-to-materialize option, which defaults to false. FailedToMaterialize errors are not root-cause errors: they're generated when a symbol is requested but cannot be provided because of a failure that was reported on some other error path. They typically don't convey actionable information, and tend to flood error logs making root cause errors harder to spot. Hiding FailedToMaterialize errors by default addresses these issues.
Loading
Please sign in to comment