Skip to content
Snippets Groups Projects
Commit 1e73c55e authored by Yunzhong Gao's avatar Yunzhong Gao
Browse files

Fix a typo in the clang user manual.

-fmax-unknown-pointer-align => -fmax-type-align


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@255200 91177308-0d34-0410-b5e6-96231b3b80d8
parent e33dcc8f
No related branches found
No related tags found
No related merge requests found
...@@ -1108,7 +1108,7 @@ are listed below. ...@@ -1108,7 +1108,7 @@ are listed below.
This option restricts the generated code to use general registers This option restricts the generated code to use general registers
only. This only applies to the AArch64 architecture. only. This only applies to the AArch64 architecture.
**-f[no-]max-unknown-pointer-align=[number]** **-f[no-]max-type-align=[number]**
Instruct the code generator to not enforce a higher alignment than the given Instruct the code generator to not enforce a higher alignment than the given
number (of bytes) when accessing memory via an opaque pointer or reference. number (of bytes) when accessing memory via an opaque pointer or reference.
This cap is ignored when directly accessing a variable or when the pointee This cap is ignored when directly accessing a variable or when the pointee
...@@ -1136,7 +1136,7 @@ are listed below. ...@@ -1136,7 +1136,7 @@ are listed below.
void initialize_vector(__aligned_v16si *v) { void initialize_vector(__aligned_v16si *v) {
// The compiler may assume that ‘v’ is 64-byte aligned, regardless of the // The compiler may assume that ‘v’ is 64-byte aligned, regardless of the
// value of -fmax-unknown-pointer-align. // value of -fmax-type-align.
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment