aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore/Mangler.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-06-07 23:03:13 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-06-07 23:03:13 +0000
commitaf303d53e6013417d189621c75179df6c7cbdcde (patch)
tree9b2ef2802a9e40a4a2ec2a63fb981d987e49d55f /lib/VMCore/Mangler.cpp
parent3bdac5171bd7d661dd54cc30d9cbc55a3039c6c0 (diff)
downloadexternal_llvm-af303d53e6013417d189621c75179df6c7cbdcde.zip
external_llvm-af303d53e6013417d189621c75179df6c7cbdcde.tar.gz
external_llvm-af303d53e6013417d189621c75179df6c7cbdcde.tar.bz2
For 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28719 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Mangler.cpp')
-rw-r--r--lib/VMCore/Mangler.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/VMCore/Mangler.cpp b/lib/VMCore/Mangler.cpp
index b1a9e3a..53719af 100644
--- a/lib/VMCore/Mangler.cpp
+++ b/lib/VMCore/Mangler.cpp
@@ -200,3 +200,6 @@ Mangler::Mangler(Module &M, const char *prefix)
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)