mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Print the module, not the pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20156 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -73,7 +73,7 @@ int main(int argc, char **argv) {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DumpAsm) std::cerr << "Here's the assembly:\n" << M.get();
|
if (DumpAsm) std::cerr << "Here's the assembly:\n" << *M.get();
|
||||||
|
|
||||||
if (OutputFilename != "") { // Specified an output filename?
|
if (OutputFilename != "") { // Specified an output filename?
|
||||||
if (OutputFilename != "-") { // Not stdout?
|
if (OutputFilename != "-") { // Not stdout?
|
||||||
|
@@ -110,7 +110,7 @@ int main(int argc, char **argv) {
|
|||||||
// TODO: Iterate over the -l list and link in any modules containing
|
// TODO: Iterate over the -l list and link in any modules containing
|
||||||
// global symbols that have not been resolved so far.
|
// global symbols that have not been resolved so far.
|
||||||
|
|
||||||
if (DumpAsm) std::cerr << "Here's the assembly:\n" << Composite.get();
|
if (DumpAsm) std::cerr << "Here's the assembly:\n" << *Composite.get();
|
||||||
|
|
||||||
// FIXME: cout is not binary!
|
// FIXME: cout is not binary!
|
||||||
std::ostream *Out = &std::cout; // Default to printing to stdout...
|
std::ostream *Out = &std::cout; // Default to printing to stdout...
|
||||||
|
Reference in New Issue
Block a user