[all-commits] [llvm/llvm-project] 7071a2: [ELF] Rename LazyObject to LazySymbol. NFC

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jan 19 16:16:04 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7071a25d122e72fbb71cc2c34a0ec654035e75f4
      https://github.com/llvm/llvm-project/commit/7071a25d122e72fbb71cc2c34a0ec654035e75f4
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-01-19 (Fri, 19 Jan 2024)

  Changed paths:
    M lld/ELF/InputFiles.cpp
    M lld/ELF/Symbols.cpp
    M lld/ELF/Symbols.h

  Log Message:
  -----------
  [ELF] Rename LazyObject to LazySymbol. NFC

LazySymbol (used by wasm port) is a more accurate name (the struct is
not about an object). However, the ELF port calls this LazyObject likely
because we used to have LazyArchive (removed by
https://reviews.llvm.org/D119074), and LazyObject has a similar naming
convention (LazyObjectSymbol would be better, but it is too long).

Reviewers: dschuff

Pull Request: https://github.com/llvm/llvm-project/pull/78809




More information about the All-commits mailing list