[JITLink] Working memory shouldn't be subject to alignment constraints.
authorLang Hames <lhames@gmail.com>
Wed, 8 Sep 2021 12:30:08 +0000 (22:30 +1000)
committerLang Hames <lhames@gmail.com>
Sat, 11 Sep 2021 01:26:38 +0000 (11:26 +1000)
commit6c56b13331b4fa646ad5a46d36aa81557dfee007
treeb5acac0dae92640c1e321f829a33a56ddc828bbb
parent3828ab086a7cb0309ec8bd706535239cea2b815f
[JITLink] Working memory shouldn't be subject to alignment constraints.

Refactors copyBlockContentToWorkingMemory to use offsets rather than direct
pointers to working memory. This simplifies the problem of maintaining
alignments between blocks in working memory, without requiring the working
memory itself to be aligned.
llvm/lib/ExecutionEngine/JITLink/JITLinkGeneric.cpp