[all-commits] [llvm/llvm-project] d1b418: [ELF] Reset two member variables in Ctx::reset

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Sep 11 13:51:15 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1b418f55263ec48d14f220ad020d55f126cfcab
      https://github.com/llvm/llvm-project/commit/d1b418f55263ec48d14f220ad020d55f126cfcab
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-09-11 (Mon, 11 Sep 2023)

  Changed paths:
    M lld/ELF/Driver.cpp

  Log Message:
  -----------
  [ELF] Reset two member variables in Ctx::reset

Otherwise they are dangling if lldMain is called more than once.




More information about the All-commits mailing list