mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-27 14:34:58 +00:00
Eliminate the use of the global variable hack in the X86 target that was used
to get Visual Studio to link in X86.lib to the executables that need it. There is another way of doing it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19252 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5aee0b97aa
commit
40296bdf27
@ -27,13 +27,6 @@ using namespace llvm;
|
||||
|
||||
X86VectorEnum llvm::X86Vector = NoSSE;
|
||||
|
||||
/// X86TargetMachineModule - Note that this is used on hosts that cannot link
|
||||
/// in a library unless there are references into the library. In particular,
|
||||
/// it seems that it is not possible to get things to work on Win32 without
|
||||
/// this. Though it is unused, do not remove it.
|
||||
extern "C" int X86TargetMachineModule;
|
||||
int X86TargetMachineModule = 0;
|
||||
|
||||
namespace {
|
||||
cl::opt<bool> NoSSAPeephole("disable-ssa-peephole", cl::init(true),
|
||||
cl::desc("Disable the ssa-based peephole optimizer "
|
||||
|
@ -37,9 +37,9 @@
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="$(SolutionDir)X86\$(IntDir)\X86TargetMachine.obj"
|
||||
OutputFile="$(OutDir)/Fibonacci.exe"
|
||||
LinkIncremental="2"
|
||||
ForceSymbolReferences="_X86TargetMachineModule"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/Fibonacci.pdb"
|
||||
SubSystem="1"
|
||||
@ -88,9 +88,9 @@
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="$(SolutionDir)X86\$(IntDir)\X86TargetMachine.obj"
|
||||
OutputFile="$(OutDir)/Fibonacci.exe"
|
||||
LinkIncremental="1"
|
||||
ForceSymbolReferences="_X86TargetMachineModule"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
|
@ -36,9 +36,9 @@
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="$(SolutionDir)X86\$(IntDir)\X86TargetMachine.obj"
|
||||
OutputFile="$(OutDir)/llc.exe"
|
||||
LinkIncremental="2"
|
||||
ForceSymbolReferences="_X86TargetMachineModule"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/llc.pdb"
|
||||
SubSystem="1"
|
||||
@ -87,9 +87,9 @@
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="$(SolutionDir)X86\$(IntDir)\X86TargetMachine.obj"
|
||||
OutputFile="$(OutDir)/llc.exe"
|
||||
LinkIncremental="1"
|
||||
ForceSymbolReferences="_X86TargetMachineModule"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
|
@ -36,9 +36,9 @@
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="$(SolutionDir)X86\$(IntDir)\X86TargetMachine.obj"
|
||||
OutputFile="$(OutDir)/lli.exe"
|
||||
LinkIncremental="2"
|
||||
ForceSymbolReferences="_X86TargetMachineModule"
|
||||
GenerateDebugInformation="TRUE"
|
||||
ProgramDatabaseFile="$(OutDir)/lli.pdb"
|
||||
SubSystem="1"
|
||||
@ -87,9 +87,9 @@
|
||||
Name="VCCustomBuildTool"/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="$(SolutionDir)X86\$(IntDir)\X86TargetMachine.obj"
|
||||
OutputFile="$(OutDir)/lli.exe"
|
||||
LinkIncremental="1"
|
||||
ForceSymbolReferences="_X86TargetMachineModule"
|
||||
GenerateDebugInformation="TRUE"
|
||||
SubSystem="1"
|
||||
OptimizeReferences="2"
|
||||
|
@ -20,6 +20,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Fibonacci", "Fibonacci\Fibo
|
||||
{45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB} = {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB}
|
||||
{76295AE8-A083-460E-9F80-6F2B8923264A} = {76295AE8-A083-460E-9F80-6F2B8923264A}
|
||||
{0F8407F3-FA23-4CF1-83A9-DCBE0B361489} = {0F8407F3-FA23-4CF1-83A9-DCBE0B361489}
|
||||
{144EEBF6-8C9B-4473-B715-2C821666AF6C} = {144EEBF6-8C9B-4473-B715-2C821666AF6C}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ExecutionEngine", "ExecutionEngine\ExecutionEngine.vcproj", "{76295AE8-A083-460E-9F80-6F2B8923264A}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user