Advertisement
Guest User

Untitled

a guest
Sep 28th, 2014
640
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. ~ % cat b.go
  2. // You can edit this code!
  3. // Click here and start typing.
  4. package main
  5.  
  6. import "fmt"
  7.  
  8. func main() {
  9. fmt.Println("Hello, 世界")
  10. }
  11. ~ % valgrind gccgo b.go
  12. ==23765== Memcheck, a memory error detector
  13. ==23765== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
  14. ==23765== Using Valgrind-3.10.0.SVN and LibVEX; rerun with -h for copyright info
  15. ==23765== Command: gccgo b.go
  16. ==23765==
  17. ==23765==
  18. ==23765== HEAP SUMMARY:
  19. ==23765== in use at exit: 64,915 bytes in 177 blocks
  20. ==23765== total heap usage: 351 allocs, 174 frees, 82,459 bytes allocated
  21. ==23765==
  22. ==23765== LEAK SUMMARY:
  23. ==23765== definitely lost: 27,176 bytes in 108 blocks
  24. ==23765== indirectly lost: 82 bytes in 5 blocks
  25. ==23765== possibly lost: 0 bytes in 0 blocks
  26. ==23765== still reachable: 37,657 bytes in 64 blocks
  27. ==23765== suppressed: 0 bytes in 0 blocks
  28. ==23765== Rerun with --leak-check=full to see details of leaked memory
  29. ==23765==
  30. ==23765== For counts of detected and suppressed errors, rerun with: -v
  31. ==23765== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement