[PATCH] D66311: [GWP-ASan] Fix typos.

Mitch Phillips via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 13:17:46 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL369433: [GWP-ASan] Fix typos. (authored by hctim, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D66311?vs=215471&id=216226#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66311/new/

https://reviews.llvm.org/D66311

Files:
  compiler-rt/trunk/lib/gwp_asan/guarded_pool_allocator.cpp


Index: compiler-rt/trunk/lib/gwp_asan/guarded_pool_allocator.cpp
===================================================================
--- compiler-rt/trunk/lib/gwp_asan/guarded_pool_allocator.cpp
+++ compiler-rt/trunk/lib/gwp_asan/guarded_pool_allocator.cpp
@@ -13,7 +13,7 @@
 // RHEL creates the PRIu64 format macro (for printing uint64_t's) only when this
 // macro is defined before including <inttypes.h>.
 #ifndef __STDC_FORMAT_MACROS
-  #define __STDC_FORMAT_MACROS 1
+#define __STDC_FORMAT_MACROS 1
 #endif
 
 #include <assert.h>
@@ -173,7 +173,7 @@
 
   // Ensure that signal handlers are installed as late as possible, as the class
   // is not thread-safe until init() is finished, and thus a SIGSEGV may cause a
-  // race to members if recieved during init().
+  // race to members if received during init().
   if (Opts.InstallSignalHandlers)
     installSignalHandlers();
 }
@@ -385,7 +385,7 @@
   case Error::UNKNOWN:
     ErrorString = "GWP-ASan couldn't automatically determine the source of "
                   "the memory error. It was likely caused by a wild memory "
-                  "access into the GWP-ASan pool. The error occured";
+                  "access into the GWP-ASan pool. The error occurred";
     break;
   case Error::USE_AFTER_FREE:
     ErrorString = "Use after free";


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66311.216226.patch
Type: text/x-patch
Size: 1311 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190820/f3dc9c1a/attachment.bin>


More information about the llvm-commits mailing list