[llvm-commits] [PATCH] Allow the linker to link in functions that have not been materialized.
Eli Friedman
eli.friedman at gmail.com
Mon Oct 10 17:48:59 PDT 2011
On Mon, Oct 10, 2011 at 5:42 PM, Tanya Lattner <lattner at apple.com> wrote:
> This change allows the functions in the source module to be materialized during the linking process.
>
> If you have comments, please let me know.
+ // Skip if no body (function is external) or materialize.
+ if (SF->isDeclaration()) {
+ if (SF->isMaterializable()) {
+ if (!SF->Materialize(&ErrorMsg))
+ continue;
Shouldn't that be "return true;"?
-Eli
More information about the llvm-commits
mailing list