[JITLink] Use Section + Offset format for anon symbols in out-of-range errors.
authorLang Hames <lhames@gmail.com>
Wed, 12 Jan 2022 04:41:11 +0000 (15:41 +1100)
committerLang Hames <lhames@gmail.com>
Wed, 12 Jan 2022 07:03:57 +0000 (18:03 +1100)
commit3fabda51a6d7b099295b8ef297b24b32d6a37ac1
tree4b246cdd2d62478f30e632c0228c797f25582c7d
parent62790f366fbeee4a10ff878f5ae5a7d6ffd86922
[JITLink] Use Section + Offset format for anon symbols in out-of-range errors.

The previous error message only provided the address of the anonymous symbol.
Knowing the containing section makes the error easier to diagnose at a glance.
llvm/lib/ExecutionEngine/JITLink/JITLink.cpp