[JITLink] Add assertions, fix a comment.
authorLang Hames <lhames@gmail.com>
Wed, 24 Feb 2021 08:17:35 +0000 (19:17 +1100)
committerLang Hames <lhames@gmail.com>
Wed, 24 Feb 2021 10:02:37 +0000 (21:02 +1100)
commit8380d07e398e5f7d6edd877d293a2e28db058d8c
tree265f0d4cc81e948001349c1d522f120516dd0a5b
parentd637235ceed7517287c8b4a724ef58a4681b8ed3
[JITLink] Add assertions, fix a comment.

The new assertions check that Addressables removed when removing
external or absolute symbols are not referenced by another symbol.

A comment on post-fixup passes is updated: vmaddrs have all been
set up by the time the pre-fixup passes are run, post-fixup passes
run after fixups have been applied to content.
llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h