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

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


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ac6bb3c4dd48f9135ccae0425b1d04f85b460cc
      https://github.com/llvm/llvm-project/commit/1ac6bb3c4dd48f9135ccae0425b1d04f85b460cc
  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

(cherry picked from commit 3a604fdbcd5fd9ca41f6659692bb4ad2151c3cf4)




More information about the All-commits mailing list