[llvm-commits] [PATCH]lto/addAsmGlobalSymbols: fail fracefully when the target does not define AsmParser

Eli Friedman eli.friedman at gmail.com
Wed Sep 7 17:51:39 PDT 2011


On Wed, Sep 7, 2011 at 5:42 PM, Ivan Krasin <krasin at chromium.org> wrote:
> Hi llvm team,
>
> this patch makes LTO fail gracefully if the target does not define
> AsmParser instead of aborting on null pointer.
>
> Please, find the patch attached or online:
> http://codereview.chromium.org/7847007/
>
> OK to commit?

What exactly does the error output look like with this patch?  I'm
guessing it isn't that informative if you aren't setting errMsg...

-Eli



More information about the llvm-commits mailing list