[compiler-rt] d4c2b97 - [profile] Fix variable name
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 19 14:56:12 PDT 2021
Author: Petr Hosek
Date: 2021-06-19T14:55:32-07:00
New Revision: d4c2b973ed229a4bf3af04c34d5f19a363d55667
URL: https://github.com/llvm/llvm-project/commit/d4c2b973ed229a4bf3af04c34d5f19a363d55667
DIFF: https://github.com/llvm/llvm-project/commit/d4c2b973ed229a4bf3af04c34d5f19a363d55667.diff
LOG: [profile] Fix variable name
This fixes a bug introduced in d85c258fd1e7459cc8085b5f364e356f50b490a4.
Added:
Modified:
compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c
Removed:
################################################################################
diff --git a/compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c b/compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c
index 0e62861d1b92..8bd5e969aa50 100644
--- a/compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c
+++ b/compiler-rt/lib/profile/InstrProfilingPlatformFuchsia.c
@@ -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;
More information about the llvm-commits
mailing list