[all-commits] [llvm/llvm-project] 3b0a9e: [profile] Move assertIsZero to InstrProfilingUtil.c
Vedant Kumar via All-commits
all-commits at lists.llvm.org
Mon Aug 2 15:25:30 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3b0a9e7b392a916d961c5a8c09b570e4656267d5
https://github.com/llvm/llvm-project/commit/3b0a9e7b392a916d961c5a8c09b570e4656267d5
Author: Vedant Kumar <vsk at apple.com>
Date: 2021-08-02 (Mon, 02 Aug 2021)
Changed paths:
M compiler-rt/lib/profile/InstrProfilingFile.c
M compiler-rt/lib/profile/InstrProfilingUtil.c
M compiler-rt/lib/profile/InstrProfilingUtil.h
Log Message:
-----------
[profile] Move assertIsZero to InstrProfilingUtil.c
... and rename it to 'warnIfNonZero' to better-reflect what it actually
does.
The goal is to minimize the amount of logic that's conditionally
compiled under '#if __APPLE__'.
More information about the All-commits
mailing list