File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ The following flags bits are in use thusly for a possible ABI.2010.3.16:
63
63
enum {
64
64
// Set to true on blocks that have captures (and thus are not true
65
65
// global blocks) but are known not to escape for various other
66
- // reasons. For backward compatiblity with old runtimes, whenever
66
+ // reasons. For backward compatibility with old runtimes, whenever
67
67
// BLOCK_IS_NOESCAPE is set, BLOCK_IS_GLOBAL is set too. Copying a
68
68
// non-escaping block returns the original block and releasing such a
69
69
// block is a no-op, which is exactly how global blocks are handled.
Original file line number Diff line number Diff line change @@ -2145,7 +2145,7 @@ Checked Arithmetic Builtins
2145
2145
---------------------------
2146
2146
2147
2147
Clang provides a set of builtins that implement checked arithmetic for security
2148
- critical applications in a manner that is fast and easily expressable in C. As
2148
+ critical applications in a manner that is fast and easily expressible in C. As
2149
2149
an example of their usage:
2150
2150
2151
2151
.. code-block :: c
@@ -2538,7 +2538,7 @@ pointers and integers.
2538
2538
These builtins can be used to avoid relying on implementation-defined behavior
2539
2539
of arithmetic on integers derived from pointers.
2540
2540
Additionally, these builtins retain type information and, unlike bitwise
2541
- arithmentic , they can perform semantic checking on the alignment value.
2541
+ arithmetic , they can perform semantic checking on the alignment value.
2542
2542
2543
2543
**Syntax **:
2544
2544
Original file line number Diff line number Diff line change @@ -107,14 +107,14 @@ relies on padding and the ability to map a file over the existing memory
107
107
mapping which is generally only available on POSIX systems and isn't suitable
108
108
for other platforms.
109
109
110
- On Fuchsia, we rely on the the ability to relocate counters at runtime using a
110
+ On Fuchsia, we rely on the ability to relocate counters at runtime using a
111
111
level of indirection. On every counter access, we add a bias to the counter
112
112
address. This bias is stored in ``__llvm_profile_counter_bias `` symbol that's
113
113
provided by the profile runtime and is initially set to zero, meaning no
114
- relocation. The runtime can map the profile into memory at abitrary location ,
114
+ relocation. The runtime can map the profile into memory at arbitrary locations ,
115
115
and set bias to the offset between the original and the new counter location,
116
116
at which point every subsequent counter access will be to the new location,
117
- which allows updating profile directly akin to the continous mode.
117
+ which allows updating profile directly akin to the continuous mode.
118
118
119
119
The advantage of this approach is that doesn't require any special OS support.
120
120
The disadvantage is the extra overhead due to additional instructions required
You can’t perform that action at this time.
0 commit comments