summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-as/llvm-as.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-02-13 19:12:31 +0000
committerChris Lattner <sabre@nondot.org>2005-02-13 19:12:31 +0000
commit6983f5d2ed74843b9ae94d2506429b9bd695d42c (patch)
treed95a456979c5845572cf8412ba816803adff538b /llvm/tools/llvm-as/llvm-as.cpp
parent8d0f126b740bba7dc0da4472c14090135d88575d (diff)
downloadbcm5719-llvm-6983f5d2ed74843b9ae94d2506429b9bd695d42c.tar.gz
bcm5719-llvm-6983f5d2ed74843b9ae94d2506429b9bd695d42c.zip
Print the module, not the pointer.
llvm-svn: 20156
Diffstat (limited to 'llvm/tools/llvm-as/llvm-as.cpp')
-rw-r--r--llvm/tools/llvm-as/llvm-as.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp
index a28e804ffc2..40ee99642d2 100644
--- a/llvm/tools/llvm-as/llvm-as.cpp
+++ b/llvm/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?
OpenPOWER on IntegriCloud