[PATCH] D47212: [profile] Rename InstrProfilingPlatform(Linux|Darwin)
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 22 11:54:47 PDT 2018
phosek created this revision.
phosek added reviewers: vsk, davidxl.
Herald added subscribers: Sanitizers, llvm-commits, mgorny.
Rename InstrProfilingPlatform(Linux|Darwin) to
InstrProfilingPlatform(ELF|MachO) since these files are more
specific to linker and file format than OS.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D47212
Files:
compiler-rt/lib/profile/CMakeLists.txt
compiler-rt/lib/profile/InstrProfilingPlatformDarwin.c
compiler-rt/lib/profile/InstrProfilingPlatformELF.c
compiler-rt/lib/profile/InstrProfilingPlatformLinux.c
compiler-rt/lib/profile/InstrProfilingPlatformMachO.c
Index: compiler-rt/lib/profile/InstrProfilingPlatformMachO.c
===================================================================
--- compiler-rt/lib/profile/InstrProfilingPlatformMachO.c
+++ compiler-rt/lib/profile/InstrProfilingPlatformMachO.c
@@ -1,4 +1,4 @@
-/*===- InstrProfilingPlatformDarwin.c - Profile data on Darwin ------------===*\
+/*===- InstrProfilingPlatformMachO.c - Profile data for MachO platform ----===*\
|*
|* The LLVM Compiler Infrastructure
|*
Index: compiler-rt/lib/profile/InstrProfilingPlatformELF.c
===================================================================
--- compiler-rt/lib/profile/InstrProfilingPlatformELF.c
+++ compiler-rt/lib/profile/InstrProfilingPlatformELF.c
@@ -1,4 +1,4 @@
-/*===- InstrProfilingPlatformLinux.c - Profile data Linux platform ------===*\
+/*===- InstrProfilingPlatformELF.c - Profile data for ELF platform --------===*\
|*
|* The LLVM Compiler Infrastructure
|*
Index: compiler-rt/lib/profile/CMakeLists.txt
===================================================================
--- compiler-rt/lib/profile/CMakeLists.txt
+++ compiler-rt/lib/profile/CMakeLists.txt
@@ -58,8 +58,8 @@
InstrProfilingMergeFile.c
InstrProfilingNameVar.c
InstrProfilingWriter.c
- InstrProfilingPlatformDarwin.c
- InstrProfilingPlatformLinux.c
+ InstrProfilingPlatformELF.c
+ InstrProfilingPlatformMachO.c
InstrProfilingPlatformOther.c
InstrProfilingRuntime.cc
InstrProfilingUtil.c)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47212.148063.patch
Type: text/x-patch
Size: 1489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180522/fa95a722/attachment.bin>
More information about the llvm-commits
mailing list