[all-commits] [llvm/llvm-project] c1c9eb: [Transforms] Check validity of profile reader befo...

Yi Kong via All-commits all-commits at lists.llvm.org
Tue May 26 05:12:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c1c9eb0ab7d20e61f0fb345a60694bda0487c0da
      https://github.com/llvm/llvm-project/commit/c1c9eb0ab7d20e61f0fb345a60694bda0487c0da
  Author: Yi Kong <yikong at google.com>
  Date:   2020-05-26 (Tue, 26 May 2020)

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

  Log Message:
  -----------
  [Transforms] Check validity of profile reader before invoking it

Although an invalid sampling profile would fail the compilation anyway,
this avoids crashing the compiler.




More information about the All-commits mailing list