diff options
author | Lang Hames <lhames@gmail.com> | 2021-08-19 21:30:29 +1000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2021-08-20 15:12:19 +1000 |
commit | 642885710e20acf3cc0d815009e62b8a39693bc0 (patch) | |
tree | 8a0f0598f6f0391c0e77b75749490eb8dcb971ca /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 1cd3d19271458186c9e420a6c5584c2e74cc7ec5 (diff) | |
download | llvm-642885710e20acf3cc0d815009e62b8a39693bc0.zip llvm-642885710e20acf3cc0d815009e62b8a39693bc0.tar.gz llvm-642885710e20acf3cc0d815009e62b8a39693bc0.tar.bz2 |
[ORC] Introduce lookupAndRecordAddrs utility.
Accepts a vector of (SymbolStringPtr, ExecutorAddress*) pairs, looks up all the
symbols, then writes their address to each of the corresponding
ExecutorAddresses.
This idiom (looking up and recording addresses into a specific set of variables)
is used in MachOPlatform and the (temporarily reverted) ELFNixPlatform, and is
likely to be used in other places in the near future, so wrapping it in a
utility function should save us some boilerplate.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions