[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h
Changes in directory llvm/include/llvm/CodeGen: AsmPrinter.h updated: 1.34 -> 1.35 --- Log message: De-virtualize EmitZeroes. --- Diffs of the changes: (+2 -1) AsmPrinter.h |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/include/llvm/CodeGen/AsmPrinter.h diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.34 llvm/include/llvm/CodeGen/AsmPrinter.h:1.35 --- llvm/include/llvm/CodeGen/AsmPrinter.h:1.34 Mon May 1 22:11:50 2006 +++ llvm/include/llvm/CodeGen/AsmPrinter.h Mon May 1 22:46:13 2006 @@ -101,6 +101,7 @@ /// "\t.zero\t" and "\t.space\t". If this is set to null, the /// Data*bitsDirective's will be used to emit zero bytes. const char *ZeroDirective; // Defaults to "\t.zero\t" +const char *ZeroDirectiveSuffix; // Defaults to "" /// AsciiDirective - This directive allows emission of an ascii string with /// the standard C escape characters embedded into it. @@ -256,7 +257,7 @@ /// EmitZeros - Emit a block of zeros. /// -virtual void EmitZeros(uint64_t NumZeros) const; +void EmitZeros(uint64_t NumZeros) const; /// EmitString - Emit a zero-byte-terminated string constant. /// ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Target/X86/X86IntelAsmPrinter.cpp X86IntelAsmPrinter.h
Changes in directory llvm/lib/Target/X86: X86IntelAsmPrinter.cpp updated: 1.33 -> 1.34 X86IntelAsmPrinter.h updated: 1.17 -> 1.18 --- Log message: De-virtualize EmitZeroes. --- Diffs of the changes: (+2 -8) X86IntelAsmPrinter.cpp |9 ++--- X86IntelAsmPrinter.h |1 - 2 files changed, 2 insertions(+), 8 deletions(-) Index: llvm/lib/Target/X86/X86IntelAsmPrinter.cpp diff -u llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.33 llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.34 --- llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.33 Mon May 1 22:11:50 2006 +++ llvm/lib/Target/X86/X86IntelAsmPrinter.cpp Mon May 1 22:46:13 2006 @@ -28,7 +28,8 @@ GlobalPrefix = "_"; PrivateGlobalPrefix = "$"; AlignDirective = "\talign\t"; - ZeroDirective = 0; + ZeroDirective = "\tdb\t"; + ZeroDirectiveSuffix = " dup(0)"; AsciiDirective = "\tdb\t"; AscizDirective = 0; Data8bitsDirective = "\t.db\t"; @@ -472,12 +473,6 @@ } } -void X86IntelAsmPrinter::EmitZeros(uint64_t NumZeros) const { - if (NumZeros) { -O << "\tdb " << NumZeros << " dup(0)\n"; - } -} - void X86IntelAsmPrinter::EmitString(const ConstantArray *CVA) const { unsigned NumElts = CVA->getNumOperands(); if (NumElts) { Index: llvm/lib/Target/X86/X86IntelAsmPrinter.h diff -u llvm/lib/Target/X86/X86IntelAsmPrinter.h:1.17 llvm/lib/Target/X86/X86IntelAsmPrinter.h:1.18 --- llvm/lib/Target/X86/X86IntelAsmPrinter.h:1.17 Mon May 1 22:11:50 2006 +++ llvm/lib/Target/X86/X86IntelAsmPrinter.hMon May 1 22:46:13 2006 @@ -93,7 +93,6 @@ bool doFinalization(Module &M); virtual void SwitchSection(const char *NewSection, const GlobalValue *GV); - virtual void EmitZeros(uint64_t NumZeros) const; virtual void EmitString(const ConstantArray *CVA) const; }; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/CodeGen/AsmPrinter.cpp
Changes in directory llvm/lib/CodeGen: AsmPrinter.cpp updated: 1.61 -> 1.62 --- Log message: De-virtualize EmitZeroes. --- Diffs of the changes: (+7 -3) AsmPrinter.cpp | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) Index: llvm/lib/CodeGen/AsmPrinter.cpp diff -u llvm/lib/CodeGen/AsmPrinter.cpp:1.61 llvm/lib/CodeGen/AsmPrinter.cpp:1.62 --- llvm/lib/CodeGen/AsmPrinter.cpp:1.61Mon May 1 20:16:28 2006 +++ llvm/lib/CodeGen/AsmPrinter.cpp Mon May 1 22:46:13 2006 @@ -37,6 +37,7 @@ InlineAsmStart("#APP\n\t"), InlineAsmEnd("\t#NO_APP\n"), ZeroDirective("\t.zero\t"), + ZeroDirectiveSuffix(0), AsciiDirective("\t.ascii\t"), AscizDirective("\t.asciz\t"), Data8bitsDirective("\t.byte\t"), @@ -240,9 +241,12 @@ /// void AsmPrinter::EmitZeros(uint64_t NumZeros) const { if (NumZeros) { -if (ZeroDirective) - O << ZeroDirective << NumZeros << "\n"; -else { +if (ZeroDirective) { + O << ZeroDirective << NumZeros; + if (ZeroDirectiveSuffix) +O << ZeroDirectiveSuffix; + O << "\n"; +} else { for (; NumZeros; --NumZeros) O << Data8bitsDirective << "0\n"; } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Target/X86/X86IntelAsmPrinter.cpp X86IntelAsmPrinter.h
Changes in directory llvm/lib/Target/X86: X86IntelAsmPrinter.cpp updated: 1.32 -> 1.33 X86IntelAsmPrinter.h updated: 1.16 -> 1.17 --- Log message: Finish support for Microsoft ML/MASM. May still be a few rough edges. --- Diffs of the changes: (+50 -3) X86IntelAsmPrinter.cpp | 51 ++--- X86IntelAsmPrinter.h |2 + 2 files changed, 50 insertions(+), 3 deletions(-) Index: llvm/lib/Target/X86/X86IntelAsmPrinter.cpp diff -u llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.32 llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.33 --- llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.32 Mon May 1 20:16:28 2006 +++ llvm/lib/Target/X86/X86IntelAsmPrinter.cpp Mon May 1 22:11:50 2006 @@ -36,8 +36,6 @@ Data32bitsDirective = "\t.dd\t"; Data64bitsDirective = "\t.dq\t"; HasDotTypeDotSizeDirective = false; - - O << "\t.686\n\t.model flat\n\toption dotname\n"; } /// runOnMachineFunction - This uses the printMachineInstruction() @@ -57,7 +55,7 @@ EmitConstantPool(MF.getConstantPool()); // Print out labels for the function. - SwitchSection(".code\n", MF.getFunction()); + SwitchSection(".code", MF.getFunction()); EmitAlignment(4); if (MF.getFunction()->getLinkage() == GlobalValue::ExternalLinkage) O << "\tpublic " << CurrentFnName << "\n"; @@ -424,9 +422,56 @@ bool X86IntelAsmPrinter::doInitialization(Module &M) { X86SharedAsmPrinter::doInitialization(M); Mang->markCharUnacceptable('.'); + PrivateGlobalPrefix = "$"; // need this here too :( + O << "\t.686\n\t.model flat\n\n"; + + // Emit declarations for external functions. + for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I) +if (I->isExternal()) + O << "\textern " << Mang->getValueName(I) << ":near\n"; + + // Emit declarations for external globals. + for (Module::const_global_iterator I = M.global_begin(), E = M.global_end(); + I != E; ++I) { +if (I->isExternal()) + O << "\textern " << Mang->getValueName(I) << ":byte\n"; + } + return false; } +bool X86IntelAsmPrinter::doFinalization(Module &M) { + X86SharedAsmPrinter::doFinalization(M); + if (CurrentSection != "") +O << CurrentSection << "\tends\n"; + O << "\tend\n"; + return false; +} + +void X86IntelAsmPrinter::SwitchSection(const char *NewSection, + const GlobalValue *GV) { + if (*NewSection == 0) +return; + + std::string NS; + bool isData = strcmp(NewSection , ".data") == 0; + + if (GV && GV->hasSection()) +NS = GV->getSection(); + else if (isData) +NS = "_data"; + else +NS = "_text"; + + if (CurrentSection != NS) { +if (CurrentSection != "") + O << CurrentSection << "\tends\n"; +CurrentSection = NS; +O << CurrentSection << (isData ? "\tsegment 'DATA'\n" + : "\tsegment 'CODE'\n"); + } +} + void X86IntelAsmPrinter::EmitZeros(uint64_t NumZeros) const { if (NumZeros) { O << "\tdb " << NumZeros << " dup(0)\n"; Index: llvm/lib/Target/X86/X86IntelAsmPrinter.h diff -u llvm/lib/Target/X86/X86IntelAsmPrinter.h:1.16 llvm/lib/Target/X86/X86IntelAsmPrinter.h:1.17 --- llvm/lib/Target/X86/X86IntelAsmPrinter.h:1.16 Mon May 1 20:16:28 2006 +++ llvm/lib/Target/X86/X86IntelAsmPrinter.hMon May 1 22:11:50 2006 @@ -90,7 +90,9 @@ void printPICLabel(const MachineInstr *MI, unsigned Op); bool runOnMachineFunction(MachineFunction &F); bool doInitialization(Module &M); + bool doFinalization(Module &M); + virtual void SwitchSection(const char *NewSection, const GlobalValue *GV); virtual void EmitZeros(uint64_t NumZeros) const; virtual void EmitString(const ConstantArray *CVA) const; }; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h
Changes in directory llvm/include/llvm/CodeGen: AsmPrinter.h updated: 1.33 -> 1.34 --- Log message: Finish support for Microsoft ML/MASM. May still be a few rough edges. --- Diffs of the changes: (+3 -1) AsmPrinter.h |4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/include/llvm/CodeGen/AsmPrinter.h diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.33 llvm/include/llvm/CodeGen/AsmPrinter.h:1.34 --- llvm/include/llvm/CodeGen/AsmPrinter.h:1.33 Mon May 1 20:16:28 2006 +++ llvm/include/llvm/CodeGen/AsmPrinter.h Mon May 1 22:11:50 2006 @@ -26,10 +26,12 @@ class GlobalVariable; class AsmPrinter : public MachineFunctionPass { + protected: /// CurrentSection - The current section we are emitting to. This is /// controlled and used by the SwitchSection method. std::string CurrentSection; + private: /// FunctionNumber - This provides a unique ID for each function emitted in /// this translation unit. It is autoincremented by SetupMachineFunction, /// and can be accessed with getFunctionNumber() and @@ -185,7 +187,7 @@ /// If the new section is an empty string, this method forgets what the /// current section is, but does not emit a .section directive. /// -void SwitchSection(const char *NewSection, const GlobalValue *GV); +virtual void SwitchSection(const char *NewSection, const GlobalValue *GV); /// getPreferredAlignmentLog - Return the preferred alignment of the /// specified global, returned in log form. This includes an explicitly ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Target/X86/X86IntelAsmPrinter.cpp X86IntelAsmPrinter.h
Changes in directory llvm/lib/Target/X86: X86IntelAsmPrinter.cpp updated: 1.31 -> 1.32 X86IntelAsmPrinter.h updated: 1.15 -> 1.16 --- Log message: Make Intel syntax mode friendlier to Microsoft ML assembler (still needs more work). --- Diffs of the changes: (+97 -17) X86IntelAsmPrinter.cpp | 106 ++--- X86IntelAsmPrinter.h |8 ++- 2 files changed, 97 insertions(+), 17 deletions(-) Index: llvm/lib/Target/X86/X86IntelAsmPrinter.cpp diff -u llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.31 llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.32 --- llvm/lib/Target/X86/X86IntelAsmPrinter.cpp:1.31 Mon May 1 00:53:50 2006 +++ llvm/lib/Target/X86/X86IntelAsmPrinter.cpp Mon May 1 20:16:28 2006 @@ -15,12 +15,31 @@ #include "X86IntelAsmPrinter.h" #include "X86.h" +#include "llvm/Constants.h" #include "llvm/Module.h" #include "llvm/Assembly/Writer.h" #include "llvm/Support/Mangler.h" #include "llvm/Target/TargetOptions.h" using namespace llvm; +X86IntelAsmPrinter::X86IntelAsmPrinter(std::ostream &O, X86TargetMachine &TM) +: X86SharedAsmPrinter(O, TM) { + CommentString = ";"; + GlobalPrefix = "_"; + PrivateGlobalPrefix = "$"; + AlignDirective = "\talign\t"; + ZeroDirective = 0; + AsciiDirective = "\tdb\t"; + AscizDirective = 0; + Data8bitsDirective = "\t.db\t"; + Data16bitsDirective = "\t.dw\t"; + Data32bitsDirective = "\t.dd\t"; + Data64bitsDirective = "\t.dq\t"; + HasDotTypeDotSizeDirective = false; + + O << "\t.686\n\t.model flat\n\toption dotname\n"; +} + /// runOnMachineFunction - This uses the printMachineInstruction() /// method to print assembly for each instruction. /// @@ -38,12 +57,11 @@ EmitConstantPool(MF.getConstantPool()); // Print out labels for the function. - SwitchSection("\t.text\n", MF.getFunction()); + SwitchSection(".code\n", MF.getFunction()); EmitAlignment(4); - O << "\t.globl\t" << CurrentFnName << "\n"; - if (HasDotTypeDotSizeDirective) -O << "\t.type\t" << CurrentFnName << ", @function\n"; - O << CurrentFnName << ":\n"; + if (MF.getFunction()->getLinkage() == GlobalValue::ExternalLinkage) +O << "\tpublic " << CurrentFnName << "\n"; + O << CurrentFnName << "\tproc near\n"; if (forDarwin) { // Emit pre-function debug information. @@ -71,6 +89,8 @@ DW.EndFunction(); } + O << CurrentFnName << "\tendp\n"; + // We didn't modify anything. return false; } @@ -403,17 +423,75 @@ bool X86IntelAsmPrinter::doInitialization(Module &M) { X86SharedAsmPrinter::doInitialization(M); - // Tell gas we are outputting Intel syntax (not AT&T syntax) assembly. - // - // Bug: gas in `intel_syntax noprefix' mode interprets the symbol `Sp' in an - // instruction as a reference to the register named sp, and if you try to - // reference a symbol `Sp' (e.g. `mov ECX, OFFSET Sp') then it gets lowercased - // before being looked up in the symbol table. This creates spurious - // `undefined symbol' errors when linking. Workaround: Do not use `noprefix' - // mode, and decorate all register names with percent signs. - O << "\t.intel_syntax\n"; + Mang->markCharUnacceptable('.'); return false; } +void X86IntelAsmPrinter::EmitZeros(uint64_t NumZeros) const { + if (NumZeros) { +O << "\tdb " << NumZeros << " dup(0)\n"; + } +} + +void X86IntelAsmPrinter::EmitString(const ConstantArray *CVA) const { + unsigned NumElts = CVA->getNumOperands(); + if (NumElts) { +// ML does not have escape sequences except '' for '. It also has a maximum +// string length of 255. +unsigned len = 0; +bool inString = false; +for (unsigned i = 0; i < NumElts; i++) { + int n = cast(CVA->getOperand(i))->getRawValue() & 255; + if (len == 0) +O << "\tdb "; + + if (n >= 32 && n <= 127) { +if (!inString) { + if (len > 0) { +O << ",'"; +len += 2; + } else { +O << "'"; +len++; + } + inString = true; +} +if (n == '\'') { + O << "'"; + len++; +} +O << char(n); + } else { +if (inString) { + O << "'"; + len++; + inString = false; +} +if (len > 0) { + O << ","; + len++; +} +O << n; +len += 1 + (n > 9) + (n > 99); + } + + if (len > 60) { +if (inString) { + O << "'"; + inString = false; +} +O << "\n"; +len = 0; + } +} + +if (len > 0) { + if (inString) +O << "'"; + O << "\n"; +} + } +} + // Include the auto-generated portion of the assembly writer. #include "X86GenAsmWriter1.inc" Index: llvm/lib/Target/X86/X86IntelAsmPrinter.h diff -u llvm/lib/Target/X86/X86IntelAsmPrinter.h:1.15 llvm/lib/Target/X86/X86IntelAsmPrinter.h:1.16 --- llvm/lib/Target/X86/X86IntelAsmPrinter.h:1.15 Mon May 1 00:53:50 2006 +++ llvm/lib/
[llvm-commits] CVS: llvm/lib/CodeGen/AsmPrinter.cpp
Changes in directory llvm/lib/CodeGen: AsmPrinter.cpp updated: 1.60 -> 1.61 --- Log message: Make Intel syntax mode friendlier to Microsoft ML assembler (still needs more work). --- Diffs of the changes: (+16 -10) AsmPrinter.cpp | 26 -- 1 files changed, 16 insertions(+), 10 deletions(-) Index: llvm/lib/CodeGen/AsmPrinter.cpp diff -u llvm/lib/CodeGen/AsmPrinter.cpp:1.60 llvm/lib/CodeGen/AsmPrinter.cpp:1.61 --- llvm/lib/CodeGen/AsmPrinter.cpp:1.60Sun Apr 30 23:11:03 2006 +++ llvm/lib/CodeGen/AsmPrinter.cpp Mon May 1 20:16:28 2006 @@ -372,6 +372,21 @@ O << "\""; } +/// EmitString - Emit a zero-byte-terminated string constant. +/// +void AsmPrinter::EmitString(const ConstantArray *CVA) const { + unsigned NumElts = CVA->getNumOperands(); + if (AscizDirective && NumElts && + cast(CVA->getOperand(NumElts-1))->getRawValue() == 0) { +O << AscizDirective; +printAsCString(O, CVA, NumElts-1); + } else { +O << AsciiDirective; +printAsCString(O, CVA, NumElts); + } + O << "\n"; +} + /// EmitGlobalConstant - Print a general LLVM constant to the .s file. /// void AsmPrinter::EmitGlobalConstant(const Constant *CV) { @@ -382,16 +397,7 @@ return; } else if (const ConstantArray *CVA = dyn_cast(CV)) { if (CVA->isString()) { - unsigned NumElts = CVA->getNumOperands(); - if (AscizDirective && NumElts && - cast(CVA->getOperand(NumElts-1))->getRawValue() == 0) { -O << AscizDirective; -printAsCString(O, CVA, NumElts-1); - } else { -O << AsciiDirective; -printAsCString(O, CVA, NumElts); - } - O << "\n"; + EmitString(CVA); } else { // Not a string. Print the values in successive locations for (unsigned i = 0, e = CVA->getNumOperands(); i != e; ++i) EmitGlobalConstant(CVA->getOperand(i)); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h
Changes in directory llvm/include/llvm/CodeGen: AsmPrinter.h updated: 1.32 -> 1.33 --- Log message: Make Intel syntax mode friendlier to Microsoft ML assembler (still needs more work). --- Diffs of the changes: (+6 -1) AsmPrinter.h |7 ++- 1 files changed, 6 insertions(+), 1 deletion(-) Index: llvm/include/llvm/CodeGen/AsmPrinter.h diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.32 llvm/include/llvm/CodeGen/AsmPrinter.h:1.33 --- llvm/include/llvm/CodeGen/AsmPrinter.h:1.32 Sat Apr 22 13:53:45 2006 +++ llvm/include/llvm/CodeGen/AsmPrinter.h Mon May 1 20:16:28 2006 @@ -21,6 +21,7 @@ namespace llvm { class Constant; + class ConstantArray; class Mangler; class GlobalVariable; @@ -253,7 +254,11 @@ /// EmitZeros - Emit a block of zeros. /// -void EmitZeros(uint64_t NumZeros) const; +virtual void EmitZeros(uint64_t NumZeros) const; + +/// EmitString - Emit a zero-byte-terminated string constant. +/// +virtual void EmitString(const ConstantArray *CVA) const; /// EmitConstantValueOnly - Print out the specified constant, without a /// storage class. Only constants of first-class type are allowed here. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/System/Win32/Path.inc
Changes in directory llvm/lib/System/Win32: Path.inc updated: 1.40 -> 1.41 --- Log message: Mingw32 patches supplied by Anton Korobeynikov. --- Diffs of the changes: (+1 -1) Path.inc |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/System/Win32/Path.inc diff -u llvm/lib/System/Win32/Path.inc:1.40 llvm/lib/System/Win32/Path.inc:1.41 --- llvm/lib/System/Win32/Path.inc:1.40 Sat Jul 9 13:42:49 2005 +++ llvm/lib/System/Win32/Path.inc Sat Apr 29 13:41:44 2006 @@ -741,7 +741,7 @@ } void -sys::CopyFile(const sys::Path &Dest, const sys::Path &Src) { +CopyFile(const sys::Path &Dest, const sys::Path &Src) { // Can't use CopyFile macro defined in Windows.h because it would mess up the // above line. We use the expansion it would have in a non-UNICODE build. if (!::CopyFileA(Src.c_str(), Dest.c_str(), false)) ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Target/X86/X86JITInfo.cpp
Changes in directory llvm/lib/Target/X86: X86JITInfo.cpp updated: 1.16 -> 1.17 --- Log message: Mingw32 patches supplied by Anton Korobeynikov. --- Diffs of the changes: (+2 -2) X86JITInfo.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Target/X86/X86JITInfo.cpp diff -u llvm/lib/Target/X86/X86JITInfo.cpp:1.16 llvm/lib/Target/X86/X86JITInfo.cpp:1.17 --- llvm/lib/Target/X86/X86JITInfo.cpp:1.16 Tue Apr 25 15:54:26 2006 +++ llvm/lib/Target/X86/X86JITInfo.cpp Sat Apr 29 13:41:44 2006 @@ -48,7 +48,7 @@ asm( ".text\n" ".align 8\n" -#if defined(__CYGWIN__) || defined(__APPLE__) +#if defined(__CYGWIN__) || defined(__APPLE__) || defined(__MINGW32__) ".globl _X86CompilationCallback\n" "_X86CompilationCallback:\n" #else @@ -59,7 +59,7 @@ "movl%esp, %ebp\n"// Standard prologue "pushl %eax\n" "pushl %edx\n" // save EAX/EDX -#if defined(__CYGWIN__) +#if defined(__CYGWIN__) || defined(__MINGW32__) "call_X86CompilationCallback2\n" #elif defined(__APPLE__) "movl4(%ebp), %eax\n" // load the address of return address ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/docs/FAQ.html
Changes in directory llvm/docs: FAQ.html updated: 1.35 -> 1.36 --- Log message: Actually, semantical doesn't appear to be a word. --- Diffs of the changes: (+2 -2) FAQ.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/docs/FAQ.html diff -u llvm/docs/FAQ.html:1.35 llvm/docs/FAQ.html:1.36 --- llvm/docs/FAQ.html:1.35 Wed Apr 26 13:10:59 2006 +++ llvm/docs/FAQ.html Wed Apr 26 16:03:17 2006 @@ -418,7 +418,7 @@ Currently, there isn't much. LLVM supports an intermediate representation which is useful for code representation but will not support the high level (abstract syntax tree) representation needed by most compilers. There are no - facilities for lexical nor semantical analysis. There is, however, a mostly + facilities for lexical nor semantic analysis. There is, however, a mostly implemented configuration-driven compiler driver which simplifies the task of running optimizations, linking, and executable generation. @@ -614,7 +614,7 @@ src="http://www.w3.org/Icons/valid-html401"; alt="Valid HTML 4.01!"> http://llvm.org";>LLVM Compiler Infrastructure - Last modified: $Date: 2006/04/26 18:10:59 $ + Last modified: $Date: 2006/04/26 21:03:17 $ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/docs/FAQ.html
Changes in directory llvm/docs: FAQ.html updated: 1.33 -> 1.34 --- Log message: Fix typo. --- Diffs of the changes: (+2 -2) FAQ.html |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/docs/FAQ.html diff -u llvm/docs/FAQ.html:1.33 llvm/docs/FAQ.html:1.34 --- llvm/docs/FAQ.html:1.33 Wed Apr 26 10:46:53 2006 +++ llvm/docs/FAQ.html Wed Apr 26 13:05:25 2006 @@ -418,7 +418,7 @@ Currently, there isn't much. LLVM supports an intermediate representation which is useful for code representation but will not support the high level (abstract syntax tree) representation needed by most compilers. There are no - facilities for lexical nor semantica analysis. There is, however, a mostly + facilities for lexical nor semantical analysis. There is, however, a mostly implemented configuration-driven compiler driver which simplifies the task of running optimizations, linking, and executable generation. @@ -617,7 +617,7 @@ src="http://www.w3.org/Icons/valid-html401"; alt="Valid HTML 4.01!"> http://llvm.org";>LLVM Compiler Infrastructure - Last modified: $Date: 2006/04/26 15:46:53 $ + Last modified: $Date: 2006/04/26 18:05:25 $ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/CodeGen/CodeGen.vcproj
Changes in directory llvm/win32/CodeGen: CodeGen.vcproj updated: 1.22 -> 1.23 --- Log message: Keep Visual Studio informed. --- Diffs of the changes: (+3 -0) CodeGen.vcproj |3 +++ 1 files changed, 3 insertions(+) Index: llvm/win32/CodeGen/CodeGen.vcproj diff -u llvm/win32/CodeGen/CodeGen.vcproj:1.22 llvm/win32/CodeGen/CodeGen.vcproj:1.23 --- llvm/win32/CodeGen/CodeGen.vcproj:1.22 Thu Mar 23 20:18:52 2006 +++ llvm/win32/CodeGen/CodeGen.vcproj Sat Apr 22 23:37:08 2006 @@ -259,6 +259,9 @@ RelativePath="..\..\include\llvm\CodeGen\MachineInstrBuilder.h"> + + http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/Target/Target.vcproj
Changes in directory llvm/win32/Target: Target.vcproj updated: 1.13 -> 1.14 --- Log message: Keep Visual Studio informed. --- Diffs of the changes: (+0 -6) Target.vcproj |6 -- 1 files changed, 6 deletions(-) Index: llvm/win32/Target/Target.vcproj diff -u llvm/win32/Target/Target.vcproj:1.13 llvm/win32/Target/Target.vcproj:1.14 --- llvm/win32/Target/Target.vcproj:1.13Sun Jan 29 22:07:07 2006 +++ llvm/win32/Target/Target.vcproj Thu Apr 20 17:19:06 2006 @@ -133,9 +133,6 @@ RelativePath="..\..\lib\Target\TargetMachineRegistry.cpp"> - - @@ -177,9 +174,6 @@ RelativePath="..\..\include\llvm\Target\TargetOptions.h"> - - ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Target/CBackend/Writer.cpp
Changes in directory llvm/lib/Target/CBackend: Writer.cpp updated: 1.259 -> 1.260 --- Log message: Add checks for __OpenBSD__. --- Diffs of the changes: (+1 -1) Writer.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/Target/CBackend/Writer.cpp diff -u llvm/lib/Target/CBackend/Writer.cpp:1.259 llvm/lib/Target/CBackend/Writer.cpp:1.260 --- llvm/lib/Target/CBackend/Writer.cpp:1.259 Thu Mar 23 12:08:29 2006 +++ llvm/lib/Target/CBackend/Writer.cpp Mon Apr 17 12:55:40 2006 @@ -813,7 +813,7 @@ << "extern void *__builtin_alloca(unsigned int);\n" << "#endif\n" << "#define alloca(x) __builtin_alloca(x)\n" - << "#elif defined(__FreeBSD__)\n" + << "#elif defined(__FreeBSD__) || defined(__OpenBSD__)\n" << "#define alloca(x) __builtin_alloca(x)\n" << "#elif !defined(_MSC_VER)\n" << "#include \n" ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c
Changes in directory llvm-test/SingleSource/Regression/C: 2004-08-12-InlinerAndAllocas.c updated: 1.4 -> 1.5 --- Log message: Add checks for __OpenBSD__. --- Diffs of the changes: (+1 -1) 2004-08-12-InlinerAndAllocas.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c diff -u llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c:1.4 llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c:1.5 --- llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c:1.4 Sun Jan 22 23:28:20 2006 +++ llvm-test/SingleSource/Regression/C/2004-08-12-InlinerAndAllocas.c Mon Apr 17 12:55:41 2006 @@ -1,7 +1,7 @@ // A compiler cannot inline Callee into main unless it is prepared to reclaim // the stack memory allocated in it. -#ifdef __FreeBSD__ +#if defined(__FreeBSD__) || defined(__OpenBSD__) #include #else #include ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MallocBench/make/arscan.c job.c make.h misc.c read.c
Changes in directory llvm-test/MultiSource/Benchmarks/MallocBench/make: arscan.c updated: 1.4 -> 1.5 job.c updated: 1.4 -> 1.5 make.h updated: 1.4 -> 1.5 misc.c updated: 1.4 -> 1.5 read.c updated: 1.5 -> 1.6 --- Log message: Add checks for __OpenBSD__. --- Diffs of the changes: (+11 -8) arscan.c |5 +++-- job.c|4 ++-- make.h |5 +++-- misc.c |2 +- read.c |3 ++- 5 files changed, 11 insertions(+), 8 deletions(-) Index: llvm-test/MultiSource/Benchmarks/MallocBench/make/arscan.c diff -u llvm-test/MultiSource/Benchmarks/MallocBench/make/arscan.c:1.4 llvm-test/MultiSource/Benchmarks/MallocBench/make/arscan.c:1.5 --- llvm-test/MultiSource/Benchmarks/MallocBench/make/arscan.c:1.4 Tue Jul 20 13:24:33 2004 +++ llvm-test/MultiSource/Benchmarks/MallocBench/make/arscan.c Mon Apr 17 12:55:40 2006 @@ -38,7 +38,8 @@ #endif #if(defined(STDC_HEADERS) || defined(__GNU_LIBRARY__) || \ - defined(POSIX)) || defined(__FreeBSD__) || defined(__APPLE__) + defined(POSIX)) || defined(__FreeBSD__) || defined(__OpenBSD__) || \ + defined(__APPLE__) #include #include #defineANSI_STRING @@ -94,7 +95,7 @@ #endif #ifdefined(__GNU_LIBRARY__) || defined(POSIX) || defined(_IBMR2) || \ -defined(__FreeBSD__) || defined(__APPLE__) +defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__) #include #else extern int read (), open (), close (), write (), fstat (); Index: llvm-test/MultiSource/Benchmarks/MallocBench/make/job.c diff -u llvm-test/MultiSource/Benchmarks/MallocBench/make/job.c:1.4 llvm-test/MultiSource/Benchmarks/MallocBench/make/job.c:1.5 --- llvm-test/MultiSource/Benchmarks/MallocBench/make/job.c:1.4 Tue Jul 20 13:24:33 2004 +++ llvm-test/MultiSource/Benchmarks/MallocBench/make/job.c Mon Apr 17 12:55:40 2006 @@ -31,7 +31,7 @@ char default_shell[] = "/bin/sh"; #ifdefined(POSIX) || defined(__GNU_LIBRARY__) || defined(__FreeBSD__) || \ -defined(__APPLE__) +defined(__OpenBSD__) || defined(__APPLE__) #include #include #defineGET_NGROUPS_MAX sysconf (_SC_NGROUPS_MAX) @@ -102,7 +102,7 @@ #ifdefined(__GNU_LIBRARY__) || defined(POSIX) || defined(__CYGWIN__) || \ -defined(__FreeBSD__) || defined(__APPLE__) +defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__) #include #defineGID_T gid_t Index: llvm-test/MultiSource/Benchmarks/MallocBench/make/make.h diff -u llvm-test/MultiSource/Benchmarks/MallocBench/make/make.h:1.4 llvm-test/MultiSource/Benchmarks/MallocBench/make/make.h:1.5 --- llvm-test/MultiSource/Benchmarks/MallocBench/make/make.h:1.4Tue Jul 20 13:24:33 2004 +++ llvm-test/MultiSource/Benchmarks/MallocBench/make/make.hMon Apr 17 12:55:40 2006 @@ -83,7 +83,8 @@ #if(defined(STDC_HEADERS) || defined(__GNU_LIBRARY__) || \ - defined(POSIX) || defined(__FreeBSD__) || defined(__APPLE__)) + defined(POSIX) || defined(__FreeBSD__) || defined(__APPLE__) \ + defined(__OpenBSD__)) #include #include #defineANSI_STRING @@ -216,7 +217,7 @@ #endif /* USG and don't have vfork. */ #ifdefined(__GNU_LIBRARY__) || defined(POSIX) || defined(__CYGWIN__) || \ -defined(__FreeBSD__) || defined(__APPLE__) +defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__) #include #include Index: llvm-test/MultiSource/Benchmarks/MallocBench/make/misc.c diff -u llvm-test/MultiSource/Benchmarks/MallocBench/make/misc.c:1.4 llvm-test/MultiSource/Benchmarks/MallocBench/make/misc.c:1.5 --- llvm-test/MultiSource/Benchmarks/MallocBench/make/misc.c:1.4Tue Jul 20 13:24:33 2004 +++ llvm-test/MultiSource/Benchmarks/MallocBench/make/misc.cMon Apr 17 12:55:40 2006 @@ -477,7 +477,7 @@ #endif #if!defined(POSIX) && !defined(__GNU_LIBRARY__) && !defined(__CYGWIN__) && \ -!defined(__FreeBSD__) && !defined(__APPLE__) +!defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__APPLE__) extern int getuid (), getgid (), geteuid (), getegid (); #ifdef USG extern int setuid (), setgid (); Index: llvm-test/MultiSource/Benchmarks/MallocBench/make/read.c diff -u llvm-test/MultiSource/Benchmarks/MallocBench/make/read.c:1.5 llvm-test/MultiSource/Benchmarks/MallocBench/make/read.c:1.6 --- llvm-test/MultiSource/Benchmarks/MallocBench/make/read.c:1.5Tue Sep 28 12:24:36 2004 +++ llvm-test/MultiSource/Benchmarks/MallocBench/make/read.cMon Apr 17 12:55:40 2006 @@ -23,7 +23,8 @@ /* This is POSIX.2, but most systems using -DPOSIX probably don't have it. */ #if defined(__GNU_LIBRARY__) || defined(__CYGWIN__) || defined(__FreeBSD__) || \ -defined(__APPLE__) || (defined(__sun__) && defined(__svr4__)) +defined(__OpenBSD__) || defined(__APPLE__) || \ +(defined(__sun__) && defined(__svr4__)) #include #else #include "glob/glob.h" ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.ui
[llvm-commits] CVS: llvm/lib/System/Mutex.cpp
Changes in directory llvm/lib/System: Mutex.cpp updated: 1.6 -> 1.7 --- Log message: Add checks for __OpenBSD__. --- Diffs of the changes: (+1 -1) Mutex.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/System/Mutex.cpp diff -u llvm/lib/System/Mutex.cpp:1.6 llvm/lib/System/Mutex.cpp:1.7 --- llvm/lib/System/Mutex.cpp:1.6 Wed Aug 24 05:07:21 2005 +++ llvm/lib/System/Mutex.cpp Mon Apr 17 12:55:40 2006 @@ -75,7 +75,7 @@ errorcode = pthread_mutexattr_settype(&attr, kind); assert(errorcode == 0); -#ifndef __FreeBSD__ +#if !defined(__FreeBSD__) && !defined(__OpenBSD__) // Make it a process local mutex errorcode = pthread_mutexattr_setpshared(&attr, PTHREAD_PROCESS_PRIVATE); #endif ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-test/SingleSource/Benchmarks/Misc/mandel.c
Changes in directory llvm-test/SingleSource/Benchmarks/Misc: mandel.c updated: 1.10 -> 1.11 --- Log message: Add checks for __OpenBSD__. --- Diffs of the changes: (+1 -1) mandel.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/SingleSource/Benchmarks/Misc/mandel.c diff -u llvm-test/SingleSource/Benchmarks/Misc/mandel.c:1.10 llvm-test/SingleSource/Benchmarks/Misc/mandel.c:1.11 --- llvm-test/SingleSource/Benchmarks/Misc/mandel.c:1.10Tue Jul 20 11:11:20 2004 +++ llvm-test/SingleSource/Benchmarks/Misc/mandel.c Mon Apr 17 12:55:40 2006 @@ -14,7 +14,7 @@ #define I 1.0iF -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__OpenBSD__) #include #elif defined(__APPLE__) #include ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c
Changes in directory llvm-test/MultiSource/Benchmarks/Olden/voronoi: newvor.c updated: 1.10 -> 1.11 --- Log message: Add checks for __OpenBSD__. --- Diffs of the changes: (+1 -1) newvor.c |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c diff -u llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c:1.10 llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c:1.11 --- llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c:1.10Fri Jul 15 19:26:48 2005 +++ llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c Mon Apr 17 12:55:40 2006 @@ -165,7 +165,7 @@ void delete_all_edges() { next_edge= 0; avail_edge = NYL;} -#if defined(__APPLE__) || defined(__FreeBSD__) +#if defined(__APPLE__) || defined(__FreeBSD__) || defined(__OpenBSD__) #define MEMALIGN_IS_NOT_AVAILABLE #endif ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp
Changes in directory llvm-test/MultiSource/Applications/hexxagon: hexxagonmove.cpp updated: 1.3 -> 1.4 --- Log message: Add checks for __OpenBSD__. --- Diffs of the changes: (+1 -1) hexxagonmove.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp diff -u llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp:1.3 llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp:1.4 --- llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cpp:1.3Wed Oct 26 10:34:35 2005 +++ llvm-test/MultiSource/Applications/hexxagon/hexxagonmove.cppMon Apr 17 12:55:40 2006 @@ -25,7 +25,7 @@ #include #include -#if defined(__FreeBSD__) || defined(__APPLE__) +#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__) #include #else #include ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/Transforms/Transforms.vcproj
Changes in directory llvm/win32/Transforms: Transforms.vcproj updated: 1.21 -> 1.22 --- Log message: Keep Visual Studio happy. --- Diffs of the changes: (+3 -0) Transforms.vcproj |3 +++ 1 files changed, 3 insertions(+) Index: llvm/win32/Transforms/Transforms.vcproj diff -u llvm/win32/Transforms/Transforms.vcproj:1.21 llvm/win32/Transforms/Transforms.vcproj:1.22 --- llvm/win32/Transforms/Transforms.vcproj:1.21Sun Jan 29 22:07:07 2006 +++ llvm/win32/Transforms/Transforms.vcproj Mon Apr 10 21:01:22 2006 @@ -179,6 +179,9 @@ RelativePath="..\..\lib\Transforms\Ipo\GlobalOpt.cpp"> + + http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/VMCore/VMCore.vcproj
Changes in directory llvm/win32/VMCore: VMCore.vcproj updated: 1.20 -> 1.21 --- Log message: Get Visual Studio building again. --- Diffs of the changes: (+0 -3) VMCore.vcproj |3 --- 1 files changed, 3 deletions(-) Index: llvm/win32/VMCore/VMCore.vcproj diff -u llvm/win32/VMCore/VMCore.vcproj:1.20 llvm/win32/VMCore/VMCore.vcproj:1.21 --- llvm/win32/VMCore/VMCore.vcproj:1.20Sat Apr 1 23:20:52 2006 +++ llvm/win32/VMCore/VMCore.vcproj Fri Apr 7 19:43:03 2006 @@ -122,9 +122,6 @@ RelativePath="..\..\lib\VMCore\ConstantFolding.cpp"> - - http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/Analysis/Analysis.vcproj
Changes in directory llvm/win32/Analysis: Analysis.vcproj updated: 1.18 -> 1.19 --- Log message: Get Visual Studio building again. --- Diffs of the changes: (+3 -0) Analysis.vcproj |3 +++ 1 files changed, 3 insertions(+) Index: llvm/win32/Analysis/Analysis.vcproj diff -u llvm/win32/Analysis/Analysis.vcproj:1.18 llvm/win32/Analysis/Analysis.vcproj:1.19 --- llvm/win32/Analysis/Analysis.vcproj:1.18Sun Jan 29 22:07:07 2006 +++ llvm/win32/Analysis/Analysis.vcproj Fri Apr 7 19:43:03 2006 @@ -130,6 +130,9 @@ RelativePath="..\..\lib\Analysis\ConstantFolding.cpp"> + + http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/x86/x86.vcproj
Changes in directory llvm/win32/x86: x86.vcproj updated: 1.23 -> 1.24 --- Log message: Fix more tablegen depedency issues in Visual Studio. --- Diffs of the changes: (+2 -2) x86.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/x86/x86.vcproj diff -u llvm/win32/x86/x86.vcproj:1.23 llvm/win32/x86/x86.vcproj:1.24 --- llvm/win32/x86/x86.vcproj:1.23 Sat Apr 1 23:20:53 2006 +++ llvm/win32/x86/x86.vcproj Wed Apr 5 00:19:18 2006 @@ -126,7 +126,7 @@ ..\$(IntDir)\TableGen.exe -gen-dag-isel -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenDAGISel.inc ..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenSubtarget.inc " - AdditionalDependencies="$(InputDir)X86InstrInfo.td;$(InputDir)X86RegisterInfo.td;$(InputDir)..\Target.td;$(ProjectDir)..\$(IntDir)\TableGen.exe" + AdditionalDependencies="$(InputDir)X86InstrInfo.td;$(InputDir)X86RegisterInfo.td;$(InputDir)X86InstrFPStack.td;$(InputDir)X86InstrMMX.td;$(InputDir)X86InstrSSE.td;$(InputDir)..\Target.td;$(InputDir)..\TargetSchedule.td;$(InputDir)..\TargetScheduleDAG.td;$(ProjectDir)..\$(IntDir)\TableGen.exe" Outputs="X86GenRegisterNames.inc;X86GenRegisterInfo.h.inc;X86GenRegisterInfo.inc;X86GenInstrNames.inc;X86GenInstrInfo.inc;X86GenAsmWriter.inc;X86GenAsmWriter1.inc;X86GenDAGISel.inc;X86GenSubtarget.inc"/> ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/VMCore/VMCore.vcproj
Changes in directory llvm/win32/VMCore: VMCore.vcproj updated: 1.19 -> 1.20 --- Log message: Fix tablegen related dependencies in Visual Studio. --- Diffs of the changes: (+8 -8) VMCore.vcproj | 16 1 files changed, 8 insertions(+), 8 deletions(-) Index: llvm/win32/VMCore/VMCore.vcproj diff -u llvm/win32/VMCore/VMCore.vcproj:1.19 llvm/win32/VMCore/VMCore.vcproj:1.20 --- llvm/win32/VMCore/VMCore.vcproj:1.19Mon Mar 27 22:01:27 2006 +++ llvm/win32/VMCore/VMCore.vcproj Sat Apr 1 23:20:52 2006 @@ -157,7 +157,7 @@ Description="Performing TableGen Step" CommandLine="..\$(IntDir)\TableGen.exe -gen-intrinsic -I ..\..\include $(InputPath) -o $(SolutionDir)llvm\intrinsics.gen " - AdditionalDependencies="$(ProjectDir)..\$(IntDir)\TableGen.exe $(InputDir)IntrinsicsX86.td $(InputDir)IntrinsicsPowerPC.td" + AdditionalDependencies="$(ProjectDir)..\$(IntDir)\TableGen.exe;$(InputDir)IntrinsicsX86.td;$(InputDir)IntrinsicsPowerPC.td" Outputs="$(SolutionDir)llvm\intrinsics.gen"/> - - - - + + + + http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/x86/x86.vcproj
Changes in directory llvm/win32/x86: x86.vcproj updated: 1.22 -> 1.23 --- Log message: Fix tablegen related dependencies in Visual Studio. --- Diffs of the changes: (+19 -2) x86.vcproj | 21 +++-- 1 files changed, 19 insertions(+), 2 deletions(-) Index: llvm/win32/x86/x86.vcproj diff -u llvm/win32/x86/x86.vcproj:1.22 llvm/win32/x86/x86.vcproj:1.23 --- llvm/win32/x86/x86.vcproj:1.22 Fri Mar 3 20:19:46 2006 +++ llvm/win32/x86/x86.vcproj Sat Apr 1 23:20:53 2006 @@ -124,7 +124,8 @@ ..\$(IntDir)\TableGen.exe -gen-asm-writer -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter.inc ..\$(IntDir)\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter1.inc ..\$(IntDir)\TableGen.exe -gen-dag-isel -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenDAGISel.inc -..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenSubtarget.inc" +..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenSubtarget.inc +" AdditionalDependencies="$(InputDir)X86InstrInfo.td;$(InputDir)X86RegisterInfo.td;$(InputDir)..\Target.td;$(ProjectDir)..\$(IntDir)\TableGen.exe" Outputs="X86GenRegisterNames.inc;X86GenRegisterInfo.h.inc;X86GenRegisterInfo.inc;X86GenInstrNames.inc;X86GenInstrInfo.inc;X86GenAsmWriter.inc;X86GenAsmWriter1.inc;X86GenDAGISel.inc;X86GenSubtarget.inc"/> @@ -141,7 +142,8 @@ ..\$(IntDir)\TableGen.exe -gen-asm-writer -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter.inc ..\$(IntDir)\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenAsmWriter1.inc ..\$(IntDir)\TableGen.exe -gen-dag-isel -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenDAGISel.inc -..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenSubtarget.inc" +..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target\X86 -I ..\..\include $(InputPath) -o X86GenSubtarget.inc +" AdditionalDependencies="$(InputDir)X86InstrInfo.td;$(InputDir)X86RegisterInfo.td;$(InputDir)..\Target.td;$(ProjectDir)..\$(IntDir)\TableGen.exe" Outputs="X86GenRegisterNames.inc;X86GenRegisterInfo.h.inc;X86GenRegisterInfo.inc;X86GenInstrNames.inc;X86GenInstrInfo.inc;X86GenAsmWriter.inc;X86GenAsmWriter1.inc;X86GenDAGISel.inc;X86GenSubtarget.inc"/> @@ -194,6 +196,12 @@ RelativePath="..\..\lib\Target\Target.td"> + + + + + + + + + + http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/VMCore/Verifier.cpp
Changes in directory llvm/lib/VMCore: Verifier.cpp updated: 1.151 -> 1.152 --- Log message: Fix build breakage. --- Diffs of the changes: (+1 -0) Verifier.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/VMCore/Verifier.cpp diff -u llvm/lib/VMCore/Verifier.cpp:1.151 llvm/lib/VMCore/Verifier.cpp:1.152 --- llvm/lib/VMCore/Verifier.cpp:1.151 Thu Mar 30 22:46:47 2006 +++ llvm/lib/VMCore/Verifier.cppFri Mar 31 01:22:05 2006 @@ -60,6 +60,7 @@ #include #include #include +#include using namespace llvm; namespace { // Anonymous namespace for class ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/VMCore/VMCore.vcproj
Changes in directory llvm/win32/VMCore: VMCore.vcproj updated: 1.18 -> 1.19 --- Log message: Keep Visual Studio informed. --- Diffs of the changes: (+8 -2) VMCore.vcproj | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) Index: llvm/win32/VMCore/VMCore.vcproj diff -u llvm/win32/VMCore/VMCore.vcproj:1.18 llvm/win32/VMCore/VMCore.vcproj:1.19 --- llvm/win32/VMCore/VMCore.vcproj:1.18Thu Mar 23 20:18:52 2006 +++ llvm/win32/VMCore/VMCore.vcproj Mon Mar 27 22:01:27 2006 @@ -157,7 +157,7 @@ Description="Performing TableGen Step" CommandLine="..\$(IntDir)\TableGen.exe -gen-intrinsic -I ..\..\include $(InputPath) -o $(SolutionDir)llvm\intrinsics.gen " - AdditionalDependencies="$(ProjectDir)..\$(IntDir)\TableGen.exe" + AdditionalDependencies="$(ProjectDir)..\$(IntDir)\TableGen.exe $(InputDir)IntrinsicsX86.td $(InputDir)IntrinsicsPowerPC.td" Outputs="$(SolutionDir)llvm\intrinsics.gen"/> + + + + http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/include/llvm/ExecutionEngine/Interpreter.h JIT.h
Changes in directory llvm/include/llvm/ExecutionEngine: Interpreter.h updated: 1.2 -> 1.3 JIT.h updated: 1.2 -> 1.3 --- Log message: Fix headers --- Diffs of the changes: (+2 -2) Interpreter.h |2 +- JIT.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/include/llvm/ExecutionEngine/Interpreter.h diff -u llvm/include/llvm/ExecutionEngine/Interpreter.h:1.2 llvm/include/llvm/ExecutionEngine/Interpreter.h:1.3 --- llvm/include/llvm/ExecutionEngine/Interpreter.h:1.2 Thu Mar 23 20:58:54 2006 +++ llvm/include/llvm/ExecutionEngine/Interpreter.h Fri Mar 24 00:07:16 2006 @@ -1,4 +1,4 @@ -//===- ExecutionEngine.h - Abstract Execution Engine Interface --*- C++ -*-===// +//===-- Interpreter.h - Abstract Execution Engine Interface -*- C++ -*-===// // // The LLVM Compiler Infrastructure // Index: llvm/include/llvm/ExecutionEngine/JIT.h diff -u llvm/include/llvm/ExecutionEngine/JIT.h:1.2 llvm/include/llvm/ExecutionEngine/JIT.h:1.3 --- llvm/include/llvm/ExecutionEngine/JIT.h:1.2 Thu Mar 23 20:58:54 2006 +++ llvm/include/llvm/ExecutionEngine/JIT.h Fri Mar 24 00:07:16 2006 @@ -1,4 +1,4 @@ -//===- ExecutionEngine.h - Abstract Execution Engine Interface --*- C++ -*-===// +//===-- JIT.h - Abstract Execution Engine Interface -*- C++ -*-===// // // The LLVM Compiler Infrastructure // ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/examples/ParallelJIT/ParallelJIT.cpp
Changes in directory llvm/examples/ParallelJIT: ParallelJIT.cpp updated: 1.4 -> 1.5 --- Log message: Minor corrections. --- Diffs of the changes: (+2 -1) ParallelJIT.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/examples/ParallelJIT/ParallelJIT.cpp diff -u llvm/examples/ParallelJIT/ParallelJIT.cpp:1.4 llvm/examples/ParallelJIT/ParallelJIT.cpp:1.5 --- llvm/examples/ParallelJIT/ParallelJIT.cpp:1.4 Sat Oct 22 23:37:19 2005 +++ llvm/examples/ParallelJIT/ParallelJIT.cpp Thu Mar 23 21:11:31 2006 @@ -23,7 +23,8 @@ #include "llvm/Type.h" #include "llvm/Instructions.h" #include "llvm/ModuleProvider.h" -#include "llvm/ExecutionEngine/ExecutionEngine.h" +#include "llvm/ExecutionEngine/JIT.h" +#include "llvm/ExecutionEngine/Interpreter.h" #include "llvm/ExecutionEngine/GenericValue.h" #include using namespace llvm; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/examples/Fibonacci/fibonacci.cpp
Changes in directory llvm/examples/Fibonacci: fibonacci.cpp updated: 1.10 -> 1.11 --- Log message: Minor corrections. --- Diffs of the changes: (+2 -1) fibonacci.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/examples/Fibonacci/fibonacci.cpp diff -u llvm/examples/Fibonacci/fibonacci.cpp:1.10 llvm/examples/Fibonacci/fibonacci.cpp:1.11 --- llvm/examples/Fibonacci/fibonacci.cpp:1.10 Sat Oct 22 23:37:19 2005 +++ llvm/examples/Fibonacci/fibonacci.cpp Thu Mar 23 21:11:31 2006 @@ -29,7 +29,8 @@ #include "llvm/Instructions.h" #include "llvm/ModuleProvider.h" #include "llvm/Analysis/Verifier.h" -#include "llvm/ExecutionEngine/ExecutionEngine.h" +#include "llvm/ExecutionEngine/JIT.h" +#include "llvm/ExecutionEngine/Interpreter.h" #include "llvm/ExecutionEngine/GenericValue.h" #include using namespace llvm; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/examples/HowToUseJIT/HowToUseJIT.cpp
Changes in directory llvm/examples/HowToUseJIT: HowToUseJIT.cpp updated: 1.10 -> 1.11 --- Log message: Minor corrections. --- Diffs of the changes: (+2 -1) HowToUseJIT.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/examples/HowToUseJIT/HowToUseJIT.cpp diff -u llvm/examples/HowToUseJIT/HowToUseJIT.cpp:1.10 llvm/examples/HowToUseJIT/HowToUseJIT.cpp:1.11 --- llvm/examples/HowToUseJIT/HowToUseJIT.cpp:1.10 Sat Oct 22 23:37:19 2005 +++ llvm/examples/HowToUseJIT/HowToUseJIT.cpp Thu Mar 23 21:11:31 2006 @@ -39,7 +39,8 @@ #include "llvm/Type.h" #include "llvm/Instructions.h" #include "llvm/ModuleProvider.h" -#include "llvm/ExecutionEngine/ExecutionEngine.h" +#include "llvm/ExecutionEngine/JIT.h" +#include "llvm/ExecutionEngine/Interpreter.h" #include "llvm/ExecutionEngine/GenericValue.h" #include using namespace llvm; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/include/llvm/ExecutionEngine/Interpreter.h JIT.h
Changes in directory llvm/include/llvm/ExecutionEngine: Interpreter.h updated: 1.1 -> 1.2 JIT.h updated: 1.1 -> 1.2 --- Log message: Minor corrections. --- Diffs of the changes: (+3 -1) Interpreter.h |1 + JIT.h |3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) Index: llvm/include/llvm/ExecutionEngine/Interpreter.h diff -u llvm/include/llvm/ExecutionEngine/Interpreter.h:1.1 llvm/include/llvm/ExecutionEngine/Interpreter.h:1.2 --- llvm/include/llvm/ExecutionEngine/Interpreter.h:1.1 Thu Mar 23 20:53:49 2006 +++ llvm/include/llvm/ExecutionEngine/Interpreter.h Thu Mar 23 20:58:54 2006 @@ -16,6 +16,7 @@ #define EXECUTION_ENGINE_INTERPRETER_H #include "llvm/ExecutionEngine/ExecutionEngine.h" +#include namespace llvm { extern void LinkInInterpreter(); Index: llvm/include/llvm/ExecutionEngine/JIT.h diff -u llvm/include/llvm/ExecutionEngine/JIT.h:1.1 llvm/include/llvm/ExecutionEngine/JIT.h:1.2 --- llvm/include/llvm/ExecutionEngine/JIT.h:1.1 Thu Mar 23 20:53:49 2006 +++ llvm/include/llvm/ExecutionEngine/JIT.h Thu Mar 23 20:58:54 2006 @@ -7,7 +7,7 @@ // //===--===// // -// This file forces the interpreter to link in on certain operating systems. +// This file forces the JIT to link in on certain operating systems. // (Windows). // //===--===// @@ -16,6 +16,7 @@ #define EXECUTION_ENGINE_JIT_H #include "llvm/ExecutionEngine/ExecutionEngine.h" +#include namespace llvm { extern void LinkInJIT(); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/include/llvm/ExecutionEngine/Interpreter.h JIT.h
Changes in directory llvm/include/llvm/ExecutionEngine: Interpreter.h added (r1.1) JIT.h added (r1.1) --- Log message: Get JIT/Interpreter working on Windows again. --- Diffs of the changes: (+78 -0) Interpreter.h | 39 +++ JIT.h | 39 +++ 2 files changed, 78 insertions(+) Index: llvm/include/llvm/ExecutionEngine/Interpreter.h diff -c /dev/null llvm/include/llvm/ExecutionEngine/Interpreter.h:1.1 *** /dev/null Thu Mar 23 20:53:59 2006 --- llvm/include/llvm/ExecutionEngine/Interpreter.h Thu Mar 23 20:53:49 2006 *** *** 0 --- 1,39 + //===- ExecutionEngine.h - Abstract Execution Engine Interface --*- C++ -*-===// + // + // The LLVM Compiler Infrastructure + // + // This file was developed by Jeff Cohen and is distributed under the + // University of Illinois Open Source License. See LICENSE.TXT for details. + // + //===--===// + // + // This file forces the interpreter to link in on certain operating systems. + // (Windows). + // + //===--===// + + #ifndef EXECUTION_ENGINE_INTERPRETER_H + #define EXECUTION_ENGINE_INTERPRETER_H + + #include "llvm/ExecutionEngine/ExecutionEngine.h" + + namespace llvm { + extern void LinkInInterpreter(); + } + + namespace { + struct ForceInterpreterLinking { + ForceInterpreterLinking() { + // We must reference the passes in such a way that compilers will not + // delete it all as dead code, even with whole program optimization, + // yet is effectively a NO-OP. As the compiler isn't smart enough + // to know that getenv() never returns -1, this will do the job. + if (std::getenv("bar") != (char*) -1) + return; + + llvm::LinkInInterpreter(); + } + } ForceInterpreterLinking; + } + + #endif Index: llvm/include/llvm/ExecutionEngine/JIT.h diff -c /dev/null llvm/include/llvm/ExecutionEngine/JIT.h:1.1 *** /dev/null Thu Mar 23 20:54:05 2006 --- llvm/include/llvm/ExecutionEngine/JIT.h Thu Mar 23 20:53:49 2006 *** *** 0 --- 1,39 + //===- ExecutionEngine.h - Abstract Execution Engine Interface --*- C++ -*-===// + // + // The LLVM Compiler Infrastructure + // + // This file was developed by Jeff Cohen and is distributed under the + // University of Illinois Open Source License. See LICENSE.TXT for details. + // + //===--===// + // + // This file forces the interpreter to link in on certain operating systems. + // (Windows). + // + //===--===// + + #ifndef EXECUTION_ENGINE_JIT_H + #define EXECUTION_ENGINE_JIT_H + + #include "llvm/ExecutionEngine/ExecutionEngine.h" + + namespace llvm { + extern void LinkInJIT(); + } + + namespace { + struct ForceJITLinking { + ForceJITLinking() { + // We must reference the passes in such a way that compilers will not + // delete it all as dead code, even with whole program optimization, + // yet is effectively a NO-OP. As the compiler isn't smart enough + // to know that getenv() never returns -1, this will do the job. + if (std::getenv("bar") != (char*) -1) + return; + + llvm::LinkInJIT(); + } + } ForceJITLinking; + } + + #endif ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/tools/lli/lli.cpp
Changes in directory llvm/tools/lli: lli.cpp updated: 1.55 -> 1.56 --- Log message: Get JIT/Interpreter working on Windows again. --- Diffs of the changes: (+2 -1) lli.cpp |3 ++- 1 files changed, 2 insertions(+), 1 deletion(-) Index: llvm/tools/lli/lli.cpp diff -u llvm/tools/lli/lli.cpp:1.55 llvm/tools/lli/lli.cpp:1.56 --- llvm/tools/lli/lli.cpp:1.55 Wed Mar 8 12:43:36 2006 +++ llvm/tools/lli/lli.cpp Thu Mar 23 20:53:49 2006 @@ -17,7 +17,8 @@ #include "llvm/ModuleProvider.h" #include "llvm/Type.h" #include "llvm/Bytecode/Reader.h" -#include "llvm/ExecutionEngine/ExecutionEngine.h" +#include "llvm/ExecutionEngine/JIT.h" +#include "llvm/ExecutionEngine/Interpreter.h" #include "llvm/ExecutionEngine/GenericValue.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/PluginLoader.h" ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/ExecutionEngine/JIT/JIT.cpp
Changes in directory llvm/lib/ExecutionEngine/JIT: JIT.cpp updated: 1.60 -> 1.61 --- Log message: Get JIT/Interpreter working on Windows again. --- Diffs of the changes: (+5 -0) JIT.cpp |5 + 1 files changed, 5 insertions(+) Index: llvm/lib/ExecutionEngine/JIT/JIT.cpp diff -u llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.60 llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.61 --- llvm/lib/ExecutionEngine/JIT/JIT.cpp:1.60 Wed Mar 22 00:07:50 2006 +++ llvm/lib/ExecutionEngine/JIT/JIT.cppThu Mar 23 20:53:49 2006 @@ -32,6 +32,11 @@ RegisterJIT() { JIT::Register(); } } JITRegistrator; +namespace llvm { + void LinkInJIT() { + } +} + JIT::JIT(ModuleProvider *MP, TargetMachine &tm, TargetJITInfo &tji) : ExecutionEngine(MP), TM(tm), TJI(tji), state(MP) { setTargetData(TM.getTargetData()); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp
Changes in directory llvm/lib/ExecutionEngine/Interpreter: Interpreter.cpp updated: 1.28 -> 1.29 --- Log message: Get JIT/Interpreter working on Windows again. --- Diffs of the changes: (+5 -0) Interpreter.cpp |5 + 1 files changed, 5 insertions(+) Index: llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp diff -u llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp:1.28 llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp:1.29 --- llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp:1.28 Wed Mar 22 23:22:51 2006 +++ llvm/lib/ExecutionEngine/Interpreter/Interpreter.cppThu Mar 23 20:53:49 2006 @@ -24,6 +24,11 @@ RegisterInterp() { Interpreter::Register(); } } InterpRegistrator; +namespace llvm { + void LinkInInterpreter() { + } +} + /// create - Create a new interpreter object. This can never fail. /// ExecutionEngine *Interpreter::create(ModuleProvider *MP) { ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/CodeGen/CodeGen.vcproj
Changes in directory llvm/win32/CodeGen: CodeGen.vcproj updated: 1.21 -> 1.22 --- Log message: Get Visual Studio happy again. --- Diffs of the changes: (+3 -0) CodeGen.vcproj |3 +++ 1 files changed, 3 insertions(+) Index: llvm/win32/CodeGen/CodeGen.vcproj diff -u llvm/win32/CodeGen/CodeGen.vcproj:1.21 llvm/win32/CodeGen/CodeGen.vcproj:1.22 --- llvm/win32/CodeGen/CodeGen.vcproj:1.21 Sun Jan 29 22:07:07 2006 +++ llvm/win32/CodeGen/CodeGen.vcproj Thu Mar 23 20:18:52 2006 @@ -259,6 +259,9 @@ RelativePath="..\..\include\llvm\CodeGen\MachineInstrBuilder.h"> + + http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/VMCore/VMCore.vcproj
Changes in directory llvm/win32/VMCore: VMCore.vcproj updated: 1.17 -> 1.18 --- Log message: Get Visual Studio happy again. --- Diffs of the changes: (+3 -0) VMCore.vcproj |3 +++ 1 files changed, 3 insertions(+) Index: llvm/win32/VMCore/VMCore.vcproj diff -u llvm/win32/VMCore/VMCore.vcproj:1.17 llvm/win32/VMCore/VMCore.vcproj:1.18 --- llvm/win32/VMCore/VMCore.vcproj:1.17Thu Mar 9 22:36:01 2006 +++ llvm/win32/VMCore/VMCore.vcproj Thu Mar 23 20:18:52 2006 @@ -146,6 +146,9 @@ RelativePath="..\..\lib\VMCore\Instructions.cpp"> + + ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/utils/TableGen/IntrinsicEmitter.cpp
Changes in directory llvm/utils/TableGen: IntrinsicEmitter.cpp updated: 1.12 -> 1.13 --- Log message: Fix VC++ build error. --- Diffs of the changes: (+1 -0) IntrinsicEmitter.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/utils/TableGen/IntrinsicEmitter.cpp diff -u llvm/utils/TableGen/IntrinsicEmitter.cpp:1.12 llvm/utils/TableGen/IntrinsicEmitter.cpp:1.13 --- llvm/utils/TableGen/IntrinsicEmitter.cpp:1.12 Tue Mar 14 20:05:38 2006 +++ llvm/utils/TableGen/IntrinsicEmitter.cppTue Mar 14 20:51:05 2006 @@ -14,6 +14,7 @@ #include "IntrinsicEmitter.h" #include "Record.h" #include "llvm/ADT/StringExtras.h" +#include using namespace llvm; //===--===// ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/VMCore/VMCore.vcproj
Changes in directory llvm/win32/VMCore: VMCore.vcproj updated: 1.16 -> 1.17 --- Log message: Put intrinsics.gen in its proper place. --- Diffs of the changes: (+7 -5) VMCore.vcproj | 12 +++- 1 files changed, 7 insertions(+), 5 deletions(-) Index: llvm/win32/VMCore/VMCore.vcproj diff -u llvm/win32/VMCore/VMCore.vcproj:1.16 llvm/win32/VMCore/VMCore.vcproj:1.17 --- llvm/win32/VMCore/VMCore.vcproj:1.16Thu Mar 9 21:57:45 2006 +++ llvm/win32/VMCore/VMCore.vcproj Thu Mar 9 22:36:01 2006 @@ -152,18 +152,20 @@ + Outputs="$(SolutionDir)llvm\intrinsics.gen"/> + Outputs="$(SolutionDir)llvm\intrinsics.gen"/> + RelativePath="..\llvm\intrinsics.gen"> ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
Changes in directory llvm/lib/CodeGen/SelectionDAG: ScheduleDAGList.cpp updated: 1.32 -> 1.33 --- Log message: Fix VC++ build breakage. --- Diffs of the changes: (+3 -3) ScheduleDAGList.cpp |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.32 llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.33 --- llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.32 Thu Mar 9 11:31:22 2006 +++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp Thu Mar 9 21:57:45 2006 @@ -761,7 +761,7 @@ SethiUllmanNumber = 1; } else { int Extra = 0; -for (std::set::iterator I = SU->Preds.begin(), +for (std::set::const_iterator I = SU->Preds.begin(), E = SU->Preds.end(); I != E; ++I) { SUnit *PredSU = *I; int PredSethiUllman = CalcNodePriority(PredSU); @@ -870,11 +870,11 @@ return Latency; int MaxSuccLatency = 0; - for (std::set::iterator I = SU.Succs.begin(), + for (std::set::const_iterator I = SU.Succs.begin(), E = SU.Succs.end(); I != E; ++I) MaxSuccLatency = std::max(MaxSuccLatency, CalcLatency(**I)); - for (std::set::iterator I = SU.ChainSuccs.begin(), + for (std::set::const_iterator I = SU.ChainSuccs.begin(), E = SU.ChainSuccs.end(); I != E; ++I) MaxSuccLatency = std::max(MaxSuccLatency, CalcLatency(**I)); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/llvm.sln
Changes in directory llvm/win32: llvm.sln updated: 1.25 -> 1.26 --- Log message: Fix VC++ build breakage. --- Diffs of the changes: (+2 -0) llvm.sln |2 ++ 1 files changed, 2 insertions(+) Index: llvm/win32/llvm.sln diff -u llvm/win32/llvm.sln:1.25 llvm/win32/llvm.sln:1.26 --- llvm/win32/llvm.sln:1.25Fri Sep 9 21:00:02 2005 +++ llvm/win32/llvm.sln Thu Mar 9 21:57:45 2006 @@ -31,6 +31,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "VMCore", "VMCore\VMCore.vcproj", "{45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB}" ProjectSection(ProjectDependencies) = postProject {19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E} + {339C2249-26B6-4172-B484-85653029AF57} = {339C2249-26B6-4172-B484-85653029AF57} EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Target", "Target\Target.vcproj", "{059FBAB8-C76D-48A0-AA75-3C57BD3EAFE4}" @@ -64,6 +65,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Transforms", "Transforms\Transforms.vcproj", "{C59374C1-9FC0-4147-B836-327DFDC52D99}" ProjectSection(ProjectDependencies) = postProject {19514E48-456C-4B9D-8637-F2285476461E} = {19514E48-456C-4B9D-8637-F2285476461E} + {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB} = {45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB} EndProjectSection EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Configure", "Configure\Configure.vcproj", "{19514E48-456C-4B9D-8637-F2285476461E}" ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/VMCore/VMCore.vcproj
Changes in directory llvm/win32/VMCore: VMCore.vcproj updated: 1.15 -> 1.16 --- Log message: Fix VC++ build breakage. --- Diffs of the changes: (+29 -0) VMCore.vcproj | 29 + 1 files changed, 29 insertions(+) Index: llvm/win32/VMCore/VMCore.vcproj diff -u llvm/win32/VMCore/VMCore.vcproj:1.15 llvm/win32/VMCore/VMCore.vcproj:1.16 --- llvm/win32/VMCore/VMCore.vcproj:1.15Sun Jan 29 22:07:07 2006 +++ llvm/win32/VMCore/VMCore.vcproj Thu Mar 9 21:57:45 2006 @@ -4,6 +4,7 @@ Version="7.10" Name="VMCore" ProjectGUID="{45CD78D7-C5D9-47FE-AD12-F3251EEDAFFB}" + RootNamespace="VMCore" Keyword="Win32Proj"> + + + + + + + + + + + + ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/Support/Support.vcproj
Changes in directory llvm/win32/Support: Support.vcproj updated: 1.14 -> 1.15 --- Log message: Keep VC++ building. --- Diffs of the changes: (+6 -0) Support.vcproj |6 ++ 1 files changed, 6 insertions(+) Index: llvm/win32/Support/Support.vcproj diff -u llvm/win32/Support/Support.vcproj:1.14 llvm/win32/Support/Support.vcproj:1.15 --- llvm/win32/Support/Support.vcproj:1.14 Sun Jan 29 22:07:07 2006 +++ llvm/win32/Support/Support.vcproj Mon Mar 6 20:58:13 2006 @@ -128,6 +128,9 @@ RelativePath="..\..\lib\Support\Debug.cpp"> + + + + http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAG.cpp updated: 1.267 -> 1.268 --- Log message: Fix VC++ compilation error. --- Diffs of the changes: (+5 -0) SelectionDAG.cpp |5 + 1 files changed, 5 insertions(+) Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.267 llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.268 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1.267Sat Mar 4 23:30:57 2006 +++ llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Sun Mar 5 15:43:37 2006 @@ -29,6 +29,11 @@ #include using namespace llvm; +#ifdef _MSC_VER +#include +#define copysign _copysign +#endif + static bool isCommutativeBinOp(unsigned Opcode) { switch (Opcode) { case ISD::ADD: ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/x86/x86.vcproj
Changes in directory llvm/win32/x86: x86.vcproj updated: 1.21 -> 1.22 --- Log message: Keep Visual Studio happy. --- Diffs of the changes: (+18 -20) x86.vcproj | 38 ++ 1 files changed, 18 insertions(+), 20 deletions(-) Index: llvm/win32/x86/x86.vcproj diff -u llvm/win32/x86/x86.vcproj:1.21 llvm/win32/x86/x86.vcproj:1.22 --- llvm/win32/x86/x86.vcproj:1.21 Thu Feb 16 20:11:34 2006 +++ llvm/win32/x86/x86.vcproj Fri Mar 3 20:19:46 2006 @@ -116,16 +116,15 @@ @@ -134,16 +133,15 @@ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/TableGen/TableGen.vcproj
Changes in directory llvm/win32/TableGen: TableGen.vcproj updated: 1.20 -> 1.21 --- Log message: Keep Visual Studio happy. --- Diffs of the changes: (+18 -5) TableGen.vcproj | 23 ++- 1 files changed, 18 insertions(+), 5 deletions(-) Index: llvm/win32/TableGen/TableGen.vcproj diff -u llvm/win32/TableGen/TableGen.vcproj:1.20 llvm/win32/TableGen/TableGen.vcproj:1.21 --- llvm/win32/TableGen/TableGen.vcproj:1.20Sun Jan 29 22:07:07 2006 +++ llvm/win32/TableGen/TableGen.vcproj Fri Mar 3 20:19:46 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;..;..\..\utils\tablegen" - PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -144,7 +144,8 @@ @@ -163,7 +165,8 @@ @@ -179,6 +183,9 @@ RelativePath="..\..\utils\TableGen\InstrInfoEmitter.cpp"> + + + + + + http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
Changes in directory llvm/lib/CodeGen/SelectionDAG: ScheduleDAGList.cpp updated: 1.7 -> 1.8 --- Log message: Fix VC++ compilation errors. --- Diffs of the changes: (+4 -4) ScheduleDAGList.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.7 llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.8 --- llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.7 Thu Mar 2 15:38:29 2006 +++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp Thu Mar 2 21:25:07 2006 @@ -80,7 +80,7 @@ if (Preds.size() != 0) { std::cerr << "Predecessors :\n"; - for (std::set::iterator I = Preds.begin(), + for (std::set::const_iterator I = Preds.begin(), E = Preds.end(); I != E; ++I) { std::cerr << ""; (*I)->dump(G, false); @@ -88,7 +88,7 @@ } if (ChainPreds.size() != 0) { std::cerr << "Chained Preds :\n"; - for (std::set::iterator I = ChainPreds.begin(), + for (std::set::const_iterator I = ChainPreds.begin(), E = ChainPreds.end(); I != E; ++I) { std::cerr << ""; (*I)->dump(G, false); @@ -96,7 +96,7 @@ } if (Succs.size() != 0) { std::cerr << "Successors:\n"; - for (std::set::iterator I = Succs.begin(), + for (std::set::const_iterator I = Succs.begin(), E = Succs.end(); I != E; ++I) { std::cerr << ""; (*I)->dump(G, false); @@ -104,7 +104,7 @@ } if (ChainSuccs.size() != 0) { std::cerr << "Chained succs :\n"; - for (std::set::iterator I = ChainSuccs.begin(), + for (std::set::const_iterator I = ChainSuccs.begin(), E = ChainSuccs.end(); I != E; ++I) { std::cerr << ""; (*I)->dump(G, false); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
Changes in directory llvm/lib/CodeGen/SelectionDAG: SelectionDAGISel.cpp updated: 1.172 -> 1.173 --- Log message: Get VC++ building again. --- Diffs of the changes: (+1 -0) SelectionDAGISel.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.172 llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.173 --- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.172Thu Feb 23 20:13:54 2006 +++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp Thu Feb 23 20:52:40 2006 @@ -42,6 +42,7 @@ #include #include #include +#include using namespace llvm; #ifndef NDEBUG ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineDebugInfo.h
Changes in directory llvm/include/llvm/CodeGen: MachineDebugInfo.h updated: 1.19 -> 1.20 --- Log message: Get VC++ building again. --- Diffs of the changes: (+1 -0) MachineDebugInfo.h |1 + 1 files changed, 1 insertion(+) Index: llvm/include/llvm/CodeGen/MachineDebugInfo.h diff -u llvm/include/llvm/CodeGen/MachineDebugInfo.h:1.19 llvm/include/llvm/CodeGen/MachineDebugInfo.h:1.20 --- llvm/include/llvm/CodeGen/MachineDebugInfo.h:1.19 Thu Feb 23 16:37:30 2006 +++ llvm/include/llvm/CodeGen/MachineDebugInfo.hThu Feb 23 20:52:40 2006 @@ -31,6 +31,7 @@ #define LLVM_CODEGEN_MACHINEDEBUGINFO_H #include "llvm/Support/Dwarf.h" +#include "llvm/Support/DataTypes.h" #include "llvm/ADT/UniqueVector.h" #include "llvm/GlobalValue.h" #include "llvm/Pass.h" ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
Changes in directory llvm/lib/Transforms/Scalar: InstructionCombining.cpp updated: 1.436 -> 1.437 --- Log message: Fix bugs identified by VC++. --- Diffs of the changes: (+2 -2) InstructionCombining.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.436 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.437 --- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.436 Thu Feb 16 15:11:51 2006 +++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Fri Feb 17 21:20:33 2006 @@ -757,9 +757,9 @@ // If all of the demanded bits are known zero on one side, return the other. // These bits cannot contribute to the result of the 'or'. -if ((DemandedMask & ~KnownOne2 & KnownZero) == DemandedMask & ~KnownOne2) +if ((DemandedMask & ~KnownOne2 & KnownZero) == (DemandedMask & ~KnownOne2)) return UpdateValueUsesWith(I, I->getOperand(0)); -if ((DemandedMask & ~KnownOne & KnownZero2) == DemandedMask & ~KnownOne) +if ((DemandedMask & ~KnownOne & KnownZero2) == (DemandedMask & ~KnownOne)) return UpdateValueUsesWith(I, I->getOperand(1)); // If all of the potentially set bits on one side are known to be set on ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/utils/TableGen/Record.cpp
Changes in directory llvm/utils/TableGen: Record.cpp updated: 1.50 -> 1.51 --- Log message: Fix bugs identified by VC++. --- Diffs of the changes: (+2 -2) Record.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/utils/TableGen/Record.cpp diff -u llvm/utils/TableGen/Record.cpp:1.50 llvm/utils/TableGen/Record.cpp:1.51 --- llvm/utils/TableGen/Record.cpp:1.50 Tue Jan 31 00:02:35 2006 +++ llvm/utils/TableGen/Record.cpp Fri Feb 17 21:20:33 2006 @@ -69,13 +69,13 @@ if (Value & ~((1LL << Size)-1)) return 0; } else { -if ((Value >> Size) != -1 || ((Value & (1 << (Size-1))) == 0)) +if ((Value >> Size) != -1 || ((Value & (1LL << (Size-1))) == 0)) return 0; } BitsInit *Ret = new BitsInit(Size); for (unsigned i = 0; i != Size; ++i) -Ret->setBit(i, new BitInit(Value & (1 << i))); +Ret->setBit(i, new BitInit(Value & (1LL << i))); return Ret; } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/x86/x86.vcproj
Changes in directory llvm/win32/x86: x86.vcproj updated: 1.20 -> 1.21 --- Log message: Inform Visual Studio of deleted file. --- Diffs of the changes: (+0 -3) x86.vcproj |3 --- 1 files changed, 3 deletions(-) Index: llvm/win32/x86/x86.vcproj diff -u llvm/win32/x86/x86.vcproj:1.20 llvm/win32/x86/x86.vcproj:1.21 --- llvm/win32/x86/x86.vcproj:1.20 Fri Feb 3 21:27:04 2006 +++ llvm/win32/x86/x86.vcproj Thu Feb 16 20:11:34 2006 @@ -176,9 +176,6 @@ RelativePath="..\..\lib\Target\X86\X86ISelLowering.cpp"> - - http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Target/TargetLowering.cpp
Changes in directory llvm/lib/Target: TargetLowering.cpp updated: 1.31 -> 1.32 --- Log message: Fix bug noticed by VC++. --- Diffs of the changes: (+2 -2) TargetLowering.cpp |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/lib/Target/TargetLowering.cpp diff -u llvm/lib/Target/TargetLowering.cpp:1.31 llvm/lib/Target/TargetLowering.cpp:1.32 --- llvm/lib/Target/TargetLowering.cpp:1.31 Thu Feb 16 15:11:51 2006 +++ llvm/lib/Target/TargetLowering.cpp Thu Feb 16 20:12:18 2006 @@ -243,9 +243,9 @@ // If all of the demanded bits are known zero on one side, return the other. // These bits cannot contribute to the result of the 'or'. -if ((DemandedMask & ~KnownOne2 & KnownZero) == DemandedMask & ~KnownOne2) +if ((DemandedMask & ~KnownOne2 & KnownZero) == (DemandedMask & ~KnownOne2)) return TLO.CombineTo(Op, Op.getOperand(0)); -if ((DemandedMask & ~KnownOne & KnownZero2) == DemandedMask & ~KnownOne) +if ((DemandedMask & ~KnownOne & KnownZero2) == (DemandedMask & ~KnownOne)) return TLO.CombineTo(Op, Op.getOperand(1)); // If all of the potentially set bits on one side are known to be set on // the other side, just use the 'other' side. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/dobison.cmd
Changes in directory llvm/win32: dobison.cmd updated: 1.2 -> 1.3 --- Log message: Visual Studio enters the future of bisoning. --- Diffs of the changes: (+2 -2) dobison.cmd |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/dobison.cmd diff -u llvm/win32/dobison.cmd:1.2 llvm/win32/dobison.cmd:1.3 --- llvm/win32/dobison.cmd:1.2 Wed Oct 26 20:10:37 2005 +++ llvm/win32/dobison.cmd Wed Feb 15 22:07:03 2006 @@ -17,6 +17,6 @@ :nobison echo Bison not found. Using pre-generated files. -copy %~pn4.cpp %3.cpp -copy %~pn4.h %3.h +copy %~pn4.cpp.cvs %3.cpp +copy %~pn4.h.cvs %3.h exit ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
Changes in directory llvm/lib/Transforms/Scalar: LoopUnswitch.cpp updated: 1.24 -> 1.25 --- Log message: Fix VC++ warning. --- Diffs of the changes: (+0 -1) LoopUnswitch.cpp |1 - 1 files changed, 1 deletion(-) Index: llvm/lib/Transforms/Scalar/LoopUnswitch.cpp diff -u llvm/lib/Transforms/Scalar/LoopUnswitch.cpp:1.24 llvm/lib/Transforms/Scalar/LoopUnswitch.cpp:1.25 --- llvm/lib/Transforms/Scalar/LoopUnswitch.cpp:1.24Wed Feb 15 19:24:41 2006 +++ llvm/lib/Transforms/Scalar/LoopUnswitch.cpp Wed Feb 15 22:07:37 2006 @@ -426,7 +426,6 @@ // If the edge isn't critical, then BB has a single successor or Succ has a // single pred. Split the block. - BasicBlock *BlockToSplit; BasicBlock::iterator SplitPoint; if (BasicBlock *SP = Succ->getSinglePredecessor()) { // If the successor only has a single pred, split the top of the successor ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/doflex.cmd
Changes in directory llvm/win32: doflex.cmd updated: 1.2 -> 1.3 --- Log message: Match changes to unix build system. --- Diffs of the changes: (+1 -1) doflex.cmd |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/win32/doflex.cmd diff -u llvm/win32/doflex.cmd:1.2 llvm/win32/doflex.cmd:1.3 --- llvm/win32/doflex.cmd:1.2 Wed Oct 26 20:10:37 2005 +++ llvm/win32/doflex.cmd Tue Feb 14 00:12:08 2006 @@ -16,5 +16,5 @@ :noflex echo Flex not found. Using pre-generated files. -copy %~pn3.cpp %2.cpp +copy %~pn3.cpp.cvs %2.cpp exit ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp Interpreter.cpp Interpreter.h
Changes in directory llvm/lib/ExecutionEngine/Interpreter: Execution.cpp updated: 1.138 -> 1.139 Interpreter.cpp updated: 1.25 -> 1.26 Interpreter.h updated: 1.71 -> 1.72 --- Log message: The interpreter assumes that the caller of runFunction() must be lli, and therefore the function being called must be a main() returning an int. The consequences when these assumptions are false are not good, so don't assume them. --- Diffs of the changes: (+7 -8) Execution.cpp |6 +++--- Interpreter.cpp |7 +++ Interpreter.h |2 +- 3 files changed, 7 insertions(+), 8 deletions(-) Index: llvm/lib/ExecutionEngine/Interpreter/Execution.cpp diff -u llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.138 llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.139 --- llvm/lib/ExecutionEngine/Interpreter/Execution.cpp:1.138Sat Jun 18 13:34:52 2005 +++ llvm/lib/ExecutionEngine/Interpreter/Execution.cpp Mon Feb 6 23:29:44 2006 @@ -553,7 +553,7 @@ /// Pop the last stack frame off of ECStack and then copy the result /// back into the result variable if we are not returning void. The -/// result variable may be the ExitCode, or the Value of the calling +/// result variable may be the ExitValue, or the Value of the calling /// CallInst if there was a previous stack frame. This method may /// invalidate any ECStack iterators you have. This method also takes /// care of switching to the normal destination BB, if we are returning @@ -566,9 +566,9 @@ if (ECStack.empty()) { // Finished main. Put result into exit code... if (RetTy && RetTy->isIntegral()) { // Nonvoid return type? - ExitCode = Result.IntVal; // Capture the exit code of the program + ExitValue = Result; // Capture the exit value of the program } else { - ExitCode = 0; + memset(&ExitValue, 0, sizeof(ExitValue)); } } else { // If we have a previous stack frame, and we have a previous call, Index: llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp diff -u llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp:1.25 llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp:1.26 --- llvm/lib/ExecutionEngine/Interpreter/Interpreter.cpp:1.25 Wed Jul 27 01:12:33 2005 +++ llvm/lib/ExecutionEngine/Interpreter/Interpreter.cppMon Feb 6 23:29:44 2006 @@ -50,10 +50,11 @@ // Interpreter::Interpreter(Module *M, bool isLittleEndian, bool isLongPointer, IntrinsicLowering *il) - : ExecutionEngine(M), ExitCode(0), + : ExecutionEngine(M), TD("lli", isLittleEndian, isLongPointer ? 8 : 4, isLongPointer ? 8 : 4, isLongPointer ? 8 : 4), IL(il) { + memset(&ExitValue, 0, sizeof(ExitValue)); setTargetData(TD); // Initialize the "backend" initializeExecutionEngine(); @@ -100,8 +101,6 @@ // Start executing the function. run(); - GenericValue rv; - rv.IntVal = ExitCode; - return rv; + return ExitValue; } Index: llvm/lib/ExecutionEngine/Interpreter/Interpreter.h diff -u llvm/lib/ExecutionEngine/Interpreter/Interpreter.h:1.71 llvm/lib/ExecutionEngine/Interpreter/Interpreter.h:1.72 --- llvm/lib/ExecutionEngine/Interpreter/Interpreter.h:1.71 Sat Jun 18 13:34:52 2005 +++ llvm/lib/ExecutionEngine/Interpreter/Interpreter.h Mon Feb 6 23:29:44 2006 @@ -80,7 +80,7 @@ // Interpreter - This class represents the entirety of the interpreter. // class Interpreter : public ExecutionEngine, public InstVisitor { - int ExitCode;// The exit code to be returned by the lli util + GenericValue ExitValue; // The return value of the called function TargetData TD; IntrinsicLowering *IL; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/ExecutionEngine/ExecutionEngine.cpp
Changes in directory llvm/lib/ExecutionEngine: ExecutionEngine.cpp updated: 1.73 -> 1.74 --- Log message: Teach the interpreter to handle global variables that are added to a module after interpretation has begun. The JIT already handles this situation correctly, and the interpreter can already handle new functions being added. --- Diffs of the changes: (+10 -1) ExecutionEngine.cpp | 11 ++- 1 files changed, 10 insertions(+), 1 deletion(-) Index: llvm/lib/ExecutionEngine/ExecutionEngine.cpp diff -u llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.73 llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.74 --- llvm/lib/ExecutionEngine/ExecutionEngine.cpp:1.73 Fri Jan 20 12:18:40 2006 +++ llvm/lib/ExecutionEngine/ExecutionEngine.cppMon Feb 6 23:11:57 2006 @@ -171,7 +171,16 @@ return getPointerToFunction(F); MutexGuard locked(lock); - assert(state.getGlobalAddressMap(locked)[GV] && "Global hasn't had an address allocated yet?"); + void *p = state.getGlobalAddressMap(locked)[GV]; + if (p) +return p; + + // Global variable might have been added since interpreter started. + if (GlobalVariable *GVar = + const_cast(dyn_cast(GV))) +EmitGlobalVariable(GVar); + else +assert("Global hasn't had an address allocated yet!"); return state.getGlobalAddressMap(locked)[GV]; } ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/include/llvm/CodeGen/ELFWriter.h
Changes in directory llvm/include/llvm/CodeGen: ELFWriter.h updated: 1.10 -> 1.11 --- Log message: Fix some truncation warnings. --- Diffs of the changes: (+16 -16) ELFWriter.h | 32 1 files changed, 16 insertions(+), 16 deletions(-) Index: llvm/include/llvm/CodeGen/ELFWriter.h diff -u llvm/include/llvm/CodeGen/ELFWriter.h:1.10 llvm/include/llvm/CodeGen/ELFWriter.h:1.11 --- llvm/include/llvm/CodeGen/ELFWriter.h:1.10 Sat Jul 16 12:40:34 2005 +++ llvm/include/llvm/CodeGen/ELFWriter.h Mon Feb 6 21:34:35 2006 @@ -256,23 +256,23 @@ } void outxword(DataBuffer &Output, uint64_t X) { if (isLittleEndian) { -Output.push_back((X >> 0) & 255); -Output.push_back((X >> 8) & 255); -Output.push_back((X >> 16) & 255); -Output.push_back((X >> 24) & 255); -Output.push_back((X >> 32) & 255); -Output.push_back((X >> 40) & 255); -Output.push_back((X >> 48) & 255); -Output.push_back((X >> 56) & 255); +Output.push_back(unsigned(X >> 0) & 255); +Output.push_back(unsigned(X >> 8) & 255); +Output.push_back(unsigned(X >> 16) & 255); +Output.push_back(unsigned(X >> 24) & 255); +Output.push_back(unsigned(X >> 32) & 255); +Output.push_back(unsigned(X >> 40) & 255); +Output.push_back(unsigned(X >> 48) & 255); +Output.push_back(unsigned(X >> 56) & 255); } else { -Output.push_back((X >> 56) & 255); -Output.push_back((X >> 48) & 255); -Output.push_back((X >> 40) & 255); -Output.push_back((X >> 32) & 255); -Output.push_back((X >> 24) & 255); -Output.push_back((X >> 16) & 255); -Output.push_back((X >> 8) & 255); -Output.push_back((X >> 0) & 255); +Output.push_back(unsigned(X >> 56) & 255); +Output.push_back(unsigned(X >> 48) & 255); +Output.push_back(unsigned(X >> 40) & 255); +Output.push_back(unsigned(X >> 32) & 255); +Output.push_back(unsigned(X >> 24) & 255); +Output.push_back(unsigned(X >> 16) & 255); +Output.push_back(unsigned(X >> 8) & 255); +Output.push_back(unsigned(X >> 0) & 255); } } void outaddr32(DataBuffer &Output, unsigned X) { ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp
Changes in directory llvm/lib/CodeGen/SelectionDAG: ScheduleDAG.cpp updated: 1.64 -> 1.65 --- Log message: Fix VC++ warning. --- Diffs of the changes: (+0 -1) ScheduleDAG.cpp |1 - 1 files changed, 1 deletion(-) Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.64 llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.65 --- llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp:1.64 Sat Feb 4 00:49:00 2006 +++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAG.cpp Sat Feb 4 10:20:31 2006 @@ -301,7 +301,6 @@ // Add all of the operand registers to the instruction. for (unsigned i = 2; i != NumOps; i += 2) { unsigned Flags =cast(Node->getOperand(i+1))->getValue(); -MachineOperand::UseType UseTy; switch (Flags) { default: assert(0 && "Bad flags!"); case 1: { // Use of register. ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/CodeGen/VirtRegMap.cpp
Changes in directory llvm/lib/CodeGen: VirtRegMap.cpp updated: 1.54 -> 1.55 --- Log message: Fix VC++ warning. --- Diffs of the changes: (+1 -1) VirtRegMap.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/CodeGen/VirtRegMap.cpp diff -u llvm/lib/CodeGen/VirtRegMap.cpp:1.54 llvm/lib/CodeGen/VirtRegMap.cpp:1.55 --- llvm/lib/CodeGen/VirtRegMap.cpp:1.54Fri Feb 3 17:50:46 2006 +++ llvm/lib/CodeGen/VirtRegMap.cpp Fri Feb 3 21:27:39 2006 @@ -279,7 +279,7 @@ ModifyStackSlot(Slot); PhysRegsAvailable.insert(std::make_pair(Reg, Slot)); -SpillSlotsAvailable[Slot] = (Reg << 1) | CanClobber; +SpillSlotsAvailable[Slot] = (Reg << 1) | (unsigned)CanClobber; DEBUG(std::cerr << "Remembering SS#" << Slot << " in physreg " << MRI->getName(Reg) << "\n"); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/x86/x86.vcproj
Changes in directory llvm/win32/x86: x86.vcproj updated: 1.19 -> 1.20 --- Log message: Keep Visual Studio informed. --- Diffs of the changes: (+4 -5) x86.vcproj |9 - 1 files changed, 4 insertions(+), 5 deletions(-) Index: llvm/win32/x86/x86.vcproj diff -u llvm/win32/x86/x86.vcproj:1.19 llvm/win32/x86/x86.vcproj:1.20 --- llvm/win32/x86/x86.vcproj:1.19 Sun Jan 29 22:07:08 2006 +++ llvm/win32/x86/x86.vcproj Fri Feb 3 21:27:04 2006 @@ -124,7 +124,8 @@ ..\$(IntDir)\TableGen.exe -gen-asm-writer -I ..\..\lib\Target\X86 $(InputPath) -o X86GenAsmWriter.inc ..\$(IntDir)\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target\X86 $(InputPath) -o X86GenAsmWriter1.inc ..\$(IntDir)\TableGen.exe -gen-dag-isel -I ..\..\lib\Target\X86 $(InputPath) -o X86GenDAGISel.inc -..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target\X86 $(InputPath) -o X86GenSubtarget.inc" +..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target\X86 $(InputPath) -o X86GenSubtarget.inc +" AdditionalDependencies="$(InputDir)X86InstrInfo.td;$(InputDir)X86RegisterInfo.td;$(InputDir)..\Target.td;$(ProjectDir)..\$(IntDir)\TableGen.exe" Outputs="X86GenRegisterNames.inc;X86GenRegisterInfo.h.inc;X86GenRegisterInfo.inc;X86GenInstrNames.inc;X86GenInstrInfo.inc;X86GenAsmWriter.inc;X86GenAsmWriter1.inc;X86GenDAGISel.inc;X86GenSubtarget.inc"/> @@ -141,7 +142,8 @@ ..\$(IntDir)\TableGen.exe -gen-asm-writer -I ..\..\lib\Target\X86 $(InputPath) -o X86GenAsmWriter.inc ..\$(IntDir)\TableGen.exe -gen-asm-writer -asmwriternum=1 -I ..\..\lib\Target\X86 $(InputPath) -o X86GenAsmWriter1.inc ..\$(IntDir)\TableGen.exe -gen-dag-isel -I ..\..\lib\Target\X86 $(InputPath) -o X86GenDAGISel.inc -..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target\X86 $(InputPath) -o X86GenSubtarget.inc" +..\$(IntDir)\TableGen.exe -gen-subtarget -I ..\..\lib\Target\X86 $(InputPath) -o X86GenSubtarget.inc +" AdditionalDependencies="$(InputDir)X86InstrInfo.td;$(InputDir)X86RegisterInfo.td;$(InputDir)..\Target.td;$(ProjectDir)..\$(IntDir)\TableGen.exe" Outputs="X86GenRegisterNames.inc;X86GenRegisterInfo.h.inc;X86GenRegisterInfo.inc;X86GenInstrNames.inc;X86GenInstrInfo.inc;X86GenAsmWriter.inc;X86GenAsmWriter1.inc;X86GenDAGISel.inc;X86GenSubtarget.inc"/> @@ -180,9 +182,6 @@ RelativePath="..\..\lib\Target\X86\X86JITInfo.cpp"> - - http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/CodeGen/VirtRegMap.cpp
Changes in directory llvm/lib/CodeGen: VirtRegMap.cpp updated: 1.50 -> 1.51 --- Log message: Fix VC++ compilation error caused by using a std::map iterator variable to receive a std::multimap iterator value. For some reason, GCC doesn't have a problem with this. --- Diffs of the changes: (+1 -1) VirtRegMap.cpp |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/lib/CodeGen/VirtRegMap.cpp diff -u llvm/lib/CodeGen/VirtRegMap.cpp:1.50 llvm/lib/CodeGen/VirtRegMap.cpp:1.51 --- llvm/lib/CodeGen/VirtRegMap.cpp:1.50Thu Feb 2 21:16:14 2006 +++ llvm/lib/CodeGen/VirtRegMap.cpp Thu Feb 2 21:48:54 2006 @@ -234,7 +234,7 @@ void LocalSpiller::ClobberPhysRegOnly(unsigned PhysReg, std::map &SpillSlots, std::multimap &PhysRegsAvailable) { - std::map::iterator I = PhysRegsAvailable.lower_bound(PhysReg); + std::multimap::iterator I = PhysRegsAvailable.lower_bound(PhysReg); while (I != PhysRegsAvailable.end() && I->first == PhysReg) { int Slot = I->second; PhysRegsAvailable.erase(I++); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/VMCore/InlineAsm.cpp
Changes in directory llvm/lib/VMCore: InlineAsm.cpp updated: 1.6 -> 1.7 --- Log message: Fix VC++ compilation error. --- Diffs of the changes: (+1 -0) InlineAsm.cpp |1 + 1 files changed, 1 insertion(+) Index: llvm/lib/VMCore/InlineAsm.cpp diff -u llvm/lib/VMCore/InlineAsm.cpp:1.6 llvm/lib/VMCore/InlineAsm.cpp:1.7 --- llvm/lib/VMCore/InlineAsm.cpp:1.6 Tue Jan 31 19:29:47 2006 +++ llvm/lib/VMCore/InlineAsm.cpp Tue Jan 31 22:37:04 2006 @@ -13,6 +13,7 @@ #include "llvm/InlineAsm.h" #include "llvm/DerivedTypes.h" +#include #include using namespace llvm; ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/include/llvm/System/DynamicLibrary.h
Changes in directory llvm/include/llvm/System: DynamicLibrary.h updated: 1.4 -> 1.5 --- Log message: Add AddSymbol() method to DynamicLibrary to work around Windows limitation of being unable to search for symbols in an EXE. It will also allow other existing hacks to be improved. --- Diffs of the changes: (+14 -0) DynamicLibrary.h | 14 ++ 1 files changed, 14 insertions(+) Index: llvm/include/llvm/System/DynamicLibrary.h diff -u llvm/include/llvm/System/DynamicLibrary.h:1.4 llvm/include/llvm/System/DynamicLibrary.h:1.5 --- llvm/include/llvm/System/DynamicLibrary.h:1.4 Thu Apr 21 15:48:15 2005 +++ llvm/include/llvm/System/DynamicLibrary.h Sun Jan 29 22:33:51 2006 @@ -26,6 +26,9 @@ /// operating system interface, this class provides a portable interface that /// allows dynamic libraries to be loaded and and searched for externally /// defined symbols. This is typically used to provide "plug-in" support. + /// It also allows for symbols to be defined which don't live in any library, + /// but rather the main program itself, useful on Windows where the main + /// executable cannot be searched. /// @since 1.4 /// @brief Portable dynamic library abstraction. class DynamicLibrary { @@ -81,6 +84,17 @@ return SearchForAddressOfSymbol(symbolName.c_str()); } + /// This functions permanently adds the symbol \p symbolName with the + /// value \p symbolValue. These symbols are searched before any + /// libraries. + /// @brief Add searchable symbol/value pair. + static void AddSymbol(const char* symbolName, void *symbolValue); + + /// @brief Convenience function for C++ophiles. + static void AddSymbol(const std::string& symbolName, void *symbolValue) { +AddSymbol(symbolName.c_str(), symbolValue); + } + /// @} /// @name Accessors /// @{ ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/System/DynamicLibrary.cpp
Changes in directory llvm/lib/System: DynamicLibrary.cpp updated: 1.11 -> 1.12 --- Log message: Add AddSymbol() method to DynamicLibrary to work around Windows limitation of being unable to search for symbols in an EXE. It will also allow other existing hacks to be improved. --- Diffs of the changes: (+15 -0) DynamicLibrary.cpp | 15 +++ 1 files changed, 15 insertions(+) Index: llvm/lib/System/DynamicLibrary.cpp diff -u llvm/lib/System/DynamicLibrary.cpp:1.11 llvm/lib/System/DynamicLibrary.cpp:1.12 --- llvm/lib/System/DynamicLibrary.cpp:1.11 Thu Apr 21 17:48:35 2005 +++ llvm/lib/System/DynamicLibrary.cpp Sun Jan 29 22:33:51 2006 @@ -13,6 +13,14 @@ #include "llvm/System/DynamicLibrary.h" #include "llvm/Config/config.h" +#include + +// Collection of symbol name/value pairs to be searched prior to any libraries. +static std::map g_symbols; + +void llvm::sys::DynamicLibrary::AddSymbol(const char* symbolName, void *symbolValue) { + g_symbols[symbolName] = symbolValue; +} // It is not possible to use ltdl.c on VC++ builds as the terms of its LGPL // license and special exception would cause all of LLVM to be placed under @@ -107,6 +115,13 @@ void* DynamicLibrary::SearchForAddressOfSymbol(const char* symbolName) { check_ltdl_initialization(); + + // First check symbols added via AddSymbol(). + std::map::iterator I = g_symbols.find(symbolName); + if (I != g_symbols.end()) +return I->second; + + // Now search the libraries. for (std::vector::iterator I = OpenedHandles.begin(), E = OpenedHandles.end(); I != E; ++I) { lt_ptr ptr = lt_dlsym(*I, symbolName); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/lib/System/Win32/DynamicLibrary.inc
Changes in directory llvm/lib/System/Win32: DynamicLibrary.inc updated: 1.13 -> 1.14 --- Log message: Add AddSymbol() method to DynamicLibrary to work around Windows limitation of being unable to search for symbols in an EXE. It will also allow other existing hacks to be improved. --- Diffs of the changes: (+6 -0) DynamicLibrary.inc |6 ++ 1 files changed, 6 insertions(+) Index: llvm/lib/System/Win32/DynamicLibrary.inc diff -u llvm/lib/System/Win32/DynamicLibrary.inc:1.13 llvm/lib/System/Win32/DynamicLibrary.inc:1.14 --- llvm/lib/System/Win32/DynamicLibrary.inc:1.13 Sun Jan 29 16:02:52 2006 +++ llvm/lib/System/Win32/DynamicLibrary.incSun Jan 29 22:33:51 2006 @@ -107,6 +107,12 @@ } void* DynamicLibrary::SearchForAddressOfSymbol(const char* symbolName) { + // First check symbols added via AddSymbol(). + std::map::iterator I = g_symbols.find(symbolName); + if (I != g_symbols.end()) +return I->second; + + // Now search the libraries. for (std::vector::iterator I = OpenedHandles.begin(), E = OpenedHandles.end(); I != E; ++I) { FARPROC ptr = GetProcAddress((HMODULE)*I, symbolName); ___ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/VMCore/VMCore.vcproj
Changes in directory llvm/win32/VMCore: VMCore.vcproj updated: 1.14 -> 1.15 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) VMCore.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/VMCore/VMCore.vcproj diff -u llvm/win32/VMCore/VMCore.vcproj:1.14 llvm/win32/VMCore/VMCore.vcproj:1.15 --- llvm/win32/VMCore/VMCore.vcproj:1.14Mon Jan 23 22:40:54 2006 +++ llvm/win32/VMCore/VMCore.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS;HASH_NAMESPACE="stdext"" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -66,7 +66,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/Linker/Linker.vcproj
Changes in directory llvm/win32/Linker: Linker.vcproj updated: 1.5 -> 1.6 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) Linker.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/Linker/Linker.vcproj diff -u llvm/win32/Linker/Linker.vcproj:1.5 llvm/win32/Linker/Linker.vcproj:1.6 --- llvm/win32/Linker/Linker.vcproj:1.5 Fri Dec 16 18:14:47 2005 +++ llvm/win32/Linker/Linker.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -66,7 +66,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/Bytecode/Bytecode.vcproj
Changes in directory llvm/win32/Bytecode: Bytecode.vcproj updated: 1.5 -> 1.6 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) Bytecode.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/Bytecode/Bytecode.vcproj diff -u llvm/win32/Bytecode/Bytecode.vcproj:1.5 llvm/win32/Bytecode/Bytecode.vcproj:1.6 --- llvm/win32/Bytecode/Bytecode.vcproj:1.5 Fri Dec 16 18:14:46 2005 +++ llvm/win32/Bytecode/Bytecode.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -66,7 +66,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/llvm-nm/llvm-nm.vcproj
Changes in directory llvm/win32/llvm-nm: llvm-nm.vcproj updated: 1.3 -> 1.4 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) llvm-nm.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/llvm-nm/llvm-nm.vcproj diff -u llvm/win32/llvm-nm/llvm-nm.vcproj:1.3 llvm/win32/llvm-nm/llvm-nm.vcproj:1.4 --- llvm/win32/llvm-nm/llvm-nm.vcproj:1.3 Fri Dec 16 18:14:47 2005 +++ llvm/win32/llvm-nm/llvm-nm.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -73,7 +73,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/llvm-as/llvm-as.vcproj
Changes in directory llvm/win32/llvm-as: llvm-as.vcproj updated: 1.3 -> 1.4 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) llvm-as.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/llvm-as/llvm-as.vcproj diff -u llvm/win32/llvm-as/llvm-as.vcproj:1.3 llvm/win32/llvm-as/llvm-as.vcproj:1.4 --- llvm/win32/llvm-as/llvm-as.vcproj:1.3 Fri Dec 16 18:14:47 2005 +++ llvm/win32/llvm-as/llvm-as.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -73,7 +73,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/bugpoint/bugpoint.vcproj
Changes in directory llvm/win32/bugpoint: bugpoint.vcproj updated: 1.3 -> 1.4 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) bugpoint.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/bugpoint/bugpoint.vcproj diff -u llvm/win32/bugpoint/bugpoint.vcproj:1.3 llvm/win32/bugpoint/bugpoint.vcproj:1.4 --- llvm/win32/bugpoint/bugpoint.vcproj:1.3 Fri Dec 16 18:14:47 2005 +++ llvm/win32/bugpoint/bugpoint.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -73,7 +73,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/llvm-link/llvm-link.vcproj
Changes in directory llvm/win32/llvm-link: llvm-link.vcproj updated: 1.3 -> 1.4 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) llvm-link.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/llvm-link/llvm-link.vcproj diff -u llvm/win32/llvm-link/llvm-link.vcproj:1.3 llvm/win32/llvm-link/llvm-link.vcproj:1.4 --- llvm/win32/llvm-link/llvm-link.vcproj:1.3 Fri Dec 16 18:14:47 2005 +++ llvm/win32/llvm-link/llvm-link.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -73,7 +73,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/ExecutionEngine/ExecutionEngine.vcproj
Changes in directory llvm/win32/ExecutionEngine: ExecutionEngine.vcproj updated: 1.8 -> 1.9 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) ExecutionEngine.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/ExecutionEngine/ExecutionEngine.vcproj diff -u llvm/win32/ExecutionEngine/ExecutionEngine.vcproj:1.8 llvm/win32/ExecutionEngine/ExecutionEngine.vcproj:1.9 --- llvm/win32/ExecutionEngine/ExecutionEngine.vcproj:1.8 Fri Dec 16 18:14:46 2005 +++ llvm/win32/ExecutionEngine/ExecutionEngine.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -66,7 +66,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/analyze/analyze.vcproj
Changes in directory llvm/win32/analyze: analyze.vcproj updated: 1.6 -> 1.7 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) analyze.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/analyze/analyze.vcproj diff -u llvm/win32/analyze/analyze.vcproj:1.6 llvm/win32/analyze/analyze.vcproj:1.7 --- llvm/win32/analyze/analyze.vcproj:1.6 Fri Dec 16 18:14:47 2005 +++ llvm/win32/analyze/analyze.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -73,7 +73,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/lli/lli.vcproj
Changes in directory llvm/win32/lli: lli.vcproj updated: 1.7 -> 1.8 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) lli.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/lli/lli.vcproj diff -u llvm/win32/lli/lli.vcproj:1.7 llvm/win32/lli/lli.vcproj:1.8 --- llvm/win32/lli/lli.vcproj:1.7 Fri Dec 16 18:14:47 2005 +++ llvm/win32/lli/lli.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -74,7 +74,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/llvm-ar/llvm-ar.vcproj
Changes in directory llvm/win32/llvm-ar: llvm-ar.vcproj updated: 1.3 -> 1.4 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) llvm-ar.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/llvm-ar/llvm-ar.vcproj diff -u llvm/win32/llvm-ar/llvm-ar.vcproj:1.3 llvm/win32/llvm-ar/llvm-ar.vcproj:1.4 --- llvm/win32/llvm-ar/llvm-ar.vcproj:1.3 Fri Dec 16 18:14:47 2005 +++ llvm/win32/llvm-ar/llvm-ar.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -73,7 +73,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/llvm-bcanalyzer/llvm-bcanalyzer.vcproj
Changes in directory llvm/win32/llvm-bcanalyzer: llvm-bcanalyzer.vcproj updated: 1.3 -> 1.4 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) llvm-bcanalyzer.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/llvm-bcanalyzer/llvm-bcanalyzer.vcproj diff -u llvm/win32/llvm-bcanalyzer/llvm-bcanalyzer.vcproj:1.3 llvm/win32/llvm-bcanalyzer/llvm-bcanalyzer.vcproj:1.4 --- llvm/win32/llvm-bcanalyzer/llvm-bcanalyzer.vcproj:1.3 Fri Dec 16 18:14:47 2005 +++ llvm/win32/llvm-bcanalyzer/llvm-bcanalyzer.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -73,7 +73,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/System/System.vcproj
Changes in directory llvm/win32/System: System.vcproj updated: 1.16 -> 1.17 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) System.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/System/System.vcproj diff -u llvm/win32/System/System.vcproj:1.16 llvm/win32/System/System.vcproj:1.17 --- llvm/win32/System/System.vcproj:1.16Fri Dec 16 18:14:47 2005 +++ llvm/win32/System/System.vcproj Sun Jan 29 22:07:07 2006 @@ -21,7 +21,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -67,7 +67,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/Transforms/Transforms.vcproj
Changes in directory llvm/win32/Transforms: Transforms.vcproj updated: 1.20 -> 1.21 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) Transforms.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/Transforms/Transforms.vcproj diff -u llvm/win32/Transforms/Transforms.vcproj:1.20 llvm/win32/Transforms/Transforms.vcproj:1.21 --- llvm/win32/Transforms/Transforms.vcproj:1.20Mon Jan 16 23:13:21 2006 +++ llvm/win32/Transforms/Transforms.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS;HASH_NAMESPACE="stdext"" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -66,7 +66,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/Analysis/Analysis.vcproj
Changes in directory llvm/win32/Analysis: Analysis.vcproj updated: 1.17 -> 1.18 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) Analysis.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/Analysis/Analysis.vcproj diff -u llvm/win32/Analysis/Analysis.vcproj:1.17 llvm/win32/Analysis/Analysis.vcproj:1.18 --- llvm/win32/Analysis/Analysis.vcproj:1.17Sun Jan 8 12:29:44 2006 +++ llvm/win32/Analysis/Analysis.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -66,7 +66,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/opt/opt.vcproj
Changes in directory llvm/win32/opt: opt.vcproj updated: 1.3 -> 1.4 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) opt.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/opt/opt.vcproj diff -u llvm/win32/opt/opt.vcproj:1.3 llvm/win32/opt/opt.vcproj:1.4 --- llvm/win32/opt/opt.vcproj:1.3 Fri Dec 16 18:14:47 2005 +++ llvm/win32/opt/opt.vcproj Sun Jan 29 22:07:08 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -73,7 +73,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/Target/Target.vcproj
Changes in directory llvm/win32/Target: Target.vcproj updated: 1.12 -> 1.13 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) Target.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/Target/Target.vcproj diff -u llvm/win32/Target/Target.vcproj:1.12 llvm/win32/Target/Target.vcproj:1.13 --- llvm/win32/Target/Target.vcproj:1.12Fri Dec 16 18:14:47 2005 +++ llvm/win32/Target/Target.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -66,7 +66,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/Configure/Configure.vcproj
Changes in directory llvm/win32/Configure: Configure.vcproj updated: 1.11 -> 1.12 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+1 -1) Configure.vcproj |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/win32/Configure/Configure.vcproj diff -u llvm/win32/Configure/Configure.vcproj:1.11 llvm/win32/Configure/Configure.vcproj:1.12 --- llvm/win32/Configure/Configure.vcproj:1.11 Thu Jan 19 22:34:45 2006 +++ llvm/win32/Configure/Configure.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/llvm-dis/llvm-dis.vcproj
Changes in directory llvm/win32/llvm-dis: llvm-dis.vcproj updated: 1.4 -> 1.5 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) llvm-dis.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/llvm-dis/llvm-dis.vcproj diff -u llvm/win32/llvm-dis/llvm-dis.vcproj:1.4 llvm/win32/llvm-dis/llvm-dis.vcproj:1.5 --- llvm/win32/llvm-dis/llvm-dis.vcproj:1.4 Fri Dec 16 18:14:47 2005 +++ llvm/win32/llvm-dis/llvm-dis.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -73,7 +73,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/llvm-ranlib/llvm-ranlib.vcproj
Changes in directory llvm/win32/llvm-ranlib: llvm-ranlib.vcproj updated: 1.3 -> 1.4 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) llvm-ranlib.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/llvm-ranlib/llvm-ranlib.vcproj diff -u llvm/win32/llvm-ranlib/llvm-ranlib.vcproj:1.3 llvm/win32/llvm-ranlib/llvm-ranlib.vcproj:1.4 --- llvm/win32/llvm-ranlib/llvm-ranlib.vcproj:1.3 Fri Dec 16 18:14:47 2005 +++ llvm/win32/llvm-ranlib/llvm-ranlib.vcproj Sun Jan 29 22:07:08 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -73,7 +73,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/llvm-prof/llvm-prof.vcproj
Changes in directory llvm/win32/llvm-prof: llvm-prof.vcproj updated: 1.3 -> 1.4 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) llvm-prof.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/llvm-prof/llvm-prof.vcproj diff -u llvm/win32/llvm-prof/llvm-prof.vcproj:1.3 llvm/win32/llvm-prof/llvm-prof.vcproj:1.4 --- llvm/win32/llvm-prof/llvm-prof.vcproj:1.3 Fri Dec 16 18:14:47 2005 +++ llvm/win32/llvm-prof/llvm-prof.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -73,7 +73,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/TableGen/TableGen.vcproj
Changes in directory llvm/win32/TableGen: TableGen.vcproj updated: 1.19 -> 1.20 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) TableGen.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/TableGen/TableGen.vcproj diff -u llvm/win32/TableGen/TableGen.vcproj:1.19 llvm/win32/TableGen/TableGen.vcproj:1.20 --- llvm/win32/TableGen/TableGen.vcproj:1.19Fri Dec 16 18:14:47 2005 +++ llvm/win32/TableGen/TableGen.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;..;..\..\utils\tablegen" - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -74,7 +74,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/CBackend/CBackend.vcproj
Changes in directory llvm/win32/CBackend: CBackend.vcproj updated: 1.4 -> 1.5 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) CBackend.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/CBackend/CBackend.vcproj diff -u llvm/win32/CBackend/CBackend.vcproj:1.4 llvm/win32/CBackend/CBackend.vcproj:1.5 --- llvm/win32/CBackend/CBackend.vcproj:1.4 Fri Dec 16 18:14:46 2005 +++ llvm/win32/CBackend/CBackend.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -66,7 +66,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/x86/x86.vcproj
Changes in directory llvm/win32/x86: x86.vcproj updated: 1.18 -> 1.19 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) x86.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/x86/x86.vcproj diff -u llvm/win32/x86/x86.vcproj:1.18 llvm/win32/x86/x86.vcproj:1.19 --- llvm/win32/x86/x86.vcproj:1.18 Thu Jan 26 10:49:00 2006 +++ llvm/win32/x86/x86.vcproj Sun Jan 29 22:07:08 2006 @@ -21,7 +21,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories=".;..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -67,7 +67,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/Support/Support.vcproj
Changes in directory llvm/win32/Support: Support.vcproj updated: 1.13 -> 1.14 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) Support.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/Support/Support.vcproj diff -u llvm/win32/Support/Support.vcproj:1.13 llvm/win32/Support/Support.vcproj:1.14 --- llvm/win32/Support/Support.vcproj:1.13 Mon Jan 16 23:13:21 2006 +++ llvm/win32/Support/Support.vcproj Sun Jan 29 22:07:07 2006 @@ -21,7 +21,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -67,7 +67,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/llc/llc.vcproj
Changes in directory llvm/win32/llc: llc.vcproj updated: 1.8 -> 1.9 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) llc.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/llc/llc.vcproj diff -u llvm/win32/llc/llc.vcproj:1.8 llvm/win32/llc/llc.vcproj:1.9 --- llvm/win32/llc/llc.vcproj:1.8 Fri Dec 16 18:14:47 2005 +++ llvm/win32/llc/llc.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -74,7 +74,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/llvm-ld/llvm-ld.vcproj
Changes in directory llvm/win32/llvm-ld: llvm-ld.vcproj updated: 1.3 -> 1.4 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) llvm-ld.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/llvm-ld/llvm-ld.vcproj diff -u llvm/win32/llvm-ld/llvm-ld.vcproj:1.3 llvm/win32/llvm-ld/llvm-ld.vcproj:1.4 --- llvm/win32/llvm-ld/llvm-ld.vcproj:1.3 Fri Dec 16 18:14:47 2005 +++ llvm/win32/llvm-ld/llvm-ld.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -73,7 +73,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/Fibonacci/Fibonacci.vcproj
Changes in directory llvm/win32/Fibonacci: Fibonacci.vcproj updated: 1.10 -> 1.11 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) Fibonacci.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/Fibonacci/Fibonacci.vcproj diff -u llvm/win32/Fibonacci/Fibonacci.vcproj:1.10 llvm/win32/Fibonacci/Fibonacci.vcproj:1.11 --- llvm/win32/Fibonacci/Fibonacci.vcproj:1.10 Fri Dec 16 18:14:47 2005 +++ llvm/win32/Fibonacci/Fibonacci.vcproj Sun Jan 29 22:07:07 2006 @@ -21,7 +21,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_CONSOLE;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -76,7 +76,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/CodeGen/CodeGen.vcproj
Changes in directory llvm/win32/CodeGen: CodeGen.vcproj updated: 1.20 -> 1.21 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) CodeGen.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/CodeGen/CodeGen.vcproj diff -u llvm/win32/CodeGen/CodeGen.vcproj:1.20 llvm/win32/CodeGen/CodeGen.vcproj:1.21 --- llvm/win32/CodeGen/CodeGen.vcproj:1.20 Mon Jan 23 22:40:54 2006 +++ llvm/win32/CodeGen/CodeGen.vcproj Sun Jan 29 22:07:07 2006 @@ -20,7 +20,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;.." - PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -66,7 +66,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
[llvm-commits] CVS: llvm/win32/AsmParser/AsmParser.vcproj
Changes in directory llvm/win32/AsmParser: AsmParser.vcproj updated: 1.8 -> 1.9 --- Log message: Add _CRT_SECURE_NO_DEPRECATE preprocessor symbol to make VS2005 happy. --- Diffs of the changes: (+2 -2) AsmParser.vcproj |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) Index: llvm/win32/AsmParser/AsmParser.vcproj diff -u llvm/win32/AsmParser/AsmParser.vcproj:1.8 llvm/win32/AsmParser/AsmParser.vcproj:1.9 --- llvm/win32/AsmParser/AsmParser.vcproj:1.8 Fri Dec 16 18:14:46 2005 +++ llvm/win32/AsmParser/AsmParser.vcproj Sun Jan 29 22:07:07 2006 @@ -21,7 +21,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="..\..\include;..;..\..\lib\AsmParser" - PreprocessorDefinitions="WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" + PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;WIN32;_DEBUG;_LIB;__STDC_LIMIT_MACROS" StringPooling="TRUE" MinimalRebuild="TRUE" BasicRuntimeChecks="3" @@ -67,7 +67,7 @@ http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits