[all-commits] [llvm/llvm-project] 6d90c5: [JITLink] Don't initialize local ArrayRefs with in...

lhames via All-commits all-commits at lists.llvm.org
Sat Feb 11 17:15:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d90c590b7f5a215d4c73a298336ddf005f65ce3
      https://github.com/llvm/llvm-project/commit/6d90c590b7f5a215d4c73a298336ddf005f65ce3
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-02-11 (Sat, 11 Feb 2023)

  Changed paths:
    M llvm/unittests/ExecutionEngine/JITLink/LinkGraphTests.cpp

  Log Message:
  -----------
  [JITLink] Don't initialize local ArrayRefs with initializer lists.

This can lead to use-after-free errors (see e.g.
https://lab.llvm.org/buildbot/#/builders/168/builds/11848).




More information about the All-commits mailing list