[all-commits] [llvm/llvm-project] d49aaa: [memprof] Fix UB.

Florian Mayer via All-commits all-commits at lists.llvm.org
Fri Feb 11 13:01:31 PST 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d49aaaf44f508c8731672dcacaa62dd947acd414
  Author: Florian Mayer <fmayer at google.com>
  Date:   2022-02-11 (Fri, 11 Feb 2022)

  Changed paths:
    M compiler-rt/lib/asan/asan_rtl.cpp
    M compiler-rt/lib/memprof/memprof_rtl.cpp

  Log Message:
  [memprof] Fix UB.

An infinite loop without any effects is illegal C++ and can be optimized
away by the compiler.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D119575

More information about the All-commits mailing list