[all-commits] [llvm/llvm-project] 35737d: [Clang][AArch64][ARM] Unaligned Access Warning Added

Mubashar-dot via All-commits all-commits at lists.llvm.org
Thu Jan 20 06:13:37 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35737df4dcd28534bd3090157c224c19b501278a
      https://github.com/llvm/llvm-project/commit/35737df4dcd28534bd3090157c224c19b501278a
  Author: Mubashar Ahmad <mubashar.ahmad at arm.com>
  Date:   2022-01-20 (Thu, 20 Jan 2022)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticASTKinds.td
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/lib/AST/RecordLayoutBuilder.cpp
    M clang/lib/Driver/ToolChains/Arch/AArch64.cpp
    M clang/lib/Driver/ToolChains/Arch/AArch64.h
    M clang/lib/Driver/ToolChains/Arch/ARM.cpp
    M clang/lib/Driver/ToolChains/Clang.cpp
    A clang/test/Sema/test-wunaligned-access.c
    A clang/test/Sema/test-wunaligned-access.cpp

  Log Message:
  -----------
  [Clang][AArch64][ARM] Unaligned Access Warning Added

Added warning for potential cases of
unaligned access when option
-mno-unaligned-access has been specified

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




More information about the All-commits mailing list