[all-commits] [llvm/llvm-project] dde162: [CSSPGO] Fix an access violation due to invalided ...

Hongtao Yu via All-commits all-commits at lists.llvm.org
Wed Sep 1 10:24:33 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dde162d8a593973d2bf97d2dac962350a5896011
      https://github.com/llvm/llvm-project/commit/dde162d8a593973d2bf97d2dac962350a5896011
  Author: Hongtao Yu <hoy at fb.com>
  Date:   2021-09-01 (Wed, 01 Sep 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/SampleContextTracker.cpp

  Log Message:
  -----------
  [CSSPGO] Fix an access violation due to invalided std::vector pointer invalidation.

std::vector pointers can be invalided while growing. Using std::list instead.




More information about the All-commits mailing list