[all-commits] [llvm/llvm-project] 3f608a: [hwasan] Replace &LI with *LI, to fix build breakage

Thurston Dang via All-commits all-commits at lists.llvm.org
Thu Sep 28 12:36:52 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f608ab710e256a1d2f7220a81c2717d0389b1d4
      https://github.com/llvm/llvm-project/commit/3f608ab710e256a1d2f7220a81c2717d0389b1d4
  Author: Thurston Dang <thurston at google.com>
  Date:   2023-09-28 (Thu, 28 Sep 2023)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

  Log Message:
  -----------
  [hwasan] Replace &LI with *LI, to fix build breakage

My patch (https://github.com/llvm/llvm-project/commit/b3b6edefdb7ae77e4b2344c9a64fd1d486c91405) broke the build
(https://lab.llvm.org/buildbot/#/builders/5/builds/37053) because it incorrectly assumed LoopInfo could not be null
and used a reference. This fixes forward by replacing &LI with *LI.




More information about the All-commits mailing list