[all-commits] [llvm/llvm-project] 736b63: [JITLink][COFF] Implement IMAGE_WEAK_EXTERN_SEARCH...

Sunho Kim via All-commits all-commits at lists.llvm.org
Mon Jul 25 20:49:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 736b6311e136c854b753648bafb60914393d41de
      https://github.com/llvm/llvm-project/commit/736b6311e136c854b753648bafb60914393d41de
  Author: Sunho Kim <ksunhokim123 at gmail.com>
  Date:   2022-07-26 (Tue, 26 Jul 2022)

  Changed paths:
    M llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.cpp
    M llvm/lib/ExecutionEngine/JITLink/COFFLinkGraphBuilder.h
    A llvm/test/ExecutionEngine/JITLink/X86/COFF_nolibrary_search.s
    A llvm/test/ExecutionEngine/JITLink/X86/Inputs/COFF_weak_nolibrary_serach_def.yaml

  Log Message:
  -----------
  [JITLink][COFF] Implement IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY/LIBRARY.

Implement IMAGE_WEAK_EXTERN_SEARCH_NOLIBRARY/LIBRARY characteristics flag.

Since COFFObjectFile class will set undefined flag for symbols with no alias flag, ORC ObjectFileInterface will not pull in this symbol. So, we only need to make sure the scope is local. NOLIBRARY and LIBRARY are handled in the same way for now. (which is what lld does right now)

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D129939




More information about the All-commits mailing list