[all-commits] [llvm/llvm-project] e0fc85: [JITLink] Fix LinkGraph::makeAbsolute, add unit test.

lhames via All-commits all-commits at lists.llvm.org
Sat Aug 20 13:45:01 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0fc85e092199e9520f42b97663bd773d4a8b6bf
      https://github.com/llvm/llvm-project/commit/e0fc85e092199e9520f42b97663bd773d4a8b6bf
  Author: Lang Hames <lhames at gmail.com>
  Date:   2022-08-20 (Sat, 20 Aug 2022)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/JITLink/JITLink.h
    M llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp

  Log Message:
  -----------
  [JITLink] Fix LinkGraph::makeAbsolute, add unit test.

makeAbsolute was not updating the symbol address when applied to external
symbols.

This commit adds a unit test for makeAbsolute, and updates the makeExternal unit
test to check that makeExternal works correctly for absolute symbols.




More information about the All-commits mailing list