[all-commits] [llvm/llvm-project] fe177a: Fix assertion when passing function into inline as...

Jason Liu via All-commits all-commits at lists.llvm.org
Fri Aug 27 10:40:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe177a1773e4f88dde1aa37d34a0d3f8cb582f14
      https://github.com/llvm/llvm-project/commit/fe177a1773e4f88dde1aa37d34a0d3f8cb582f14
  Author: Jason Liu <jasonliu.development at gmail.com>
  Date:   2021-08-27 (Fri, 27 Aug 2021)

  Changed paths:
    M clang/lib/Sema/SemaStmtAsm.cpp
    A clang/test/CodeGen/asm-call-func.c

  Log Message:
  -----------
  Fix assertion when passing function into inline asm's input operand

This seem to be a regression caused by this change:
https://reviews.llvm.org/D60943.
Since we delayed report the error, we would run into some invalid
state in clang and llvm.

Without this fix, clang would assert when passing function into
inline asm's input operand.

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




More information about the All-commits mailing list