==30965== Memcheck, a memory error detector ==30965== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al. ==30965== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info ==30965== Command: ./llvm-dis ./tmp.bc ==30965== ==30965== ==30965== HEAP SUMMARY: ==30965== in use at exit: 140,288 bytes in 2 blocks ==30965== total heap usage: 889 allocs, 887 frees, 538,121 bytes allocated ==30965== ==30965== 67,584 bytes in 1 blocks are still reachable in loss record 1 of 2 ==30965== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==30965== by 0x438691: llvm::safe_malloc(unsigned long) (MemAlloc.h:27) ==30965== by 0x86CE01: CreateSigAltStack() (Signals.inc:254) ==30965== by 0x86D054: RegisterHandlers() (Signals.inc:277) ==30965== by 0x86D485: llvm::sys::AddSignalHandler(void (*)(void*), void*) (Signals.inc:386) ==30965== by 0x7E7586: RegisterCrashPrinter() (PrettyStackTrace.cpp:180) ==30965== by 0x7E75B9: llvm::EnablePrettyStackTrace() (PrettyStackTrace.cpp:188) ==30965== by 0x7DEA61: llvm::PrettyStackTraceProgram::PrettyStackTraceProgram(int, char const* const*) (PrettyStackTrace.h:77) ==30965== by 0x7DE973: llvm::InitLLVM::InitLLVM(int&, char const**&) (InitLLVM.cpp:25) ==30965== by 0x40A2C6: llvm::InitLLVM::InitLLVM(int&, char**&) (InitLLVM.h:35) ==30965== by 0x4070FF: main (llvm-dis.cpp:152) ==30965== ==30965== 72,704 bytes in 1 blocks are still reachable in loss record 2 of 2 ==30965== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==30965== by 0x530F3B5: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25) ==30965== by 0x40106B9: call_init.part.0 (dl-init.c:72) ==30965== by 0x40107CA: call_init (dl-init.c:30) ==30965== by 0x40107CA: _dl_init (dl-init.c:120) ==30965== by 0x4000C69: ??? (in /lib/x86_64-linux-gnu/ld-2.23.so) ==30965== by 0x1: ??? ==30965== by 0xFFF00058A: ??? ==30965== by 0xFFF000595: ??? ==30965== ==30965== LEAK SUMMARY: ==30965== definitely lost: 0 bytes in 0 blocks ==30965== indirectly lost: 0 bytes in 0 blocks ==30965== possibly lost: 0 bytes in 0 blocks ==30965== still reachable: 140,288 bytes in 2 blocks ==30965== suppressed: 0 bytes in 0 blocks ==30965== ==30965== For counts of detected and suppressed errors, rerun with: -v ==30965== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)