[all-commits] [llvm/llvm-project] 251ef3: [LLD][COFF] Use appropriate symbol table for -incl...

Jacek Caban via All-commits all-commits at lists.llvm.org
Mon Jan 13 14:17:18 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 251ef3f5037d3e89fa457d146fb2521215e13feb
      https://github.com/llvm/llvm-project/commit/251ef3f5037d3e89fa457d146fb2521215e13feb
  Author: Jacek Caban <jacek at codeweavers.com>
  Date:   2025-01-13 (Mon, 13 Jan 2025)

  Changed paths:
    M lld/COFF/Driver.cpp
    M lld/COFF/Driver.h
    M lld/COFF/SymbolTable.cpp
    M lld/COFF/SymbolTable.h
    A lld/test/COFF/arm64x-incl.s

  Log Message:
  -----------
  [LLD][COFF] Use appropriate symbol table for -include argument on ARM64X (#122554)

Move `LinkerDriver::addUndefined` to` SymbolTable` to allow its use with
both symbol tables on ARM64X and rename it to `addGCRoot` to clarify its
distinct role compared to the existing `SymbolTable::addUndefined`.

Command-line `-include` arguments now apply to the EC symbol table, with
`mainSymtab` introduced in `linkerMain`. There will be more similar
cases. For `.drectve` sections, the corresponding symbol table is used
based on the context.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list