[ORC] In MaterializationResponsibility, only maintain the Materializing flag on
authorLang Hames <lhames@gmail.com>
Sun, 17 Jun 2018 16:59:52 +0000 (16:59 +0000)
committerLang Hames <lhames@gmail.com>
Sun, 17 Jun 2018 16:59:52 +0000 (16:59 +0000)
commit11adecfb2ca7f97551aaa0df32507bf7c432ba18
treed46244bbc5deec810c1ed1fbe7775e97055d74bd
parentb0e986f88e4db23f1e2613b9e80e496e689596d7
[ORC] In MaterializationResponsibility, only maintain the Materializing flag on
symbols in debug mode.

The MaterializationResponsibility class hijacks the Materializing flag to track
symbols that have not yet been resolved in order to guard against redundant
resolution. Since this is an API contract check and only enforced in debug mode
there is no reason to maintain the flag state in release mode.

llvm-svn: 334909
llvm/lib/ExecutionEngine/Orc/Core.cpp