<commit_before><?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemDefinitionGroup>
    <Midl>
      <StructMemberAlignment Condition="'%(Midl.StructMemberAlignment)' == ''">8</StructMemberAlignment>
      <DefaultCharType>Unsigned</DefaultCharType>

      <IdlType>Ole</IdlType>
      <!-- Default Idl type -->

      <!-- Force all MIDL compiles to be treated as English unless otherwise specified -->
      <LocaleID>1033</LocaleID>

      <!-- Disable the settings comment to make the headers more diff-able.  Only available in midl 8. razzle build already have this -->
      <AdditionalOptions Condition="'$(BuildingWithBuildExe)'!='true'">%(AdditionalOptions) /no_settings_comment</AdditionalOptions>

      <!--Disable midl timestamps wherever possible, razzle build already have this-->
      <AdditionalOptions Condition="'$(BuildingWithBuildExe)'!='true'">%(AdditionalOptions) /no_stamp</AdditionalOptions>

      <SuppressStartupBanner>true</SuppressStartupBanner>

      <!-- Other defaults -->
      <HeaderFileName>%(Filename).h</HeaderFileName>
      <OutputDirectory>$(IntDir)</OutputDirectory>

      <!-- ======== makefiledef ======== -->
      <AdditionalOptions>%(AdditionalOptions) -sal</AdditionalOptions>

      <!-- ======== sources.inc ======== -->
      <!-- generates SAL annotations for our interface -->
      <AdditionalOptions>%(AdditionalOptions) -sal_local</AdditionalOptions>
    </Midl>
    <ClCompile>
      <PreprocessorDefinitions>%(PreprocessorDefinitions);_CHAKRACOREBUILD;NOMINMAX;USE_EDGEMODE_JSRT</PreprocessorDefinitions>
      <!-- Some of our STDMETHOD can throw
           TODO: Code review STDMETHOD and separate out API that can throw and those that can't -->
      <PreprocessorDefinitions>%(PreprocessorDefinitions);COM_STDMETHOD_CAN_THROW</PreprocessorDefinitions>

      <PreprocessorDefinitions Condition="'$(RuntimeLib)'=='static_library'">%(PreprocessorDefinitions);USE_STATIC_RUNTIMELIB</PreprocessorDefinitions>

      <!-- Add any preprocessor definitions passed using msbuild environment -->
      <PreprocessorDefinitions Condition="'$(AdditionalPreprocessorDefinitions)'!=''">%(PreprocessorDefinitions);$(AdditionalPreprocessorDefinitions)</PreprocessorDefinitions>

      <!-- MIDL generate code uses this define -->
      <PreprocessorDefinitions Condition="'$(Platform)'=='ARM'">%(PreprocessorDefinitions);_ARM_</PreprocessorDefinitions>

      <!-- /W4 -->
      <WarningLevel>Level4</WarningLevel>
      <!-- /WX -->
      <TreatWarningAsError>true</TreatWarningAsError>
      <!-- /GR- -->
      <RuntimeTypeInfo>false</RuntimeTypeInfo>
      <!-- /Zi -->
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
      <DebugInformationFormat Condition="'$(MultiProcessorCompilation)' == 'true'">OldStyle</DebugInformationFormat>
      <!-- /EHsc- -->
      <ExceptionHandling>SyncCThrow</ExceptionHandling>
      <!-- /Gz -->
      <CallingConvention Condition="'$(Platform)'=='Win32'">StdCall</CallingConvention>
      <!-- /Zp8 -->
      <StructMemberAlignment>8Bytes</StructMemberAlignment>
      <!-- /GS -->
      <BufferSecurityCheck>true</BufferSecurityCheck>
      <!-- /Gy -->
      <FunctionLevelLinking>true</FunctionLevelLinking>
      <!-- /GF -->
      <StringPooling>true</StringPooling>
      <!-- /MD -->
      <RuntimeLibrary Condition="'$(RuntimeLib)'!='static_library'">MultiThreadedDLL</RuntimeLibrary>
      <RuntimeLibrary Condition="'$(RuntimeLib)'=='static_library'">MultiThreaded</RuntimeLibrary>

      <!-- We don't use any metadata -->
      <AdditionalUsingDirectories />

      <AdditionalOptions>%(AdditionalOptions) /Zm125</AdditionalOptions>
      <AdditionalOptions>%(AdditionalOptions) /Yl$(TargetName)</AdditionalOptions>
      <!-- Separate global variable for linker -->
      <AdditionalOptions>%(AdditionalOptions) /Gw</AdditionalOptions>

      <ProgramDataBaseFileName Condition="'$(ConfigurationType)'=='StaticLibrary'">$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
      <ProgramDataBaseFileName Condition="'$(ConfigurationType)'!='StaticLibrary'">$(IntDir)</ProgramDataBaseFileName>

      <!-- ======== For Code Covearge ======== -->
      <Optimization Condition="'$(ENABLE_CODECOVERAGE)'=='true'">Disabled</Optimization>
      <PreprocessorDefinitions Condition="'$(ENABLE_CODECOVERAGE)'=='true' AND '$(BYTECODE_TESTING)' == '0'">
        %(PreprocessorDefinitions);
        BYTECODE_TESTING=1
      </PreprocessorDefinitions>
      <PreprocessorDefinitions Condition="'$(BuildWabt)'=='true'">%(PreprocessorDefinitions);CAN_BUILD_WABT=1</PreprocessorDefinitions>
    </ClCompile>
    <ResourceCompile>
      <PreprocessorDefinitions Condition="'$(ChakraVersionBuildNumber)'!=''">%(PreprocessorDefinitions);CHAKRA_VERSION_BUILD_NUMBER=$(ChakraVersionBuildNumber)</PreprocessorDefinitions>
      <PreprocessorDefinitions Condition="'$(ChakraVersionBuildQFENumber)'!=''">%(PreprocessorDefinitions);CHAKRA_VERSION_BUILD_QFE=$(ChakraVersionBuildQFENumber)</PreprocessorDefinitions>
      <PreprocessorDefinitions Condition="'$(ChakraVersionBuildCommit)'!=''">%(PreprocessorDefinitions);CHAKRA_VERSION_BUILD_COMMIT=$(ChakraVersionBuildCommit)</PreprocessorDefinitions>
      <PreprocessorDefinitions Condition="'$(ChakraVersionBuildDate)'!=''">%(PreprocessorDefinitions);CHAKRA_VERSION_BUILD_DATE=$(ChakraVersionBuildDate)</PreprocessorDefinitions>
    </ResourceCompile>
    <MASM>
      <!-- /Cx -->
      <PreserveIdentifierCase>3</PreserveIdentifierCase>
    </MASM>
    <Link>
      <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <EnableCOMDATFolding Condition="'$(OptimizedBuild)'=='true' AND '$(ENABLE_CODECOVERAGE)'!='true'">true</EnableCOMDATFolding>
      <OptimizeReferences Condition="'$(OptimizedBuild)'=='true'">true</OptimizeReferences>

      <MinimumRequiredVersion Condition="'$(NtTargetVersion)'=='$(NtTargetVersion_Win7)'" >6.1</MinimumRequiredVersion>
      <MinimumRequiredVersion Condition="'$(NtTargetVersion)'=='$(NtTargetVersion_Win8)'" >6.2</MinimumRequiredVersion>
      <MinimumRequiredVersion Condition="'$(NtTargetVersion)'=='$(NtTargetVersion_Win10)'" >10.00</MinimumRequiredVersion>

      <!-- Always set the checksum -->
      <AdditionalOptions>%(AdditionalOptions) /release</AdditionalOptions>
      <!-- ======== For Code Covearge ======== -->
      <AdditionalOptions Condition="'$(ENABLE_CODECOVERAGE)'=='true'">%(AdditionalOptions) /DEBUGTYPE:CV,FIXUP</AdditionalOptions>
    </Link>
  </ItemDefinitionGroup>
  <!-- chk build flags -->
  <ItemDefinitionGroup Condition="'$(OptimizedBuild)'!='true'">
    <ClCompile>
      <Optimization>Disabled</Optimization>
      <PreprocessorDefinitions>%(PreprocessorDefinitions);_DEBUG;DBG;DBG_DUMP</PreprocessorDefinitions>
    </ClCompile>
    <ResourceCompile>
      <PreprocessorDefinitions>%(PreprocessorDefinitions);DBG;ENABLE_DEBUG_CONFIG_OPTIONS=1</PreprocessorDefinitions>
    </ResourceCompile>
    <Midl>
      <PreprocessorDefinitions>%(PreprocessorDefinitions);DBG</PreprocessorDefinitions>
    </Midl>
  </ItemDefinitionGroup>
  <!-- fre and fretest build flags -->
  <ItemDefinitionGroup Condition="'$(OptimizedBuild)'=='true'">
    <ClCompile>
      <PreprocessorDefinitions>%(PreprocessorDefinitions);NDEBUG</PreprocessorDefinitions>
      <PreprocessorDefinitions Condition="'$(Configuration)'=='Test'">%(PreprocessorDefinitions);ENABLE_DEBUG_CONFIG_OPTIONS=1</PreprocessorDefinitions>
      <Optimization>MaxSpeed</Optimization>
      <WholeProgramOptimization>true</WholeProgramOptimization>
    </ClCompile>
    <ResourceCompile>
      <PreprocessorDefinitions Condition="'$(Configuration)'=='Test'">%(PreprocessorDefinitions);ENABLE_DEBUG_CONFIG_OPTIONS=1</PreprocessorDefinitions>
    </ResourceCompile>
    <Link>
      <LinkTimeCodeGeneration Condition="'$(PlatformToolset)'=='v120' OR '$(TF_BUILD)'!=''">UseLinkTimeCodeGeneration</LinkTimeCodeGeneration><commit_msg>[MERGE #2767 @aneeshdk] Fixing the Code Coverage build<commit_after><?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemDefinitionGroup>
    <Midl>
      <StructMemberAlignment Condition="'%(Midl.StructMemberAlignment)' == ''">8</StructMemberAlignment>
      <DefaultCharType>Unsigned</DefaultCharType>

      <IdlType>Ole</IdlType>
      <!-- Default Idl type -->

      <!-- Force all MIDL compiles to be treated as English unless otherwise specified -->
      <LocaleID>1033</LocaleID>

      <!-- Disable the settings comment to make the headers more diff-able.  Only available in midl 8. razzle build already have this -->
      <AdditionalOptions Condition="'$(BuildingWithBuildExe)'!='true'">%(AdditionalOptions) /no_settings_comment</AdditionalOptions>

      <!--Disable midl timestamps wherever possible, razzle build already have this-->
      <AdditionalOptions Condition="'$(BuildingWithBuildExe)'!='true'">%(AdditionalOptions) /no_stamp</AdditionalOptions>

      <SuppressStartupBanner>true</SuppressStartupBanner>

      <!-- Other defaults -->
      <HeaderFileName>%(Filename).h</HeaderFileName>
      <OutputDirectory>$(IntDir)</OutputDirectory>

      <!-- ======== makefiledef ======== -->
      <AdditionalOptions>%(AdditionalOptions) -sal</AdditionalOptions>

      <!-- ======== sources.inc ======== -->
      <!-- generates SAL annotations for our interface -->
      <AdditionalOptions>%(AdditionalOptions) -sal_local</AdditionalOptions>
    </Midl>
    <ClCompile>
      <PreprocessorDefinitions>%(PreprocessorDefinitions);_CHAKRACOREBUILD;NOMINMAX;USE_EDGEMODE_JSRT</PreprocessorDefinitions>
      <!-- Some of our STDMETHOD can throw
           TODO: Code review STDMETHOD and separate out API that can throw and those that can't -->
      <PreprocessorDefinitions>%(PreprocessorDefinitions);COM_STDMETHOD_CAN_THROW</PreprocessorDefinitions>

      <PreprocessorDefinitions Condition="'$(RuntimeLib)'=='static_library'">%(PreprocessorDefinitions);USE_STATIC_RUNTIMELIB</PreprocessorDefinitions>

      <!-- Add any preprocessor definitions passed using msbuild environment -->
      <PreprocessorDefinitions Condition="'$(AdditionalPreprocessorDefinitions)'!=''">%(PreprocessorDefinitions);$(AdditionalPreprocessorDefinitions)</PreprocessorDefinitions>

      <!-- MIDL generate code uses this define -->
      <PreprocessorDefinitions Condition="'$(Platform)'=='ARM'">%(PreprocessorDefinitions);_ARM_</PreprocessorDefinitions>

      <!-- /W4 -->
      <WarningLevel>Level4</WarningLevel>
      <!-- /WX -->
      <TreatWarningAsError>true</TreatWarningAsError>
      <!-- /GR- -->
      <RuntimeTypeInfo>false</RuntimeTypeInfo>
      <!-- /Zi -->
      <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
      <DebugInformationFormat Condition="'$(MultiProcessorCompilation)' == 'true'">OldStyle</DebugInformationFormat>
      <!-- /EHsc- -->
      <ExceptionHandling>SyncCThrow</ExceptionHandling>
      <!-- /Gz -->
      <CallingConvention Condition="'$(Platform)'=='Win32'">StdCall</CallingConvention>
      <!-- /Zp8 -->
      <StructMemberAlignment>8Bytes</StructMemberAlignment>
      <!-- /GS -->
      <BufferSecurityCheck>true</BufferSecurityCheck>
      <!-- /Gy -->
      <FunctionLevelLinking>true</FunctionLevelLinking>
      <!-- /GF -->
      <StringPooling>true</StringPooling>
      <!-- /MD -->
      <RuntimeLibrary Condition="'$(RuntimeLib)'!='static_library'">MultiThreadedDLL</RuntimeLibrary>
      <RuntimeLibrary Condition="'$(RuntimeLib)'=='static_library'">MultiThreaded</RuntimeLibrary>

      <!-- We don't use any metadata -->
      <AdditionalUsingDirectories />

      <AdditionalOptions>%(AdditionalOptions) /Zm125</AdditionalOptions>
      <AdditionalOptions>%(AdditionalOptions) /Yl$(TargetName)</AdditionalOptions>
      <!-- Separate global variable for linker -->
      <AdditionalOptions>%(AdditionalOptions) /Gw</AdditionalOptions>

      <ProgramDataBaseFileName Condition="'$(ConfigurationType)'=='StaticLibrary'">$(IntDir)$(TargetName).pdb</ProgramDataBaseFileName>
      <ProgramDataBaseFileName Condition="'$(ConfigurationType)'!='StaticLibrary'">$(IntDir)</ProgramDataBaseFileName>

      <!-- ======== For Code Covearge ======== -->
      <PreprocessorDefinitions Condition="'$(ENABLE_CODECOVERAGE)'=='true' AND '$(BYTECODE_TESTING)' == '0'">
        %(PreprocessorDefinitions);
        BYTECODE_TESTING=1
      </PreprocessorDefinitions>
      <PreprocessorDefinitions Condition="'$(BuildWabt)'=='true'">%(PreprocessorDefinitions);CAN_BUILD_WABT=1</PreprocessorDefinitions>
    </ClCompile>
    <ResourceCompile>
      <PreprocessorDefinitions Condition="'$(ChakraVersionBuildNumber)'!=''">%(PreprocessorDefinitions);CHAKRA_VERSION_BUILD_NUMBER=$(ChakraVersionBuildNumber)</PreprocessorDefinitions>
      <PreprocessorDefinitions Condition="'$(ChakraVersionBuildQFENumber)'!=''">%(PreprocessorDefinitions);CHAKRA_VERSION_BUILD_QFE=$(ChakraVersionBuildQFENumber)</PreprocessorDefinitions>
      <PreprocessorDefinitions Condition="'$(ChakraVersionBuildCommit)'!=''">%(PreprocessorDefinitions);CHAKRA_VERSION_BUILD_COMMIT=$(ChakraVersionBuildCommit)</PreprocessorDefinitions>
      <PreprocessorDefinitions Condition="'$(ChakraVersionBuildDate)'!=''">%(PreprocessorDefinitions);CHAKRA_VERSION_BUILD_DATE=$(ChakraVersionBuildDate)</PreprocessorDefinitions>
    </ResourceCompile>
    <MASM>
      <!-- /Cx -->
      <PreserveIdentifierCase>3</PreserveIdentifierCase>
    </MASM>
    <Link>
      <TreatLinkerWarningAsErrors>true</TreatLinkerWarningAsErrors>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <EnableCOMDATFolding Condition="'$(OptimizedBuild)'=='true' AND '$(ENABLE_CODECOVERAGE)'!='true'">true</EnableCOMDATFolding>
      <OptimizeReferences Condition="'$(OptimizedBuild)'=='true'">true</OptimizeReferences>

      <MinimumRequiredVersion Condition="'$(NtTargetVersion)'=='$(NtTargetVersion_Win7)'" >6.1</MinimumRequiredVersion>
      <MinimumRequiredVersion Condition="'$(NtTargetVersion)'=='$(NtTargetVersion_Win8)'" >6.2</MinimumRequiredVersion>
      <MinimumRequiredVersion Condition="'$(NtTargetVersion)'=='$(NtTargetVersion_Win10)'" >10.00</MinimumRequiredVersion>

      <!-- Always set the checksum -->
      <AdditionalOptions>%(AdditionalOptions) /release</AdditionalOptions>
      <!-- ======== For Code Covearge ======== -->
      <AdditionalOptions Condition="'$(ENABLE_CODECOVERAGE)'=='true'">%(AdditionalOptions) /DEBUGTYPE:CV,FIXUP</AdditionalOptions>
    </Link>
  </ItemDefinitionGroup>

  <!--Optimization flags-->
  <ItemDefinitionGroup Condition="'$(OptimizedBuild)'!='true' OR '$(ENABLE_CODECOVERAGE)'=='true'">
    <ClCompile>
      <Optimization>Disabled</Optimization>
    </ClCompile>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(OptimizedBuild)'=='true' AND '$(ENABLE_CODECOVERAGE)'!='true'">
    <ClCompile>
      <Optimization>MaxSpeed</Optimization>
      <WholeProgramOptimization>true</WholeProgramOptimization>
    </ClCompile>
  </ItemDefinitionGroup>
  
    <!-- chk build flags -->  
  <ItemDefinitionGroup Condition="'$(OptimizedBuild)'!='true'">
    <ClCompile>
      <PreprocessorDefinitions>%(PreprocessorDefinitions);_DEBUG;DBG;DBG_DUMP</PreprocessorDefinitions>
    </ClCompile>
    <ResourceCompile>
      <PreprocessorDefinitions>%(PreprocessorDefinitions);DBG;ENABLE_DEBUG_CONFIG_OPTIONS=1</PreprocessorDefinitions>
    </ResourceCompile>
    <Midl>
      <PreprocessorDefinitions>%(PreprocessorDefinitions);DBG</PreprocessorDefinitions>
    </Midl>
  </ItemDefinitionGroup>
  <!-- fre and fretest build flags -->
  <ItemDefinitionGroup Condition="'$(OptimizedBuild)'=='true'">
    <ClCompile>
      <PreprocessorDefinitions>%(PreprocessorDefinitions);NDEBUG</PreprocessorDefinitions>
      <PreprocessorDefinitions Condition="'$(Configuration)'=='Test'">%(PreprocessorDefinitions);ENABLE_DEBUG_CONFIG_OPTIONS=1</PreprocessorDefinitions>
    </ClCompile>
    <ResourceCompile>
      <PreprocessorDefinitions Condition="'$(Configuration)'=='Test'">%(PreprocessorDefinitions);ENABLE_DEBUG_CONFIG_OPTIONS=1</PreprocessorDefinitions>
    </ResourceCompile>
    <Link>
      <LinkTimeCodeGeneration Condition="'$(PlatformToolset)'=='v120' OR '$(TF_BUILD)'!=''">UseLinkTimeCodeGeneration</LinkTimeCodeGeneration>
{'fraction_non_alphanumeric': 0.15586934125204532, 'fraction_numerical': 0.005939033997939519, 'mean_word_length': 5.32988108937476, 'pattern_counts': {'":': 0, '<': 372, '<?xml version=': 2, '>': 372, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3914919', 'n_tokens_mistral': 4815, 'n_tokens_neox': 4190, 'n_words': 578}