[all-commits] [llvm/llvm-project] 3a604f: [Clang][CFG] check children statements of asm goto

Nick Desaulniers via All-commits all-commits at lists.llvm.org
Fri Jan 7 14:20:43 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3a604fdbcd5fd9ca41f6659692bb4ad2151c3cf4
      https://github.com/llvm/llvm-project/commit/3a604fdbcd5fd9ca41f6659692bb4ad2151c3cf4
  Author: Nick Desaulniers <ndesaulniers at google.com>
  Date:   2022-01-07 (Fri, 07 Jan 2022)

  Changed paths:
    M clang/lib/Analysis/CFG.cpp
    M clang/lib/Analysis/UninitializedValues.cpp
    M clang/test/Analysis/asm-goto.cpp
    M clang/test/Analysis/uninit-asm-goto.cpp
    M clang/test/Sema/array-bounds-ptr-arith.c

  Log Message:
  -----------
  [Clang][CFG] check children statements of asm goto

When performing CFG based analyses, don't forget to check the child
statements of an asm goto, such as the expressions used for
inputs+outputs.

Fixes: https://github.com/llvm/llvm-project/issues/51024
Fixes: https://github.com/ClangBuiltLinux/linux/issues/1439

Reviewed By: void, jyknight, jyu2, efriedma

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




More information about the All-commits mailing list