[JITLink] Fix think-o in handwritten CWrapperFunctionResult -> Error converter.
authorLang Hames <lhames@gmail.com>
Fri, 12 Nov 2021 16:46:03 +0000 (08:46 -0800)
committerLang Hames <lhames@gmail.com>
Fri, 12 Nov 2021 18:36:17 +0000 (10:36 -0800)
commit9d5e6474281cd4d774ede800eb339e1dc610e471
tree410bb5e228067fcba17d7824202910e9f0bc056d
parentf453e23e67e260b375ea222dab2483c1663aa5c9
[JITLink] Fix think-o in handwritten CWrapperFunctionResult -> Error converter.

We need to skip the length field when generating error strings.

No test case: This hand-hacked deserializer should be removed in the near future
once JITLink can use generic ORC APIs (including SPS and WrapperFunction).
llvm/lib/ExecutionEngine/JITLink/JITLinkMemoryManager.cpp