diff options
author | Chris Lattner <sabre@nondot.org> | 2005-02-13 19:12:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-02-13 19:12:31 +0000 |
commit | a88155dabfe7d116a76face6f014393585aab18a (patch) | |
tree | 8be500dc304000e9ef3f82d4abd6852ceb3c2222 /tools/llvm-as/llvm-as.cpp | |
parent | 818827d734d6b4fa55a638a69e751a960e4a2a94 (diff) |
Print the module, not the pointer.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-as/llvm-as.cpp')
-rw-r--r-- | tools/llvm-as/llvm-as.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-as/llvm-as.cpp b/tools/llvm-as/llvm-as.cpp index a28e804ffc..40ee99642d 100644 --- a/tools/llvm-as/llvm-as.cpp +++ b/tools/llvm-as/llvm-as.cpp @@ -73,7 +73,7 @@ int main(int argc, char **argv) { 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 != "-") { // Not stdout? |