[all-commits] [llvm/llvm-project] 2e09ea: [clang] Ensure minimal alignment of global vars of...
Jonas Paulsson via All-commits
all-commits at lists.llvm.org
Wed Nov 22 02:24:59 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2e09ea65c4f9e458ffb31fe63d84a4991704f9e6
https://github.com/llvm/llvm-project/commit/2e09ea65c4f9e458ffb31fe63d84a4991704f9e6
Author: Jonas Paulsson <151035182+JonPsson1 at users.noreply.github.com>
Date: 2023-11-22 (Wed, 22 Nov 2023)
Changed paths:
M clang/lib/AST/ASTContext.cpp
A clang/test/Driver/systemz-alignment.c
Log Message:
-----------
[clang] Ensure minimal alignment of global vars of incomplete type. (#72886)
The SystemZ ABI requires any global variable to be aligned to at least 2
bytes, and therefore an external global Value with an opaque type should
get this alignment as well.
More information about the All-commits
mailing list