[all-commits] [llvm/llvm-project] 037104: [ORC] Fix uninitialized variable.

lhames via All-commits all-commits at lists.llvm.org
Sat Sep 25 17:21:26 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0371049277912afc201da721fa659ecef7ab7fba
      https://github.com/llvm/llvm-project/commit/0371049277912afc201da721fa659ecef7ab7fba
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-09-26 (Sun, 26 Sep 2021)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/Shared/SimpleRemoteEPCUtils.cpp

  Log Message:
  -----------
  [ORC] Fix uninitialized variable.

Spotted by Dave Blaikie. Thanks Dave!


  Commit: 320832cc9b7e7fea5fc8afbed75c34c4a43287ba
      https://github.com/llvm/llvm-project/commit/320832cc9b7e7fea5fc8afbed75c34c4a43287ba
  Author: Lang Hames <lhames at gmail.com>
  Date:   2021-09-26 (Sun, 26 Sep 2021)

  Changed paths:
    M llvm/include/llvm/ExecutionEngine/Orc/SimpleRemoteEPC.h
    M llvm/lib/ExecutionEngine/Orc/SimpleRemoteEPC.cpp

  Log Message:
  -----------
  [ORC] Wait for handleDisconnect to complete in SimpleRemoteEPC::disconnect.

Disconnect should block until handleDisconnect completes, otherwise we might
destroy the SimpleRemoteEPC instance while it's still in use.

Thanks to Dave Blaikie for helping me track this down.


Compare: https://github.com/llvm/llvm-project/compare/db6a00daa081...320832cc9b7e


More information about the All-commits mailing list