[PATCH] D16371: [compiler-rt/profile] Added Hostname to .profdata file

David Li via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 29 14:57:54 PST 2016


davidxl added inline comments.

================
Comment at: lib/profile/InstrProfilingFile.c:159
@@ +158,3 @@
+          HostNameLength = strlen(Hostname);
+          if (HostNameLength <= 0)
+            return -1;
----------------
Is this check necessary?


http://reviews.llvm.org/D16371





More information about the llvm-commits mailing list