[all-commits] [llvm/llvm-project] 7ba32b: [llvm-jitlink] Remove unused struct member.

lhames via All-commits all-commits at lists.llvm.org
Thu Dec 16 00:47:06 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7ba32b12de6ded9c8b12fa2946e481d46d1f22f7
      https://github.com/llvm/llvm-project/commit/7ba32b12de6ded9c8b12fa2946e481d46d1f22f7
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M llvm/tools/llvm-jitlink/llvm-jitlink.h

  Log Message:
  -----------
  [llvm-jitlink] Remove unused struct member.


  Commit: 3eeeb6ec933366a1b4d5482f07ddc724001a6079
      https://github.com/llvm/llvm-project/commit/3eeeb6ec933366a1b4d5482f07ddc724001a6079
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp

  Log Message:
  -----------
  [llvm-jitlink] Fix a typo.


  Commit: 02fc8d5c9eb0703bb1863f22c2d27ff7a580f537
      https://github.com/llvm/llvm-project/commit/02fc8d5c9eb0703bb1863f22c2d27ff7a580f537
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-12-16 (Thu, 16 Dec 2021)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/ExecutionUtils.h
    M llvm/lib/ExecutionEngine/Orc/ExecutionUtils.cpp
    M llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
    A llvm/test/ExecutionEngine/JITLink/X86/MachO_archive_load_hidden_expect_failure.s
    A llvm/test/ExecutionEngine/JITLink/X86/MachO_archive_load_hidden_expect_success.s
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.h

  Log Message:
  -----------
  [ORC] Add custom object interface support to StaticLibaryDefinitionGenerator.

This adds a GetObjectFileInterface callback member to
StaticLibraryDefinitionGenerator, and adds an optional argument for initializing
that member to StaticLibraryDefinitionGenerator's named constructors. If not
supplied, it will default to getObjectFileInterface from ObjectFileInterface.h.

To enable testing a `-hidden-l<x>` option is added to the llvm-jitlink tool.
This allows archives to be loaded with all contained symbol visibilities demoted
to hidden.

The ObjectLinkingLayer::setOverrideObjectFlagsWithResponsibilityFlags method is
(belatedly) hooked up, and enabled in llvm-jitlink when `-hidden-l<x>` is used
so that the demotion is also applied at symbol resolution time (avoiding any
"mismatched symbol flags" crashes).


Compare: https://github.com/llvm/llvm-project/compare/fbf6c8ac1589...02fc8d5c9eb0


More information about the All-commits mailing list