Skip to content

Instantly share code, notes, and snippets.

@tamird
Last active August 29, 2015 14:19
Show Gist options
  • Save tamird/ce2b485b2411c7b98f73 to your computer and use it in GitHub Desktop.
Save tamird/ce2b485b2411c7b98f73 to your computer and use it in GitHub Desktop.
$ CFG_ENABLE_VALGRIND=1 VALGRIND_COMPILE=1 make
...
UNKNOWN __pthread_sigmask is unsupported. This warning will not be repeated.
==40497== 16 bytes in 1 blocks are definitely lost in loss record 32 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x360228D: operator new(unsigned long) (in /usr/lib/libc++.1.dylib)
==40497== by 0x1F4CACF: void* llvm::object_creator<llvm::sys::ThreadLocal<llvm::PrettyStackTraceEntry const> >() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1F43C56: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1F4C317: llvm::PrettyStackTraceEntry::PrettyStackTraceEntry() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1EDB559: llvm::FPPassManager::runOnFunction(llvm::Function&) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1EDAFFE: llvm::legacy::FunctionPassManagerImpl::run(llvm::Function&) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1EDAECF: llvm::legacy::FunctionPassManager::run(llvm::Function&) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1065AAF: LLVMRustRunFunctionPassManager (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x47A3E5: back::write::execute_work_item::h5eb299879a45844c12c (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_trans-4e7c5e5c.dylib)
==40497== by 0x476254: back::write::run_passes::h4891310cd92d8c8fLIc (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_trans-4e7c5e5c.dylib)
==40497== by 0x307C7: driver::phase_5_run_llvm_passes::h12219d27179a90ad3Oa (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497==
==40497== 16 bytes in 1 blocks are definitely lost in loss record 33 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x3805424: _owned_ptr_alloc (in /usr/lib/system/libsystem_c.dylib)
==40497== by 0x3805A9A: setenv (in /usr/lib/system/libsystem_c.dylib)
==40497== by 0x31310D1: sys::os::setenv::h165fc3fe99869ae3ESu (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/libstd-4e7c5e5c.dylib)
==40497== by 0x8A980: env::set_var::h10820674164738566770 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x3164F: driver::phase_6_link_output::ha3bff0fd5a615ceaxQa (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x102A0: driver::compile_input::hca2e78d37cb073c8Qba (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xB0C02: run_compiler::h5e6dd218dbc78994R4b (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xAEB1E: boxed::F.FnBox$LT$A$GT$::call_box::h5266093311755997864 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xAE257: rt::unwind::try::try_fn::h7488398727621871082 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x31F65E8: rust_try_inner (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/libstd-4e7c5e5c.dylib)
==40497== by 0x31696B8: sys::thread::create::thread_start::h5d8c2b8a0cabf753V2v (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/libstd-4e7c5e5c.dylib)
==40497==
==40497== 24 bytes in 1 blocks are definitely lost in loss record 85 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x360228D: operator new(unsigned long) (in /usr/lib/libc++.1.dylib)
==40497== by 0x1F65D6D: void* llvm::object_creator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1F43C56: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1F65EE4: global constructors keyed to a (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x7FFF5FC11C2D: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC11DB9: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0EA61: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0E9EA: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0E9EA: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0E9EA: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0E9EA: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497==
==40497== 24 bytes in 1 blocks are definitely lost in loss record 86 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x360228D: operator new(unsigned long) (in /usr/lib/libc++.1.dylib)
==40497== by 0x1F2F7FD: void* llvm::object_creator<std::__1::vector<char const*, std::__1::allocator<char const*> > >() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1F43C56: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1F2890F: llvm::cl::ParseCommandLineOptions(int, char const* const*, char const*) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x4742BC: back::write::run_passes::h4891310cd92d8c8fLIc (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_trans-4e7c5e5c.dylib)
==40497== by 0x307C7: driver::phase_5_run_llvm_passes::h12219d27179a90ad3Oa (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x10160: driver::compile_input::hca2e78d37cb073c8Qba (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xB0C02: run_compiler::h5e6dd218dbc78994R4b (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xAEB1E: boxed::F.FnBox$LT$A$GT$::call_box::h5266093311755997864 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xAE257: rt::unwind::try::try_fn::h7488398727621871082 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x31F65E8: rust_try_inner (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/libstd-4e7c5e5c.dylib)
==40497==
==40497== 36 bytes in 1 blocks are possibly lost in loss record 247 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x1EF1CAD: llvm::PassRegistry::registerPass(llvm::PassInfo const&, bool) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x18FEE60: llvm::initializeDeadMachineInstructionElimPass(llvm::PassRegistry&) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x18E977D: llvm::initializeCodeGen(llvm::PassRegistry&) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x106553D: LLVMInitializePasses (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x47422D: back::write::run_passes::h4891310cd92d8c8fLIc (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_trans-4e7c5e5c.dylib)
==40497== by 0x307C7: driver::phase_5_run_llvm_passes::h12219d27179a90ad3Oa (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x10160: driver::compile_input::hca2e78d37cb073c8Qba (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xB0C02: run_compiler::h5e6dd218dbc78994R4b (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xAEB1E: boxed::F.FnBox$LT$A$GT$::call_box::h5266093311755997864 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xAE257: rt::unwind::try::try_fn::h7488398727621871082 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x31F65E8: rust_try_inner (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/libstd-4e7c5e5c.dylib)
==40497==
==40497== 64 bytes in 1 blocks are possibly lost in loss record 290 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x3805439: _owned_ptr_alloc (in /usr/lib/system/libsystem_c.dylib)
==40497== by 0x3805A9A: setenv (in /usr/lib/system/libsystem_c.dylib)
==40497== by 0x31310D1: sys::os::setenv::h165fc3fe99869ae3ESu (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/libstd-4e7c5e5c.dylib)
==40497== by 0x8A980: env::set_var::h10820674164738566770 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x3164F: driver::phase_6_link_output::ha3bff0fd5a615ceaxQa (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x102A0: driver::compile_input::hca2e78d37cb073c8Qba (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xB0C02: run_compiler::h5e6dd218dbc78994R4b (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xAEB1E: boxed::F.FnBox$LT$A$GT$::call_box::h5266093311755997864 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xAE257: rt::unwind::try::try_fn::h7488398727621871082 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x31F65E8: rust_try_inner (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/libstd-4e7c5e5c.dylib)
==40497== by 0x31696B8: sys::thread::create::thread_start::h5d8c2b8a0cabf753V2v (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/libstd-4e7c5e5c.dylib)
==40497==
==40497== 72 bytes in 1 blocks are possibly lost in loss record 295 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x360228D: operator new(unsigned long) (in /usr/lib/libc++.1.dylib)
==40497== by 0x18FEDFB: llvm::initializeDeadMachineInstructionElimPass(llvm::PassRegistry&) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x18E977D: llvm::initializeCodeGen(llvm::PassRegistry&) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x106553D: LLVMInitializePasses (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x47422D: back::write::run_passes::h4891310cd92d8c8fLIc (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_trans-4e7c5e5c.dylib)
==40497== by 0x307C7: driver::phase_5_run_llvm_passes::h12219d27179a90ad3Oa (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x10160: driver::compile_input::hca2e78d37cb073c8Qba (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xB0C02: run_compiler::h5e6dd218dbc78994R4b (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xAEB1E: boxed::F.FnBox$LT$A$GT$::call_box::h5266093311755997864 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xAE257: rt::unwind::try::try_fn::h7488398727621871082 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x31F65E8: rust_try_inner (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/libstd-4e7c5e5c.dylib)
==40497==
==40497== 152 bytes in 1 blocks are definitely lost in loss record 539 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x360228D: operator new(unsigned long) (in /usr/lib/libc++.1.dylib)
==40497== by 0x119D95D: void* llvm::object_creator<llvm::SmallVector<std::__1::pair<llvm::PassManagerBuilder::ExtensionPointTy, void (*)(llvm::PassManagerBuilder const&, llvm::legacy::PassManagerBase&)>, 8u> >() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1F43C56: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x119C57B: llvm::PassManagerBuilder::addExtensionsToPM(llvm::PassManagerBuilder::ExtensionPointTy, llvm::legacy::PassManagerBase&) const (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x119C70D: llvm::PassManagerBuilder::populateFunctionPassManager(llvm::legacy::FunctionPassManager&) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x479E9F: back::write::execute_work_item::h5eb299879a45844c12c (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_trans-4e7c5e5c.dylib)
==40497== by 0x476254: back::write::run_passes::h4891310cd92d8c8fLIc (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_trans-4e7c5e5c.dylib)
==40497== by 0x307C7: driver::phase_5_run_llvm_passes::h12219d27179a90ad3Oa (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x10160: driver::compile_input::hca2e78d37cb073c8Qba (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xB0C02: run_compiler::h5e6dd218dbc78994R4b (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xAEB1E: boxed::F.FnBox$LT$A$GT$::call_box::h5266093311755997864 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497==
==40497== 160 bytes in 1 blocks are definitely lost in loss record 558 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x360228D: operator new(unsigned long) (in /usr/lib/libc++.1.dylib)
==40497== by 0x1F2F5ED: void* llvm::object_creator<llvm::SmallPtrSet<llvm::cl::OptionCategory*, 16u> >() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1F43C56: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1F30907: global constructors keyed to a (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x7FFF5FC11C2D: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC11DB9: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0EA61: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0E9EA: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0E9EA: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0E9EA: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0E9EA: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497==
==40497== 216 (16 direct, 200 indirect) bytes in 1 blocks are definitely lost in loss record 568 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x360228D: operator new(unsigned long) (in /usr/lib/libc++.1.dylib)
==40497== by 0x1EAE52F: void* llvm::object_creator<llvm::sys::SmartRWMutex<true> >() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1F43C56: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1E4EDA5: llvm::Function::clearGC() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1E4EA5C: llvm::Function::~Function() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1E4EEED: llvm::Function::~Function() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x117BDB8: (anonymous namespace)::GlobalOpt::runOnModule(llvm::Module&) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1EDBC4E: llvm::legacy::PassManagerImpl::run(llvm::Module&) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1E28D78: LLVMRunPassManager (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x47A79A: back::write::execute_work_item::h5eb299879a45844c12c (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_trans-4e7c5e5c.dylib)
==40497== by 0x476254: back::write::run_passes::h4891310cd92d8c8fLIc (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_trans-4e7c5e5c.dylib)
==40497==
==40497== 315 bytes in 1 blocks are possibly lost in loss record 578 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x3805722: __setenv (in /usr/lib/system/libsystem_c.dylib)
==40497== by 0x3805AC8: setenv (in /usr/lib/system/libsystem_c.dylib)
==40497== by 0x31310D1: sys::os::setenv::h165fc3fe99869ae3ESu (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/libstd-4e7c5e5c.dylib)
==40497== by 0x8A980: env::set_var::h10820674164738566770 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x3164F: driver::phase_6_link_output::ha3bff0fd5a615ceaxQa (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x102A0: driver::compile_input::hca2e78d37cb073c8Qba (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xB0C02: run_compiler::h5e6dd218dbc78994R4b (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xAEB1E: boxed::F.FnBox$LT$A$GT$::call_box::h5266093311755997864 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xAE257: rt::unwind::try::try_fn::h7488398727621871082 (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x31F65E8: rust_try_inner (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/libstd-4e7c5e5c.dylib)
==40497== by 0x31696B8: sys::thread::create::thread_start::h5d8c2b8a0cabf753V2v (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/libstd-4e7c5e5c.dylib)
==40497==
==40497== 952 (24 direct, 928 indirect) bytes in 1 blocks are definitely lost in loss record 681 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x360228D: operator new(unsigned long) (in /usr/lib/libc++.1.dylib)
==40497== by 0x181C056: void* llvm::object_creator<(anonymous namespace)::EVTArray>() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1F43C56: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1814D5B: llvm::SDNode::getValueTypeList(llvm::EVT) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x17F7C5F: llvm::SelectionDAG::SelectionDAG(llvm::TargetMachine const&, llvm::CodeGenOpt::Level) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1860426: llvm::SelectionDAGISel::SelectionDAGISel(llvm::TargetMachine&, llvm::CodeGenOpt::Level) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x163C7BA: llvm::createX86ISelDag(llvm::X86TargetMachine&, llvm::CodeGenOpt::Level) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x17014AF: (anonymous namespace)::X86PassConfig::addInstSelector() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x192B138: addPassesToGenerateCode(llvm::LLVMTargetMachine*, llvm::legacy::PassManagerBase&, bool, void const*, void const*) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x192AC14: llvm::LLVMTargetMachine::addPassesToEmitFile(llvm::legacy::PassManagerBase&, llvm::formatted_raw_ostream&, llvm::TargetMachine::CodeGenFileType, bool, void const*, void const*) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1065CB2: LLVMRustWriteOutputFile (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497==
==40497== 1,040 bytes in 1 blocks are definitely lost in loss record 693 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x38005AE: atexit_register (in /usr/lib/system/libsystem_c.dylib)
==40497== by 0x38006E9: __cxa_atexit (in /usr/lib/system/libsystem_c.dylib)
==40497== by 0x19CB1FA: global constructors keyed to a (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x7FFF5FC11C2D: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC11DB9: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0EA61: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0E9EA: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0E9EA: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0E9EA: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0E9EA: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0E8F5: ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497==
==40497== 1,152 (24 direct, 1,128 indirect) bytes in 1 blocks are definitely lost in loss record 694 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x360228D: operator new(unsigned long) (in /usr/lib/libc++.1.dylib)
==40497== by 0x1F45C8D: void* llvm::object_creator<llvm::OptionRegistry>() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1F43C56: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1F45B59: llvm::OptionRegistry::instance() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1AEE6E3: llvm::initializeScalarizerPass(llvm::PassRegistry&) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1AE2C6D: llvm::initializeScalarOpts(llvm::PassRegistry&) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1065545: LLVMInitializePasses (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x47422D: back::write::run_passes::h4891310cd92d8c8fLIc (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_trans-4e7c5e5c.dylib)
==40497== by 0x307C7: driver::phase_5_run_llvm_passes::h12219d27179a90ad3Oa (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0x10160: driver::compile_input::hca2e78d37cb073c8Qba (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497== by 0xB0C02: run_compiler::h5e6dd218dbc78994R4b (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_driver-4e7c5e5c.dylib)
==40497==
==40497== 2,408 (48 direct, 2,360 indirect) bytes in 1 blocks are definitely lost in loss record 749 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x360228D: operator new(unsigned long) (in /usr/lib/libc++.1.dylib)
==40497== by 0x19D3E4D: llvm::PseudoSourceValue::getFixedStack(int) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x197A9ED: llvm::MachinePointerInfo::getFixedStack(int, long long) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x16E843F: llvm::X86InstrInfo::storeRegToStackSlot(llvm::MachineBasicBlock&, llvm::MachineBasicBlock::bundle_iterator<llvm::MachineInstr, llvm::ilist_iterator<llvm::MachineInstr> >, unsigned int, bool, int, llvm::TargetRegisterClass const*, llvm::TargetRegisterInfo const*) const (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1A2F385: llvm::TargetInstrInfo::foldMemoryOperand(llvm::MachineBasicBlock::bundle_iterator<llvm::MachineInstr, llvm::ilist_iterator<llvm::MachineInstr> >, llvm::SmallVectorImpl<unsigned int> const&, int) const (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x191F65E: (anonymous namespace)::InlineSpiller::foldMemoryOperand(llvm::ArrayRef<std::__1::pair<llvm::MachineInstr*, unsigned int> >, llvm::MachineInstr*) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x191E5B3: (anonymous namespace)::InlineSpiller::spill(llvm::LiveRangeEdit&) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x19E015D: (anonymous namespace)::RAGreedy::selectOrSplitImpl(llvm::LiveInterval&, llvm::SmallVectorImpl<unsigned int>&, llvm::SmallSet<unsigned int, 16u, std::__1::less<unsigned int> >&, unsigned int) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x19DC7C7: (anonymous namespace)::RAGreedy::selectOrSplit(llvm::LiveInterval&, llvm::SmallVectorImpl<unsigned int>&) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x19D46F4: llvm::RegAllocBase::allocatePhysRegs() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x19DC155: (anonymous namespace)::RAGreedy::runOnMachineFunction(llvm::MachineFunction&) (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497==
==40497== 39,470 (120 direct, 39,350 indirect) bytes in 1 blocks are definitely lost in loss record 826 of 836
==40497== at 0x66BB: malloc (in /usr/local/Cellar/valgrind/3.10.1/lib/valgrind/vgpreload_memcheck-amd64-darwin.so)
==40497== by 0x360228D: operator new(unsigned long) (in /usr/lib/libc++.1.dylib)
==40497== by 0x1EF25FF: void* llvm::object_creator<llvm::PassRegistry>() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1F43C56: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1EF1969: llvm::PassRegistry::getPassRegistry() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1EF0BE4: llvm::PassNameParser::PassNameParser() (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x1EE1B13: global constructors keyed to a (in /Users/tamird/src/rust-build/x86_64-apple-darwin/stage1/lib/librustc_llvm-4e7c5e5c.dylib)
==40497== by 0x7FFF5FC11C2D: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC11DB9: ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0EA61: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0E9EA: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497== by 0x7FFF5FC0E9EA: ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&) (in /usr/lib/dyld)
==40497==
make: *** [x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/stamp.core] Error 100
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment