This is an archive of the discontinued LLVM Phabricator instance.

Avoid JIT recursive compilation
AbandonedPublic

Authored by yaron.keren on Jun 22 2014, 2:41 AM.

Details

Reviewers
None
Summary

JITEmitter::getPointerToGlobal is called while in compilation, it should not call upon TheJIT->getPointerToGlobal since it may start another recursive compilation. Instead, it should call itself and generate a stub.

Diff Detail

Event Timeline

yaron.keren retitled this revision from to Avoid JIT recursive compilation.
yaron.keren updated this object.
yaron.keren edited the test plan for this revision. (Show Details)
yaron.keren added a subscriber: Unknown Object (MLST).

Recursion not needed, just get the aliasee and continue.

Calling getSimpleAliasee twice is not needed either.

yaron.keren abandoned this revision.Sep 9 2014, 11:12 AM

JIT gone.