[clang] d0b4b6b - [Driver] Correct comment on default for -falign-functions (#101257)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 31 11:15:35 PDT 2024
Author: Paul T Robinson
Date: 2024-07-31T14:15:30-04:00
New Revision: d0b4b6b12dea662a9316e2f83277288be37be666
URL: https://github.com/llvm/llvm-project/commit/d0b4b6b12dea662a9316e2f83277288be37be666
DIFF: https://github.com/llvm/llvm-project/commit/d0b4b6b12dea662a9316e2f83277288be37be666.diff
LOG: [Driver] Correct comment on default for -falign-functions (#101257)
Added:
Modified:
clang/lib/Driver/ToolChains/CommonArgs.cpp
Removed:
################################################################################
diff --git a/clang/lib/Driver/ToolChains/CommonArgs.cpp b/clang/lib/Driver/ToolChains/CommonArgs.cpp
index 1e37d9d348818..3d0714286139d 100644
--- a/clang/lib/Driver/ToolChains/CommonArgs.cpp
+++ b/clang/lib/Driver/ToolChains/CommonArgs.cpp
@@ -1957,8 +1957,8 @@ tools::ParsePICArgs(const ToolChain &ToolChain, const ArgList &Args) {
return std::make_tuple(RelocM, 0U, false);
}
-// `-falign-functions` indicates that the functions should be aligned to a
-// 16-byte boundary.
+// `-falign-functions` indicates that the functions should be aligned to the
+// backend's preferred alignment.
//
// `-falign-functions=1` is the same as `-fno-align-functions`.
//
More information about the cfe-commits
mailing list