diff options
author | Jim Laskey <jlaskey@mac.com> | 2006-01-04 22:28:25 +0000 |
---|---|---|
committer | Jim Laskey <jlaskey@mac.com> | 2006-01-04 22:28:25 +0000 |
commit | b2efb853f00d45b1c8d57f92acd0028fbdeffda6 (patch) | |
tree | b5563153d7d0593950bc90ea1253acb1d787c556 /tools | |
parent | 62281a132f11e742a96ff9caeaaaa17900020acd (diff) | |
download | external_llvm-b2efb853f00d45b1c8d57f92acd0028fbdeffda6.zip external_llvm-b2efb853f00d45b1c8d57f92acd0028fbdeffda6.tar.gz external_llvm-b2efb853f00d45b1c8d57f92acd0028fbdeffda6.tar.bz2 |
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.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 3f8c9f8..4f36bbd 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() |