[PATCH] D38699: [llvm-objdump] Disable leak checking on an llvm-objdump test

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 16 18:54:43 PDT 2017


fjricci added a comment.

Failing build: http://green.lab.llvm.org/green/job/clang-stage2-cmake-RgSan/5341/

Stack here:




58705==ERROR: LeakSanitizer: detected memory leaks
--------------------------------------------------

Direct leak of 160 byte(s) in 1 object(s) allocated from:

  #0 0x106d78b27 in wrap_calloc (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x58b27)
  #1 0x7fff8c8846a5 in __CCDigestGetDigestInfo_block_invoke (libcommonCrypto.dylib:x86_64+0x46a5)
  #2 0x7fff8ba5a40a in _dispatch_client_callout (libdispatch.dylib:x86_64+0x240a)
  #3 0x7fff8ba5a302 in dispatch_once_f (libdispatch.dylib:x86_64+0x2302)
  #4 0x7fff8c88468b in CCDigestGetDigestInfo (libcommonCrypto.dylib:x86_64+0x468b)
  #5 0x7fff8c884876 in CCDigestInit (libcommonCrypto.dylib:x86_64+0x4876)
  #6 0x7fff8c884a18 in CCDigestCreate (libcommonCrypto.dylib:x86_64+0x4a18)
  #7 0x7fff85eba54b in digestRef_from_name (libxar.1.dylib:x86_64+0x754b)
  #8 0x7fff85eba5b5 in xar_hash_new (libxar.1.dylib:x86_64+0x75b5)
  #9 0x7fff85eb4af5 in xar_open (libxar.1.dylib:x86_64+0x1af5)
  #10 0x103ccbe26 in DumpBitcodeSection(llvm::object::MachOObjectFile*, char const*, unsigned int, bool, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) MachODump.cpp:210
  #11 0x103cb1211 in DumpSectionContents(llvm::StringRef, llvm::object::MachOObjectFile*, bool) MachODump.cpp:1109
  #12 0x103c7d309 in ProcessMachO(llvm::StringRef, llvm::object::MachOObjectFile*, llvm::StringRef, llvm::StringRef) MachODump.cpp:1276
  #13 0x103c7021f in llvm::ParseInputMachO(llvm::StringRef) MachODump.cpp:1813
  #14 0x103be6c4a in main llvm-objdump.cpp:2116
  #15 0x7fff8b2945ac in start (libdyld.dylib:x86_64+0x35ac)

SUMMARY: AddressSanitizer: 160 byte(s) leaked in 1 allocation(s).


Repository:
  rL LLVM

https://reviews.llvm.org/D38699





More information about the llvm-commits mailing list