summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-01-04 22:28:25 +0000
committerJim Laskey <jlaskey@mac.com>2006-01-04 22:28:25 +0000
commitb2efb853f00d45b1c8d57f92acd0028fbdeffda6 (patch)
treeb5563153d7d0593950bc90ea1253acb1d787c556 /tools
parent62281a132f11e742a96ff9caeaaaa17900020acd (diff)
downloadllvm-b2efb853f00d45b1c8d57f92acd0028fbdeffda6.tar.gz
llvm-b2efb853f00d45b1c8d57f92acd0028fbdeffda6.tar.bz2
llvm-b2efb853f00d45b1c8d57f92acd0028fbdeffda6.tar.xz
Applied some recommend changes from sabre. The dominate one beginning "let the
pass manager do it's thing." Fixes crash when compiling -g files and suppresses dwarf statements if no debug info is present. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25100 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r--tools/llc/llc.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp
index 3f8c9f8250..4f36bbd858 100644
--- a/tools/llc/llc.cpp
+++ b/tools/llc/llc.cpp
@@ -239,9 +239,6 @@ int main(int argc, char **argv) {
}
}
- // Set up collection of debug information
- Passes.add(createDebugInfoPass());
-
// Ask the target to add backend passes as necessary.
if (Target.addPassesToEmitFile(Passes, *Out, FileType, Fast)) {
std::cerr << argv[0] << ": target '" << Target.getName()