[llvm] r352439 - [docs] Fix a couple spelling errors.
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 28 15:03:42 PST 2019
Author: efriedma
Date: Mon Jan 28 15:03:41 2019
New Revision: 352439
URL: http://llvm.org/viewvc/llvm-project?rev=352439&view=rev
Log:
[docs] Fix a couple spelling errors.
Modified:
llvm/trunk/docs/LangRef.rst
llvm/trunk/docs/SpeculativeLoadHardening.md
Modified: llvm/trunk/docs/LangRef.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.rst?rev=352439&r1=352438&r2=352439&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.rst (original)
+++ llvm/trunk/docs/LangRef.rst Mon Jan 28 15:03:41 2019
@@ -2184,7 +2184,7 @@ operations relative to non-volatile oper
A volatile load or store may have additional target-specific semantics.
Any volatile operation can have side effects, and any volatile operation
can read and/or modify state which is not accessible via a regular load
-or store in this module. Volatile operations may use adresses which do
+or store in this module. Volatile operations may use addresses which do
not point to memory (like MMIO registers). This means the compiler may
not use a volatile operation to prove a non-volatile access to that
address has defined behavior.
Modified: llvm/trunk/docs/SpeculativeLoadHardening.md
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/SpeculativeLoadHardening.md?rev=352439&r1=352438&r2=352439&view=diff
==============================================================================
--- llvm/trunk/docs/SpeculativeLoadHardening.md (original)
+++ llvm/trunk/docs/SpeculativeLoadHardening.md Mon Jan 28 15:03:41 2019
@@ -255,7 +255,7 @@ if (untrusted_size_from_caller < sizeof(
memcpy(local_buffer, untrusted_data_from_caller,
untrusted_size_from_caller);
// The stack has now been smashed, writing an attacker-controlled
- // address over the return adress.
+ // address over the return address.
minor_processing(local_buffer);
return;
// Control will speculate to the attacker-written address.
More information about the llvm-commits
mailing list