Changes in directory llvm/include/llvm/Support:

Mangler.h updated: 1.19 -> 1.20
---
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:  (+4 -0)

 Mangler.h |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/include/llvm/Support/Mangler.h
diff -u llvm/include/llvm/Support/Mangler.h:1.19 
llvm/include/llvm/Support/Mangler.h:1.20
--- llvm/include/llvm/Support/Mangler.h:1.19    Thu Nov 10 15:39:12 2005
+++ llvm/include/llvm/Support/Mangler.h Wed Jun  7 18:03:13 2006
@@ -14,6 +14,7 @@
 #ifndef LLVM_SUPPORT_MANGLER_H
 #define LLVM_SUPPORT_MANGLER_H
 
+#include "llvm/Support/IncludeFile.h"
 #include <map>
 #include <set>
 #include <string>
@@ -103,4 +104,7 @@
 
 } // End llvm namespace
 
+// Force the Mangler.cpp file to be linked when this header is #included
+FORCE_DEFINING_FILE_TO_BE_LINKED(Mangler)
+
 #endif // LLVM_SUPPORT_MANGLER_H



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

Reply via email to