Skip to content

Commit ea676dc

Browse files
authored
Merge pull request #2 from Azure/virtual_query_perf
Changes for 2.5.6 to improve performance
2 parents e54092f + 63898c3 commit ea676dc

255 files changed

Lines changed: 60630 additions & 42414 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,5 @@ src/bin/vld.ini
2020
/src/tests/vld_ComTest/ComTest_i.c
2121
*.VC.opendb
2222
*.VC.db
23+
*.aps
24+
.vs/

CHANGES.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
1-
Visual Leak Detector (VLD) Version 2.5.1
1+
Visual Leak Detector (VLD) Version 2.5.6
22

33

44
Change Log / Release Notes
55

6+
2.5.6 (16 October 2020)
7+
----------------------------
8+
Enhancements:
9+
+ Builds with Visual Studio 2019 targeting Windows 10 version 19041
10+
+ Installer applies settings correctly for Visual Studio 2019
11+
+ Call QueryVirtualMemoryInformation instead of VirtualQuery to improve performance
12+
13+
Bugs Fixed:
14+
+ Avoid false positives from C++ static initializers (now slightly more permissive to potential leaks)
15+
616
2.5.1 (30 January 2017)
717
----------------------------
818
Enhancements:

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Read the documentation at [https://github.com/KindDragon/vld/wiki](https://githu
2929
We encourage developers who've added their own features, or fixed bugs they've found, to contribute to the project. The full version-controlled source tree is available publicly via Git at the URL below. Feel free to clone from this URL and submit patches for consideration for inclusion in future versions. You can also issue pull requests for changes that you've made and would like to share.
3030

3131
* [Source code](https://github.com/KindDragon/vld)
32+
* [Microsoft fork code](https://github.com/Azure/vld)
3233

3334
Copyright © 2005-2017 VLD Team
3435

lib/cppformat/format.vcxproj

Lines changed: 99 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,100 +1,100 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<ItemGroup Label="ProjectConfigurations">
4-
<ProjectConfiguration Include="Debug|Win32">
5-
<Configuration>Debug</Configuration>
6-
<Platform>Win32</Platform>
7-
</ProjectConfiguration>
8-
<ProjectConfiguration Include="Debug|x64">
9-
<Configuration>Debug</Configuration>
10-
<Platform>x64</Platform>
11-
</ProjectConfiguration>
12-
<ProjectConfiguration Include="Release|Win32">
13-
<Configuration>Release</Configuration>
14-
<Platform>Win32</Platform>
15-
</ProjectConfiguration>
16-
<ProjectConfiguration Include="Release|x64">
17-
<Configuration>Release</Configuration>
18-
<Platform>x64</Platform>
19-
</ProjectConfiguration>
20-
</ItemGroup>
21-
<PropertyGroup Label="Globals">
22-
<ProjectGUID>{4ADFD279-56C6-4B1D-BA9E-B815E81C1B17}</ProjectGUID>
23-
<Keyword>Win32Proj</Keyword>
24-
<Platform>Win32</Platform>
25-
<ProjectName>libformat</ProjectName>
26-
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
27-
<RootNamespace>libformat</RootNamespace>
28-
</PropertyGroup>
29-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
30-
<PropertyGroup Label="Configuration">
31-
<ConfigurationType>StaticLibrary</ConfigurationType>
32-
<CharacterSet>MultiByte</CharacterSet>
33-
<PlatformToolset>v140_xp</PlatformToolset>
34-
</PropertyGroup>
35-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
36-
<ImportGroup Label="ExtensionSettings">
37-
</ImportGroup>
38-
<ImportGroup Label="PropertySheets">
39-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
40-
</ImportGroup>
41-
<PropertyGroup Label="UserMacros" />
42-
<PropertyGroup>
43-
<_ProjectFileVersion>10.0.20506.1</_ProjectFileVersion>
44-
<OutDir>$(SolutionDir)src\bin\$(Platform)\$(Configuration)-v$(PlatformToolsetVersion)\</OutDir>
45-
<IntDir>$(SolutionDir)src\obj\$(Platform)\$(Configuration)-v$(PlatformToolsetVersion)\$(ProjectName)\</IntDir>
46-
</PropertyGroup>
47-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
48-
<ClCompile>
49-
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
50-
<CompileAs>CompileAsCpp</CompileAs>
51-
<ExceptionHandling>Sync</ExceptionHandling>
52-
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
53-
<RuntimeTypeInfo>true</RuntimeTypeInfo>
54-
<WarningLevel>Level3</WarningLevel>
55-
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;FMT_USE_FILE_DESCRIPTORS=1;GTEST_LANG_CXX11=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
56-
<Optimization>Disabled</Optimization>
57-
</ClCompile>
58-
</ItemDefinitionGroup>
59-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
60-
<ClCompile>
61-
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
62-
<CompileAs>CompileAsCpp</CompileAs>
63-
<ExceptionHandling>Sync</ExceptionHandling>
64-
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
65-
<RuntimeTypeInfo>true</RuntimeTypeInfo>
66-
<WarningLevel>Level3</WarningLevel>
67-
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;FMT_USE_FILE_DESCRIPTORS=1;GTEST_LANG_CXX11=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
68-
<Optimization>Disabled</Optimization>
69-
</ClCompile>
70-
</ItemDefinitionGroup>
71-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
72-
<ClCompile>
73-
<CompileAs>CompileAsCpp</CompileAs>
74-
<ExceptionHandling>Sync</ExceptionHandling>
75-
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
76-
<RuntimeTypeInfo>true</RuntimeTypeInfo>
77-
<WarningLevel>Level3</WarningLevel>
78-
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;FMT_USE_FILE_DESCRIPTORS=1;GTEST_LANG_CXX11=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
79-
</ClCompile>
80-
</ItemDefinitionGroup>
81-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
82-
<ClCompile>
83-
<CompileAs>CompileAsCpp</CompileAs>
84-
<ExceptionHandling>Sync</ExceptionHandling>
85-
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
86-
<RuntimeTypeInfo>true</RuntimeTypeInfo>
87-
<WarningLevel>Level3</WarningLevel>
88-
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;FMT_USE_FILE_DESCRIPTORS=1;GTEST_LANG_CXX11=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
89-
</ClCompile>
90-
</ItemDefinitionGroup>
91-
<ItemGroup>
92-
<ClInclude Include="format.h" />
93-
<ClInclude Include="posix.h" />
94-
<ClCompile Include="format.cc" />
95-
<ClCompile Include="posix.cc" />
96-
</ItemGroup>
97-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
98-
<ImportGroup Label="ExtensionTargets">
99-
</ImportGroup>
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|Win32">
5+
<Configuration>Debug</Configuration>
6+
<Platform>Win32</Platform>
7+
</ProjectConfiguration>
8+
<ProjectConfiguration Include="Debug|x64">
9+
<Configuration>Debug</Configuration>
10+
<Platform>x64</Platform>
11+
</ProjectConfiguration>
12+
<ProjectConfiguration Include="Release|Win32">
13+
<Configuration>Release</Configuration>
14+
<Platform>Win32</Platform>
15+
</ProjectConfiguration>
16+
<ProjectConfiguration Include="Release|x64">
17+
<Configuration>Release</Configuration>
18+
<Platform>x64</Platform>
19+
</ProjectConfiguration>
20+
</ItemGroup>
21+
<PropertyGroup Label="Globals">
22+
<ProjectGUID>{4ADFD279-56C6-4B1D-BA9E-B815E81C1B17}</ProjectGUID>
23+
<Keyword>Win32Proj</Keyword>
24+
<Platform>Win32</Platform>
25+
<ProjectName>libformat</ProjectName>
26+
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
27+
<RootNamespace>libformat</RootNamespace>
28+
</PropertyGroup>
29+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
30+
<PropertyGroup Label="Configuration">
31+
<ConfigurationType>StaticLibrary</ConfigurationType>
32+
<CharacterSet>MultiByte</CharacterSet>
33+
<PlatformToolset>v142</PlatformToolset>
34+
</PropertyGroup>
35+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
36+
<ImportGroup Label="ExtensionSettings">
37+
</ImportGroup>
38+
<ImportGroup Label="PropertySheets">
39+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
40+
</ImportGroup>
41+
<PropertyGroup Label="UserMacros" />
42+
<PropertyGroup>
43+
<_ProjectFileVersion>10.0.20506.1</_ProjectFileVersion>
44+
<OutDir>$(SolutionDir)src\bin\$(Platform)\$(Configuration)-v$(PlatformToolsetVersion)\</OutDir>
45+
<IntDir>$(SolutionDir)src\obj\$(Platform)\$(Configuration)-v$(PlatformToolsetVersion)\$(ProjectName)\</IntDir>
46+
</PropertyGroup>
47+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
48+
<ClCompile>
49+
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
50+
<CompileAs>CompileAsCpp</CompileAs>
51+
<ExceptionHandling>Sync</ExceptionHandling>
52+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
53+
<RuntimeTypeInfo>true</RuntimeTypeInfo>
54+
<WarningLevel>Level3</WarningLevel>
55+
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;FMT_USE_FILE_DESCRIPTORS=1;GTEST_LANG_CXX11=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
56+
<Optimization>Disabled</Optimization>
57+
</ClCompile>
58+
</ItemDefinitionGroup>
59+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
60+
<ClCompile>
61+
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
62+
<CompileAs>CompileAsCpp</CompileAs>
63+
<ExceptionHandling>Sync</ExceptionHandling>
64+
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
65+
<RuntimeTypeInfo>true</RuntimeTypeInfo>
66+
<WarningLevel>Level3</WarningLevel>
67+
<PreprocessorDefinitions>WIN32;_WINDOWS;_DEBUG;FMT_USE_FILE_DESCRIPTORS=1;GTEST_LANG_CXX11=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
68+
<Optimization>Disabled</Optimization>
69+
</ClCompile>
70+
</ItemDefinitionGroup>
71+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
72+
<ClCompile>
73+
<CompileAs>CompileAsCpp</CompileAs>
74+
<ExceptionHandling>Sync</ExceptionHandling>
75+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
76+
<RuntimeTypeInfo>true</RuntimeTypeInfo>
77+
<WarningLevel>Level3</WarningLevel>
78+
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;FMT_USE_FILE_DESCRIPTORS=1;GTEST_LANG_CXX11=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
79+
</ClCompile>
80+
</ItemDefinitionGroup>
81+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
82+
<ClCompile>
83+
<CompileAs>CompileAsCpp</CompileAs>
84+
<ExceptionHandling>Sync</ExceptionHandling>
85+
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
86+
<RuntimeTypeInfo>true</RuntimeTypeInfo>
87+
<WarningLevel>Level3</WarningLevel>
88+
<PreprocessorDefinitions>WIN32;_WINDOWS;NDEBUG;FMT_USE_FILE_DESCRIPTORS=1;GTEST_LANG_CXX11=0;%(PreprocessorDefinitions)</PreprocessorDefinitions>
89+
</ClCompile>
90+
</ItemDefinitionGroup>
91+
<ItemGroup>
92+
<ClInclude Include="format.h" />
93+
<ClInclude Include="posix.h" />
94+
<ClCompile Include="format.cc" />
95+
<ClCompile Include="posix.cc" />
96+
</ItemGroup>
97+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
98+
<ImportGroup Label="ExtensionTargets">
99+
</ImportGroup>
100100
</Project>

0 commit comments

Comments
 (0)