[profile] Fix variable name
authorPetr Hosek <phosek@google.com>
Sat, 19 Jun 2021 21:55:32 +0000 (14:55 -0700)
committerPetr Hosek <phosek@google.com>
Sat, 19 Jun 2021 21:55:32 +0000 (14:55 -0700)
This fixes a bug introduced in d85c258fd1e7459cc8085b5f364e356f50b490a4.

compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c

index 0e62861..8bd5e96 100644 (file)
@@ -134,7 +134,7 @@ void __llvm_profile_initialize(void) {
   uint64_t CountersSize = CountersEnd - CountersBegin;
 
   /* Don't publish a VMO if there are no counters. */
-  if (!CounterSize)
+  if (!CountersSize)
     return;
 
   zx_status_t Status;