[all-commits] [llvm/llvm-project] 1ca6bd: [lld] Clean up in lld::{coff, elf}::link after D70378

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Sep 24 18:03:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ca6bd261e0aebdd73e3af98fb97c444c2a339cd
      https://github.com/llvm/llvm-project/commit/1ca6bd261e0aebdd73e3af98fb97c444c2a339cd
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-09-24 (Thu, 24 Sep 2020)

  Changed paths:
    M lld/COFF/Driver.cpp
    M lld/ELF/Driver.cpp

  Log Message:
  -----------
  [lld] Clean up in lld::{coff,elf}::link after D70378

Library users should not need to call errorHandler().reset() explicitly.

google/iree calls lld::elf::link and without the patch some global
variables are not cleaned up in the next invocation.




More information about the All-commits mailing list