[all-commits] [llvm/llvm-project] 45c0de: [LLD] [COFF] Zero-intialization & proper construct...

Vikash Gupta via All-commits all-commits at lists.llvm.org
Mon Jul 22 03:12:36 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 45c0decdda5eee6b4d13d4bf241a45c56e412c05
      https://github.com/llvm/llvm-project/commit/45c0decdda5eee6b4d13d4bf241a45c56e412c05
  Author: Vikash Gupta <Vikash.Gupta at amd.com>
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
    M lld/COFF/Symbols.h

  Log Message:
  -----------
  [LLD] [COFF] Zero-intialization & proper constructor invocation in COFF's Symbol (#98447)

It happened due to lld's COFF linker multiple regression tests failure.
It got reliably reproduced after the needed intialization of
isUsedinRegularObject bit in the Symbol's ctor, but not handled at
replaceSymbol API properly while creating a specific symbol to insert in
symbol table.

So, now while creating the specific symbol using replaceSymbol, by
explicitly setting the value of isUsedinRegularObject to newly created
symbol around the ctor call of symbol would solve the regression failure



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