annotate win/lwtools.sln @ 577:e49d24f4a9a5

Correct bug in the object file output code leading to stack corruption It turns out leaving a pointer to a stack allocated temporary in a persistent data structure is not conducive to correct program operation. Undo the export check setup in the object file output sequence so a pointer to stack allocated memory is not left hanging when the function returns. This seems to correct at least one mysterious crash bug, and possibly others. Thanks to Boisy Pitre for reporting the crash bug that led to this discovery, as well as a previous crash bug that likely has the same root cause. Additional thanks to Ciaran Anscomb whose debugger wielding wizardry revealed the exact location of this particular bit of unbrilliance.
author William Astle <lost@l-w.ca>
date Sat, 03 Aug 2024 14:30:06 -0600
parents 221b5f58d8ad
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
361
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
1 
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
2 Microsoft Visual Studio Solution File, Format Version 12.00
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
3 # Visual Studio 2013
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
4 VisualStudioVersion = 12.0.31101.0
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
5 MinimumVisualStudioVersion = 10.0.40219.1
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
6 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lwlib", "lwlib.vcxproj", "{93A52E3F-D19D-4A1A-8B8F-15270BD3D0E2}"
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
7 EndProject
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
8 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lwasm", "lwasm.vcxproj", "{52309F4D-C1D8-43FC-BC02-C71B69D01E3B}"
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
9 EndProject
386
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
10 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lwlink", "lwlink.vcxproj", "{FF4E3359-4B82-4111-8D32-16E0DCFAE39E}"
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
11 EndProject
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
12 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lwar", "lwar.vcxproj", "{D3F0DBD9-6275-428B-950F-01FE32D77A58}"
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
13 EndProject
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
14 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "lwobjdump", "lwobjdump.vcxproj", "{852540C9-DEA5-4BFF-BE18-FD946C3857AA}"
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
15 EndProject
361
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
16 Global
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
17 GlobalSection(SolutionConfigurationPlatforms) = preSolution
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
18 Debug|Win32 = Debug|Win32
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
19 Release|Win32 = Release|Win32
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
20 EndGlobalSection
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
21 GlobalSection(ProjectConfigurationPlatforms) = postSolution
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
22 {93A52E3F-D19D-4A1A-8B8F-15270BD3D0E2}.Debug|Win32.ActiveCfg = Debug|Win32
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
23 {93A52E3F-D19D-4A1A-8B8F-15270BD3D0E2}.Debug|Win32.Build.0 = Debug|Win32
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
24 {93A52E3F-D19D-4A1A-8B8F-15270BD3D0E2}.Release|Win32.ActiveCfg = Release|Win32
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
25 {93A52E3F-D19D-4A1A-8B8F-15270BD3D0E2}.Release|Win32.Build.0 = Release|Win32
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
26 {52309F4D-C1D8-43FC-BC02-C71B69D01E3B}.Debug|Win32.ActiveCfg = Debug|Win32
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
27 {52309F4D-C1D8-43FC-BC02-C71B69D01E3B}.Debug|Win32.Build.0 = Debug|Win32
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
28 {52309F4D-C1D8-43FC-BC02-C71B69D01E3B}.Release|Win32.ActiveCfg = Release|Win32
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
29 {52309F4D-C1D8-43FC-BC02-C71B69D01E3B}.Release|Win32.Build.0 = Release|Win32
386
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
30 {FF4E3359-4B82-4111-8D32-16E0DCFAE39E}.Debug|Win32.ActiveCfg = Debug|Win32
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
31 {FF4E3359-4B82-4111-8D32-16E0DCFAE39E}.Debug|Win32.Build.0 = Debug|Win32
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
32 {FF4E3359-4B82-4111-8D32-16E0DCFAE39E}.Release|Win32.ActiveCfg = Release|Win32
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
33 {FF4E3359-4B82-4111-8D32-16E0DCFAE39E}.Release|Win32.Build.0 = Release|Win32
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
34 {D3F0DBD9-6275-428B-950F-01FE32D77A58}.Debug|Win32.ActiveCfg = Debug|Win32
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
35 {D3F0DBD9-6275-428B-950F-01FE32D77A58}.Debug|Win32.Build.0 = Debug|Win32
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
36 {D3F0DBD9-6275-428B-950F-01FE32D77A58}.Release|Win32.ActiveCfg = Release|Win32
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
37 {D3F0DBD9-6275-428B-950F-01FE32D77A58}.Release|Win32.Build.0 = Release|Win32
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
38 {852540C9-DEA5-4BFF-BE18-FD946C3857AA}.Debug|Win32.ActiveCfg = Debug|Win32
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
39 {852540C9-DEA5-4BFF-BE18-FD946C3857AA}.Debug|Win32.Build.0 = Debug|Win32
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
40 {852540C9-DEA5-4BFF-BE18-FD946C3857AA}.Release|Win32.ActiveCfg = Release|Win32
221b5f58d8ad Port remainder of tools to Windows
William Astle <lost@l-w.ca>
parents: 361
diff changeset
41 {852540C9-DEA5-4BFF-BE18-FD946C3857AA}.Release|Win32.Build.0 = Release|Win32
361
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
42 EndGlobalSection
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
43 GlobalSection(SolutionProperties) = preSolution
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
44 HideSolutionNode = FALSE
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
45 EndGlobalSection
4130ffdeb5c8 Add contributed support for building with Microsoft's compiler
William Astle <lost@l-w.ca>
parents:
diff changeset
46 EndGlobal