cpython/PC/VS7.1/pythoncore.vcproj
Jeffrey Yasskin 39370830a9 Make (most of) Python's tests pass under Thread Sanitizer.
http://code.google.com/p/data-race-test/wiki/ThreadSanitizer is a dynamic data
race detector that runs on top of valgrind. With this patch, the binaries at
http://code.google.com/p/data-race-test/wiki/ThreadSanitizer#Binaries pass many
but not all of the Python tests. All of regrtest still passes outside of tsan.

I've implemented part of the C1x atomic types so that we can explicitly mark
variables that are used across threads, and get defined behavior as compilers
advance.

I've added tsan's client header and implementation to the codebase in
dynamic_annotations.{h,c} (docs at
http://code.google.com/p/data-race-test/wiki/DynamicAnnotations).
Unfortunately, I haven't been able to get helgrind and drd to give sensible
error messages, even when I use their client annotations, so I'm not supporting
them.
2010-05-03 19:29:34 +00:00

838 lines
20 KiB
XML

<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="7.10"
Name="pythoncore"
ProjectGUID="{CF7AC3D1-E2DF-41D2-BEA6-1E2556CDEA30}"
RootNamespace="pythoncore"
SccProjectName="pythoncore"
SccLocalPath="..">
<Platforms>
<Platform
Name="Win32"/>
</Platforms>
<Configurations>
<Configuration
Name="Release|Win32"
OutputDirectory=".\."
IntermediateDirectory=".\x86-temp-release\pythoncore"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE">
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/Zm200 "
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="..\..\Include,..\..\PC"
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;USE_DL_EXPORT"
StringPooling="TRUE"
RuntimeLibrary="2"
EnableFunctionLevelLinking="TRUE"
UsePrecompiledHeader="2"
WarningLevel="3"
SuppressStartupBanner="TRUE"
DebugInformationFormat="3"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="getbuildinfo.o"
OutputFile="./python32.dll"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
IgnoreDefaultLibraryNames="libc"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./python32.pdb"
SubSystem="2"
BaseAddress="0x1e000000"
ImportLibrary=".\./python32.lib"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"
Description="generate buildinfo"
CommandLine="make_buildinfo.exe $(ConfigurationName)"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
AdditionalIncludeDirectories="..\..\Include"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="Debug|Win32"
OutputDirectory=".\."
IntermediateDirectory=".\x86-temp-debug\pythoncore"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE">
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/Zm200 "
Optimization="0"
AdditionalIncludeDirectories="..\..\Include,..\..\PC"
PreprocessorDefinitions="_DEBUG;USE_DL_EXPORT;WIN32;_WINDOWS"
RuntimeLibrary="3"
UsePrecompiledHeader="2"
WarningLevel="3"
SuppressStartupBanner="TRUE"
DebugInformationFormat="3"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="getbuildinfo.o"
OutputFile="./python32_d.dll"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
IgnoreDefaultLibraryNames="libc"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./python32_d.pdb"
SubSystem="2"
BaseAddress="0x1e000000"
ImportLibrary=".\./python32_d.lib"
TargetMachine="1"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"
Description="generate buildinfo"
CommandLine="make_buildinfo.exe $(ConfigurationName)"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_DEBUG"
Culture="1033"
AdditionalIncludeDirectories="..\..\Include"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="ReleaseItanium|Win32"
OutputDirectory="./."
IntermediateDirectory=".\ia64-temp-release\pythoncore"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE">
<Tool
Name="VCCLCompilerTool"
AdditionalOptions=" /USECL:MS_ITANIUM /GS-"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="..\..\Include,..\..\PC"
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;USE_DL_EXPORT"
StringPooling="TRUE"
BasicRuntimeChecks="0"
RuntimeLibrary="2"
BufferSecurityCheck="FALSE"
EnableFunctionLevelLinking="TRUE"
UsePrecompiledHeader="2"
WarningLevel="3"
SuppressStartupBanner="TRUE"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:IA64 /USELINK:MS_SDK"
AdditionalDependencies="getbuildinfo.o"
OutputFile="./python32.dll"
LinkIncremental="1"
SuppressStartupBanner="FALSE"
IgnoreDefaultLibraryNames="libc"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./python32.pdb"
SubSystem="2"
BaseAddress="0x1e000000"
ImportLibrary=".\./python32.lib"
TargetMachine="0"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"
Description="generate buildinfo"
CommandLine="make_buildinfo.exe $(ConfigurationName)"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
AdditionalIncludeDirectories="..\..\Include"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
<Configuration
Name="ReleaseAMD64|Win32"
OutputDirectory="./."
IntermediateDirectory=".\amd64-temp-release\pythoncore"
ConfigurationType="2"
UseOfMFC="0"
ATLMinimizesCRunTimeLibraryUsage="FALSE">
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/Zm200 /USECL:MS_OPTERON /GS-"
Optimization="2"
InlineFunctionExpansion="1"
AdditionalIncludeDirectories="..\..\Include,..\..\PC"
PreprocessorDefinitions="NDEBUG;WIN32;_WINDOWS;USE_DL_EXPORT"
StringPooling="TRUE"
BasicRuntimeChecks="0"
RuntimeLibrary="2"
BufferSecurityCheck="FALSE"
EnableFunctionLevelLinking="TRUE"
UsePrecompiledHeader="2"
WarningLevel="3"
SuppressStartupBanner="TRUE"
Detect64BitPortabilityProblems="TRUE"
DebugInformationFormat="3"
CompileAs="0"/>
<Tool
Name="VCCustomBuildTool"/>
<Tool
Name="VCLinkerTool"
AdditionalOptions=" /MACHINE:AMD64 /USELINK:MS_SDK"
AdditionalDependencies="getbuildinfo.o"
OutputFile="./python32.dll"
LinkIncremental="1"
SuppressStartupBanner="TRUE"
IgnoreDefaultLibraryNames="libc"
GenerateDebugInformation="TRUE"
ProgramDatabaseFile=".\./python32.pdb"
SubSystem="2"
BaseAddress="0x1e000000"
ImportLibrary=".\./python32.lib"
TargetMachine="0"/>
<Tool
Name="VCMIDLTool"/>
<Tool
Name="VCPostBuildEventTool"/>
<Tool
Name="VCPreBuildEventTool"/>
<Tool
Name="VCPreLinkEventTool"
Description="generate buildinfo"
CommandLine="make_buildinfo.exe $(ConfigurationName)"/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="NDEBUG"
Culture="1033"
AdditionalIncludeDirectories="..\..\Include"/>
<Tool
Name="VCWebServiceProxyGeneratorTool"/>
<Tool
Name="VCXMLDataGeneratorTool"/>
<Tool
Name="VCWebDeploymentTool"/>
<Tool
Name="VCManagedWrapperGeneratorTool"/>
<Tool
Name="VCAuxiliaryManagedWrapperGeneratorTool"/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="_io"
Filter="">
<File
RelativePath="..\..\Modules\_io\fileio.c">
</File>
<File
RelativePath="..\..\Modules\_io\bytesio.c">
</File>
<File
RelativePath="..\..\Modules\_io\stringio.c">
</File>
<File
RelativePath="..\..\Modules\_io\bufferedio.c">
</File>
<File
RelativePath="..\..\Modules\_io\iobase.c">
</File>
<File
RelativePath="..\..\Modules\_io\textio.c">
</File>
<File
RelativePath="..\..\Modules\_io\_iomodule.c">
</File>
</Filter>
<Filter
Name="zlib"
Filter="">
<File
RelativePath="..\..\Modules\zlib\adler32.c">
</File>
<File
RelativePath="..\..\Modules\zlib\compress.c">
</File>
<File
RelativePath="..\..\Modules\zlib\crc32.c">
</File>
<File
RelativePath="..\..\Modules\zlib\deflate.c">
</File>
<File
RelativePath="..\..\Modules\zlib\gzio.c">
</File>
<File
RelativePath="..\..\Modules\zlib\infback.c">
</File>
<File
RelativePath="..\..\Modules\zlib\inffast.c">
</File>
<File
RelativePath="..\..\Modules\zlib\inflate.c">
</File>
<File
RelativePath="..\..\Modules\zlib\inftrees.c">
</File>
<File
RelativePath="..\..\Modules\zlib\trees.c">
</File>
<File
RelativePath="..\..\Modules\zlib\uncompr.c">
</File>
<File
RelativePath="..\..\Modules\zlibmodule.c">
<FileConfiguration
Name="Release|Win32">
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\Modules\zlib"/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32">
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\Modules\zlib"/>
</FileConfiguration>
<FileConfiguration
Name="ReleaseItanium|Win32">
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\Modules\zlib"/>
</FileConfiguration>
<FileConfiguration
Name="ReleaseAMD64|Win32">
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\Modules\zlib"/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\Modules\zlib\zutil.c">
</File>
</Filter>
<File
RelativePath="..\..\Modules\_bisectmodule.c">
</File>
<File
RelativePath="..\..\Modules\cjkcodecs\_codecs_cn.c">
</File>
<File
RelativePath="..\..\Modules\cjkcodecs\_codecs_hk.c">
</File>
<File
RelativePath="..\..\Modules\cjkcodecs\_codecs_iso2022.c">
</File>
<File
RelativePath="..\..\Modules\cjkcodecs\_codecs_jp.c">
</File>
<File
RelativePath="..\..\Modules\cjkcodecs\_codecs_kr.c">
</File>
<File
RelativePath="..\..\Modules\cjkcodecs\_codecs_tw.c">
</File>
<File
RelativePath="..\..\Modules\_codecsmodule.c">
</File>
<File
RelativePath="..\..\Modules\_csv.c">
</File>
<File
RelativePath="..\..\Modules\_functoolsmodule.c">
</File>
<File
RelativePath="..\..\Modules\_heapqmodule.c">
</File>
<File
RelativePath="..\..\Modules\_json.c">
</File>
<File
RelativePath="..\..\Modules\_localemodule.c">
</File>
<File
RelativePath="..\..\Modules\_lsprof.c">
</File>
<File
RelativePath="..\..\Modules\_math.c">
</File>
<File
RelativePath="..\..\Modules\_pickle.c">
</File>
<File
RelativePath="..\..\Modules\_randommodule.c">
</File>
<File
RelativePath="..\..\Modules\_sre.c">
</File>
<File
RelativePath="..\..\Modules\_struct.c">
</File>
<File
RelativePath="..\..\Pc\_subprocess.c">
</File>
<File
RelativePath="..\..\Modules\_weakref.c">
</File>
<File
RelativePath="..\..\Pc\winreg.c">
</File>
<File
RelativePath="..\..\Objects\abstract.c">
</File>
<File
RelativePath="..\..\Parser\acceler.c">
</File>
<File
RelativePath="..\..\Modules\arraymodule.c">
</File>
<File
RelativePath="..\..\Python\_warnings.c">
</File>
<File
RelativePath="..\..\Python\asdl.c">
</File>
<File
RelativePath="..\..\Python\ast.c">
</File>
<File
RelativePath="..\..\Modules\atexitmodule.c">
</File>
<File
RelativePath="..\..\Modules\audioop.c">
</File>
<File
RelativePath="..\..\Modules\binascii.c">
</File>
<File
RelativePath="..\..\Parser\bitset.c">
</File>
<File
RelativePath="..\..\Python\bltinmodule.c">
</File>
<File
RelativePath="..\..\Objects\boolobject.c">
</File>
<File
RelativePath="..\..\Objects\bytes_methods.c">
</File>
<File
RelativePath="..\..\Objects\bytesobject.c">
</File>
<File
RelativePath="..\..\Objects\capsule.c">
</File>
<File
RelativePath="..\..\Objects\cellobject.c">
</File>
<File
RelativePath="..\..\Python\ceval.c">
</File>
<File
RelativePath="..\..\Objects\classobject.c">
</File>
<File
RelativePath="..\..\Modules\cmathmodule.c">
</File>
<File
RelativePath="..\..\Python\codecs.c">
</File>
<File
RelativePath="..\..\Objects\codeobject.c">
</File>
<File
RelativePath="..\..\Modules\_collectionsmodule.c">
</File>
<File
RelativePath="..\..\Python\compile.c">
</File>
<File
RelativePath="..\..\Objects\complexobject.c">
</File>
<File
RelativePath="..\..\PC\config.c">
</File>
<File
RelativePath="..\..\Python\dynamic_annotations.c">
</File>
<File
RelativePath="..\..\Modules\datetimemodule.c">
</File>
<File
RelativePath="..\..\Objects\descrobject.c">
</File>
<File
RelativePath="..\..\Objects\dictobject.c">
</File>
<File
RelativePath="..\..\PC\dl_nt.c">
</File>
<File
RelativePath="..\..\Python\dtoa.c">
</File>
<File
RelativePath="..\..\Python\dynload_win.c">
</File>
<File
RelativePath="..\..\Objects\enumobject.c">
</File>
<File
RelativePath="..\..\Modules\errnomodule.c">
</File>
<File
RelativePath="..\..\Python\errors.c">
</File>
<File
RelativePath="..\..\Objects\exceptions.c">
</File>
<File
RelativePath="..\..\Objects\fileobject.c">
</File>
<File
RelativePath="..\..\Parser\firstsets.c">
</File>
<File
RelativePath="..\..\Objects\floatobject.c">
</File>
<File
RelativePath="..\..\Python\formatter_unicode.c">
</File>
<File
RelativePath="..\..\Objects\frameobject.c">
</File>
<File
RelativePath="..\..\Python\formatter_unicode.c">
</File>
<File
RelativePath="..\..\Python\frozen.c">
</File>
<File
RelativePath="..\..\Objects\funcobject.c">
</File>
<File
RelativePath="..\..\Python\future.c">
</File>
<File
RelativePath="..\..\Modules\gcmodule.c">
</File>
<File
RelativePath="..\..\Objects\genobject.c">
</File>
<File
RelativePath="..\..\Python\getargs.c">
</File>
<File
RelativePath="..\..\Python\getcompiler.c">
</File>
<File
RelativePath="..\..\Python\getcopyright.c">
</File>
<File
RelativePath="..\..\Python\getopt.c">
</File>
<File
RelativePath="..\..\PC\getpathp.c">
</File>
<File
RelativePath="..\..\Python\getplatform.c">
</File>
<File
RelativePath="..\..\Python\getversion.c">
</File>
<File
RelativePath="..\..\Python\graminit.c">
</File>
<File
RelativePath="..\..\Parser\grammar.c">
</File>
<File
RelativePath="..\..\Parser\grammar1.c">
</File>
<File
RelativePath="..\..\Python\import.c">
</File>
<File
RelativePath="..\..\PC\import_nt.c">
<FileConfiguration
Name="Release|Win32">
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\Python"/>
</FileConfiguration>
<FileConfiguration
Name="Debug|Win32">
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\Python"/>
</FileConfiguration>
<FileConfiguration
Name="ReleaseItanium|Win32">
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\Python"/>
</FileConfiguration>
<FileConfiguration
Name="ReleaseAMD64|Win32">
<Tool
Name="VCCLCompilerTool"
AdditionalIncludeDirectories="..\..\Python"/>
</FileConfiguration>
</File>
<File
RelativePath="..\..\Python\importdl.c">
</File>
<File
RelativePath="..\..\Objects\iterobject.c">
</File>
<File
RelativePath="..\..\Modules\itertoolsmodule.c">
</File>
<File
RelativePath="..\..\Parser\listnode.c">
</File>
<File
RelativePath="..\..\Objects\listobject.c">
</File>
<File
RelativePath="..\..\Objects\longobject.c">
</File>
<File
RelativePath="..\..\Modules\main.c">
</File>
<File
RelativePath="..\..\Python\marshal.c">
</File>
<File
RelativePath="..\..\Modules\mathmodule.c">
</File>
<File
RelativePath="..\..\Modules\md5module.c">
</File>
<File
RelativePath="..\..\Parser\metagrammar.c">
</File>
<File
RelativePath="..\..\Objects\memoryobject.c">
</File>
<File
RelativePath="..\..\Objects\methodobject.c">
</File>
<File
RelativePath="..\..\Modules\mmapmodule.c">
</File>
<File
RelativePath="..\..\Python\modsupport.c">
</File>
<File
RelativePath="..\..\Objects\moduleobject.c">
</File>
<File
RelativePath="..\..\PC\msvcrtmodule.c">
</File>
<File
RelativePath="..\..\Modules\cjkcodecs\multibytecodec.c">
</File>
<File
RelativePath="..\..\Parser\myreadline.c">
</File>
<File
RelativePath="..\..\Python\mysnprintf.c">
</File>
<File
RelativePath="..\..\Python\mystrtoul.c">
</File>
<File
RelativePath="..\..\Parser\node.c">
</File>
<File
RelativePath="..\..\Objects\object.c">
</File>
<File
RelativePath="..\..\Objects\obmalloc.c">
</File>
<File
RelativePath="..\..\Modules\operator.c">
</File>
<File
RelativePath="..\..\Parser\parser.c">
</File>
<File
RelativePath="..\..\Modules\parsermodule.c">
</File>
<File
RelativePath="..\..\Parser\parsetok.c">
</File>
<File
RelativePath="..\..\Python\peephole.c">
</File>
<File
RelativePath="..\..\Modules\posixmodule.c">
</File>
<File
RelativePath="..\..\Python\pyarena.c">
</File>
<File
RelativePath="..\..\Python\pyctype.c">
</File>
<File
RelativePath="..\..\Python\pyfpe.c">
</File>
<File
RelativePath="..\..\Python\pymath.c">
</File>
<File
RelativePath="..\..\Python\pystate.c">
</File>
<File
RelativePath="..\..\Python\pystrcmp.c"
>
</File>
<File
RelativePath="..\..\Python\pystrtod.c">
</File>
<File
RelativePath="..\..\Python\Python-ast.c">
</File>
<File
RelativePath="..\..\PC\python_nt.rc">
</File>
<File
RelativePath="..\..\Python\pythonrun.c">
</File>
<File
RelativePath="..\..\Objects\rangeobject.c">
</File>
<File
RelativePath="..\..\Modules\rotatingtree.c">
</File>
<File
RelativePath="..\..\Objects\setobject.c">
</File>
<File
RelativePath="..\..\Modules\sha256module.c">
</File>
<File
RelativePath="..\..\Modules\sha512module.c">
</File>
<File
RelativePath="..\..\Modules\sha1module.c">
</File>
<File
RelativePath="..\..\Modules\signalmodule.c">
</File>
<File
RelativePath="..\..\Objects\sliceobject.c">
</File>
<File
RelativePath="..\..\Objects\stringobject.c">
</File>
<File
RelativePath="..\..\Python\structmember.c">
</File>
<File
RelativePath="..\..\Objects\structseq.c">
</File>
<File
RelativePath="..\..\Python\symtable.c">
</File>
<File
RelativePath="..\..\Modules\symtablemodule.c">
</File>
<File
RelativePath="..\..\Python\sysmodule.c">
</File>
<File
RelativePath="..\..\Python\thread.c">
</File>
<File
RelativePath="..\..\Modules\_threadmodule.c">
</File>
<File
RelativePath="..\..\Modules\timemodule.c">
</File>
<File
RelativePath="..\..\Parser\tokenizer.c">
</File>
<File
RelativePath="..\..\Python\traceback.c">
</File>
<File
RelativePath="..\..\Objects\tupleobject.c">
</File>
<File
RelativePath="..\..\Objects\typeobject.c">
</File>
<File
RelativePath="..\..\Objects\unicodectype.c">
</File>
<File
RelativePath="..\..\Objects\unicodeobject.c">
</File>
<File
RelativePath="..\..\Objects\weakrefobject.c">
</File>
<File
RelativePath="..\..\Modules\xxsubtype.c">
</File>
<File
RelativePath="..\..\Modules\zipimport.c">
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>