Changes in directory llvm/lib/VMCore:

InlineAsm.cpp updated: 1.10 -> 1.11
Mangler.cpp updated: 1.27 -> 1.28
---
Log message:

For PR780: http://llvm.cs.uiuc.edu/PR780 :
1. Add #includes to LinkAllVMCore.h to get Mangler.o and InlineAsm.o
2. Make Mangler.h and InlineAsm.h use the macros to ensure linkage
3. Make each of the tools with --load options include LinkAllVMCore.h
This should be the last set of changes for this bug and 800.


---
Diffs of the changes:  (+5 -0)

 InlineAsm.cpp |    2 ++
 Mangler.cpp   |    3 +++
 2 files changed, 5 insertions(+)


Index: llvm/lib/VMCore/InlineAsm.cpp
diff -u llvm/lib/VMCore/InlineAsm.cpp:1.10 llvm/lib/VMCore/InlineAsm.cpp:1.11
--- llvm/lib/VMCore/InlineAsm.cpp:1.10  Wed Jun  7 17:47:44 2006
+++ llvm/lib/VMCore/InlineAsm.cpp       Wed Jun  7 18:03:13 2006
@@ -208,3 +208,5 @@
   if (Ty->getNumParams() != NumInputs) return false;
   return true;
 }
+
+DEFINING_FILE_FOR(InlineAsm)


Index: llvm/lib/VMCore/Mangler.cpp
diff -u llvm/lib/VMCore/Mangler.cpp:1.27 llvm/lib/VMCore/Mangler.cpp:1.28
--- llvm/lib/VMCore/Mangler.cpp:1.27    Mon Feb 13 15:43:26 2006
+++ llvm/lib/VMCore/Mangler.cpp Wed Jun  7 18:03:13 2006
@@ -200,3 +200,6 @@
   for (Module::global_iterator I = M.global_begin(), E = M.global_end(); I != 
E; ++I)
     InsertName(I, Names);
 }
+
+// Cause this file to be linked in when Support/Mangler.h is #included
+DEFINING_FILE_FOR(Mangler)



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to