[PATCH] D25365: [ELF] - Do not crash on invalid local symbol.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 05:55:05 PDT 2016


>I am building a debug version to take a look, but how is this case
>different from a local absolute? I.E., what code path prevents us from
>crashing on those?
>
>Cheers,
>Rafael

Absolute symbols does not have empty names I think, so:

 if (!SymName.startswith(".L") && !SymName.empty())
    return true;

George.


More information about the llvm-commits mailing list