[PATCH] D27082: [LTO] Reject modules without datalayout

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 28 16:17:31 PST 2016


mehdi_amini added a comment.

We usually avoid report_fatal_error in libraries.
We should be able to catch this early in the `LTO::add(...)` method and return an error.


https://reviews.llvm.org/D27082





More information about the llvm-commits mailing list