llvm.org GIT mirror llvm / a88155d
Print the module, not the pointer. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20156 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 14 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
7272 return 1;
7373 }
7474
75 if (DumpAsm) std::cerr << "Here's the assembly:\n" << M.get();
75 if (DumpAsm) std::cerr << "Here's the assembly:\n" << *M.get();
7676
7777 if (OutputFilename != "") { // Specified an output filename?
7878 if (OutputFilename != "-") { // Not stdout?
109109 // TODO: Iterate over the -l list and link in any modules containing
110110 // global symbols that have not been resolved so far.
111111
112 if (DumpAsm) std::cerr << "Here's the assembly:\n" << Composite.get();
112 if (DumpAsm) std::cerr << "Here's the assembly:\n" << *Composite.get();
113113
114114 // FIXME: cout is not binary!
115115 std::ostream *Out = &std::cout; // Default to printing to stdout...