Skip to content

Instantly share code, notes, and snippets.

@alexcrichton
Created February 14, 2018 04:28
Show Gist options
  • Save alexcrichton/0609093d20d61221162f13f9eb7ad313 to your computer and use it in GitHub Desktop.
Save alexcrichton/0609093d20d61221162f13f9eb7ad313 to your computer and use it in GitHub Desktop.
==31562== Memcheck, a memory error detector
==31562== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==31562== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==31562== Command: ../build/x86_64-unknown-linux-gnu/llvm/bin/opt /home/alex/code/wasm-bindgen/another/bad-position-simple.bad_position_simple3-317d481089b8c8fe83113de504472633.rs.rcgu.thin-lto-after-patch.ll -S -O2 -o /dev/null
==31562==
==31562== Conditional jump or move depends on uninitialised value(s)
==31562== at 0x5CF9BFA: llvm::SSAUpdater::GetValueInMiddleOfBlock(llvm::BasicBlock*) (in /home/alex/code/rust4/build/x86_64-unknown-linux-gnu/llvm/lib/libLLVM-6.0.so)
==31562== by 0x5CFA305: llvm::SSAUpdater::RewriteUse(llvm::Use&) (in /home/alex/code/rust4/build/x86_64-unknown-linux-gnu/llvm/lib/libLLVM-6.0.so)
==31562== by 0x5EEBD64: llvm::JumpThreadingPass::ThreadEdge(llvm::BasicBlock*, llvm::SmallVectorImpl<llvm::BasicBlock*> const&, llvm::BasicBlock*) (in /home/alex/code/rust4/build/x86_64-unknown-linux-gnu/llvm/lib/libLLVM-6.0.so)
==31562== by 0x5EE84DB: llvm::JumpThreadingPass::ProcessThreadableEdges(llvm::Value*, llvm::BasicBlock*, llvm::jumpthreading::ConstantPreference, llvm::Instruction*) (in /home/alex/code/rust4/build/x86_64-unknown-linux-gnu/llvm/lib/libLLVM-6.0.so)
==31562== by 0x5EE47E8: llvm::JumpThreadingPass::ProcessBlock(llvm::BasicBlock*) (in /home/alex/code/rust4/build/x86_64-unknown-linux-gnu/llvm/lib/libLLVM-6.0.so)
==31562== by 0x5EE32BD: llvm::JumpThreadingPass::runImpl(llvm::Function&, llvm::TargetLibraryInfo*, llvm::LazyValueInfo*, llvm::AAResults*, bool, std::unique_ptr<llvm::BlockFrequencyInfo, std::default_delete<llvm::BlockFrequencyInfo> >, std::unique_ptr<llvm::BranchProbabilityInfo, std::default_delete<llvm::BranchProbabilityInfo> >) (in /home/alex/code/rust4/build/x86_64-unknown-linux-gnu/llvm/lib/libLLVM-6.0.so)
==31562== by 0x5EEF70D: (anonymous namespace)::JumpThreading::runOnFunction(llvm::Function&) (in /home/alex/code/rust4/build/x86_64-unknown-linux-gnu/llvm/lib/libLLVM-6.0.so)
==31562== by 0x557EE7E: llvm::FPPassManager::runOnFunction(llvm::Function&) (in /home/alex/code/rust4/build/x86_64-unknown-linux-gnu/llvm/lib/libLLVM-6.0.so)
==31562== by 0x61ED675: (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) (in /home/alex/code/rust4/build/x86_64-unknown-linux-gnu/llvm/lib/libLLVM-6.0.so)
==31562== by 0x557F5D7: llvm::legacy::PassManagerImpl::run(llvm::Module&) (in /home/alex/code/rust4/build/x86_64-unknown-linux-gnu/llvm/lib/libLLVM-6.0.so)
==31562== by 0x42A4D1: main (in /home/alex/code/rust4/build/x86_64-unknown-linux-gnu/llvm/bin/opt)
==31562==
==31562==
==31562== HEAP SUMMARY:
==31562== in use at exit: 140,344 bytes in 4 blocks
==31562== total heap usage: 20,429 allocs, 20,425 frees, 11,037,963 bytes allocated
==31562==
==31562== LEAK SUMMARY:
==31562== definitely lost: 0 bytes in 0 blocks
==31562== indirectly lost: 0 bytes in 0 blocks
==31562== possibly lost: 0 bytes in 0 blocks
==31562== still reachable: 140,344 bytes in 4 blocks
==31562== suppressed: 0 bytes in 0 blocks
==31562== Rerun with --leak-check=full to see details of leaked memory
==31562==
==31562== For counts of detected and suppressed errors, rerun with: -v
==31562== Use --track-origins=yes to see where uninitialised values come from
==31562== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment