summaryrefslogtreecommitdiff
path: root/tools/opt/opt.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 /tools/opt/opt.cpp
parent3bdac5171bd7d661dd54cc30d9cbc55a3039c6c0 (diff)
downloadllvm-af303d53e6013417d189621c75179df6c7cbdcde.tar.gz
llvm-af303d53e6013417d189621c75179df6c7cbdcde.tar.bz2
llvm-af303d53e6013417d189621c75179df6c7cbdcde.tar.xz
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 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index b6ededd9dd..9fddd94438 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -25,6 +25,7 @@
#include "llvm/Support/PluginLoader.h"
#include "llvm/Support/SystemUtils.h"
#include "llvm/Transforms/LinkAllPasses.h"
+#include "llvm/LinkAllVMCore.h"
#include <fstream>
#include <memory>
#include <algorithm>