[all-commits] [llvm/llvm-project] 5da7f3: [AIX][Clang][K] Create `-K` Option for AIX.
Michael Francis via All-commits
all-commits at lists.llvm.org
Mon May 8 15:54:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5da7f30f24c4620c4f4425206fbdd0921d333dc0
https://github.com/llvm/llvm-project/commit/5da7f30f24c4620c4f4425206fbdd0921d333dc0
Author: Michael Francis <michaelfrancis at ibm.com>
Date: 2023-05-08 (Mon, 08 May 2023)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/test/Driver/aix-ld.c
A clang/test/Driver/unsupported-target-K.c
Log Message:
-----------
[AIX][Clang][K] Create `-K` Option for AIX.
`-K` is a linker option on AIX, that is used to align the header, text, data, and loader sections of the output file so that each section begins on a page boundary.
This patch creates the `-K` option in clang. On non-AIX targets, the "unsupported option" error is thrown.
Differential Revision: https://reviews.llvm.org/D146399
More information about the All-commits
mailing list