[all-commits] [llvm/llvm-project] 5f1f4a: Prohibit capture of _ExtInt in inline assembly.

Erich Keane via All-commits all-commits at lists.llvm.org
Thu May 14 07:21:37 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f1f4a5d0157c11e0a88d9a273f49c8f866b01ef
      https://github.com/llvm/llvm-project/commit/5f1f4a5d0157c11e0a88d9a273f49c8f866b01ef
  Author: Erich Keane <erich.keane at intel.com>
  Date:   2020-05-14 (Thu, 14 May 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticCommonKinds.td
    M clang/lib/Sema/SemaStmtAsm.cpp
    M clang/test/SemaCXX/ext-int.cpp

  Log Message:
  -----------
  Prohibit capture of _ExtInt in inline assembly.

The backends don't seem to properly handle the _ExtInt type in inline
assembly with crashes occurring in many. While the ones I tested seem to
work for powers of 2 < 64 (and some any multiple of 64 greater than
that), it seemed like a better idea to just use of this type in inline
assembly prohibited.




More information about the All-commits mailing list