[compiler-rt] r299960 - Revert 299954 : test failure needs to be fixed

Xinliang David Li via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 09:27:27 PDT 2017


Author: davidxl
Date: Tue Apr 11 11:27:26 2017
New Revision: 299960

URL: http://llvm.org/viewvc/llvm-project?rev=299960&view=rev
Log:
Revert 299954 : test failure needs to be fixed

Modified:
    compiler-rt/trunk/lib/profile/InstrProfData.inc

Modified: compiler-rt/trunk/lib/profile/InstrProfData.inc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/InstrProfData.inc?rev=299960&r1=299959&r2=299960&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/InstrProfData.inc (original)
+++ compiler-rt/trunk/lib/profile/InstrProfData.inc Tue Apr 11 11:27:26 2017
@@ -622,19 +622,6 @@ serializeValueProfDataFrom(ValueProfReco
  * specified via command line. */
 #define INSTR_PROF_PROFILE_NAME_VAR __llvm_profile_filename
 
-#ifdef _WIN32
-/* Runtime section names and name strings.  */
-#define INSTR_PROF_DATA_SECT_NAME .lprfd
-#define INSTR_PROF_NAME_SECT_NAME .lprfn
-#define INSTR_PROF_CNTS_SECT_NAME .lprfc
-/* Array of pointers. Each pointer points to a list
- * of value nodes associated with one value site.
- */
-#define INSTR_PROF_VALS_SECT_NAME .lprfv
-/* Value profile nodes section. */
-#define INSTR_PROF_VNODES_SECT_NAME .lprfnd
-#define INSTR_PROF_COVMAP_SECT_NAME .lcovmap
-#else
 /* Runtime section names and name strings.  */
 #define INSTR_PROF_DATA_SECT_NAME __llvm_prf_data
 #define INSTR_PROF_NAME_SECT_NAME __llvm_prf_names
@@ -646,7 +633,6 @@ serializeValueProfDataFrom(ValueProfReco
 /* Value profile nodes section. */
 #define INSTR_PROF_VNODES_SECT_NAME __llvm_prf_vnds
 #define INSTR_PROF_COVMAP_SECT_NAME __llvm_covmap
-#endif
 
 #define INSTR_PROF_DATA_SECT_NAME_STR                                          \
   INSTR_PROF_QUOTE(INSTR_PROF_DATA_SECT_NAME)




More information about the llvm-commits mailing list