Skip to content

Instantly share code, notes, and snippets.

@Naios
Created January 9, 2017 00:02
Show Gist options
  • Save Naios/041853b195dce6de43a2bdd66d4004f3 to your computer and use it in GitHub Desktop.
Save Naios/041853b195dce6de43a2bdd66d4004f3 to your computer and use it in GitHub Desktop.
Antlr4 memory leak
==5093== Memcheck, a memory error detector
==5093== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==5093== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==5093== Command: ./src/compiler
==5093==
==5093==
==5093== HEAP SUMMARY:
==5093== in use at exit: 87,136 bytes in 69 blocks
==5093== total heap usage: 32,825 allocs, 32,756 frees, 2,682,473 bytes allocated
==5093==
==5093== 16 bytes in 1 blocks are still reachable in loss record 1 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x13C7F3A: initializeMutex() (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x547DA98: __pthread_once_slow (pthread_once.c:116)
==5093== by 0x13C7CE8: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x13AD17F: llvm::cl::OptionCategory::registerCategory() (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x74CFDE: llvm::cl::OptionCategory::OptionCategory(char const*, char const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x72BC40: __cxx_global_var_init (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x72BF28: _GLOBAL__sub_I_Main.cpp (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x1418DBC: __libc_csu_init (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x61677BE: (below main) (libc-start.c:247)
==5093==
==5093== 24 bytes in 1 blocks are indirectly lost in loss record 2 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x8D66C0: __gnu_cxx::new_allocator<std::__detail::_Hash_node<std::pair<unsigned long const, antlr4::atn::ATNConfig*>, false> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D65DB: std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<unsigned long const, antlr4::atn::ATNConfig*>, false> > >::allocate(std::allocator<std::__detail::_Hash_node<std::pair<unsigned long const, antlr4::atn::ATNConfig*>, false> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D5DBB: std::__detail::_Hash_node<std::pair<unsigned long const, antlr4::atn::ATNConfig*>, false>* std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<unsigned long const, antlr4::atn::ATNConfig*>, false> > >::_M_allocate_node<std::piecewise_construct_t const&, std::tuple<unsigned long const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<unsigned long const&>&&, std::tuple<>&&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D5C5C: std::__detail::_Map_base<unsigned long, std::pair<unsigned long const, antlr4::atn::ATNConfig*>, std::allocator<std::pair<unsigned long const, antlr4::atn::ATNConfig*> >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned long const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D5067: std::unordered_map<unsigned long, antlr4::atn::ATNConfig*, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<std::pair<unsigned long const, antlr4::atn::ATNConfig*> > >::operator[](unsigned long const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D3F19: antlr4::atn::ATNConfigSet::add(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x851AA2: antlr4::atn::ParserATNSimulator::closure_(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8519FA: antlr4::atn::ParserATNSimulator::closureCheckingStopState(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8518F1: antlr4::atn::ParserATNSimulator::closureCheckingStopState(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x852021: antlr4::atn::ParserATNSimulator::closure_(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8519FA: antlr4::atn::ParserATNSimulator::closureCheckingStopState(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 40 bytes in 1 blocks are still reachable in loss record 3 of 23
==5093== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x14025ED: llvm::sys::MutexImpl::MutexImpl(bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x13C7F4A: initializeMutex() (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x547DA98: __pthread_once_slow (pthread_once.c:116)
==5093== by 0x13C7CE8: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x13AD17F: llvm::cl::OptionCategory::registerCategory() (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x74CFDE: llvm::cl::OptionCategory::OptionCategory(char const*, char const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x72BC40: __cxx_global_var_init (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x72BF28: _GLOBAL__sub_I_Main.cpp (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x1418DBC: __libc_csu_init (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x61677BE: (below main) (libc-start.c:247)
==5093==
==5093== 64 bytes in 1 blocks are still reachable in loss record 4 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x871EB6: __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::EmptyPredictionContext, std::allocator<antlr4::atn::EmptyPredictionContext>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x871E2B: std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::EmptyPredictionContext, std::allocator<antlr4::atn::EmptyPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::EmptyPredictionContext, std::allocator<antlr4::atn::EmptyPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x871C24: std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::EmptyPredictionContext, std::allocator<antlr4::atn::EmptyPredictionContext>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::EmptyPredictionContext, std::allocator<antlr4::atn::EmptyPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::EmptyPredictionContext, std::allocator<antlr4::atn::EmptyPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x871AE3: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<antlr4::atn::EmptyPredictionContext, std::allocator<antlr4::atn::EmptyPredictionContext>>(std::_Sp_make_shared_tag, antlr4::atn::EmptyPredictionContext*, std::allocator<antlr4::atn::EmptyPredictionContext> const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x871A55: std::__shared_ptr<antlr4::atn::EmptyPredictionContext, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<antlr4::atn::EmptyPredictionContext>>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::EmptyPredictionContext> const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x871A17: std::shared_ptr<antlr4::atn::EmptyPredictionContext>::shared_ptr<std::allocator<antlr4::atn::EmptyPredictionContext>>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::EmptyPredictionContext> const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x87199B: std::shared_ptr<antlr4::atn::EmptyPredictionContext> std::allocate_shared<antlr4::atn::EmptyPredictionContext, std::allocator<antlr4::atn::EmptyPredictionContext>>(std::allocator<antlr4::atn::EmptyPredictionContext> const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x86EE8F: std::shared_ptr<antlr4::atn::EmptyPredictionContext> std::make_shared<antlr4::atn::EmptyPredictionContext>() (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x7345A0: __cxx_global_var_init.1 (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x73460D: _GLOBAL__sub_I_PredictionContext.cpp (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x1418DBC: __libc_csu_init (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 64 bytes in 1 blocks are still reachable in loss record 5 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x8CD3C6: __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SemanticContext::Predicate, std::allocator<antlr4::atn::SemanticContext::Predicate>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8CD33B: std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SemanticContext::Predicate, std::allocator<antlr4::atn::SemanticContext::Predicate>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SemanticContext::Predicate, std::allocator<antlr4::atn::SemanticContext::Predicate>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8CD0F4: std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SemanticContext::Predicate, std::allocator<antlr4::atn::SemanticContext::Predicate>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SemanticContext::Predicate, std::allocator<antlr4::atn::SemanticContext::Predicate>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SemanticContext::Predicate, std::allocator<antlr4::atn::SemanticContext::Predicate>, (__gnu_cxx::_Lock_policy)2> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8CCF22: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<antlr4::atn::SemanticContext::Predicate, std::allocator<antlr4::atn::SemanticContext::Predicate>, unsigned long, unsigned long, bool>(std::_Sp_make_shared_tag, antlr4::atn::SemanticContext::Predicate*, std::allocator<antlr4::atn::SemanticContext::Predicate> const&, unsigned long&&, unsigned long&&, bool&&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8CCE41: std::__shared_ptr<antlr4::atn::SemanticContext::Predicate, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<antlr4::atn::SemanticContext::Predicate>, unsigned long, unsigned long, bool>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::SemanticContext::Predicate> const&, unsigned long&&, unsigned long&&, bool&&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8CCDB6: std::shared_ptr<antlr4::atn::SemanticContext::Predicate>::shared_ptr<std::allocator<antlr4::atn::SemanticContext::Predicate>, unsigned long, unsigned long, bool>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::SemanticContext::Predicate> const&, unsigned long&&, unsigned long&&, bool&&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8CCCF8: std::shared_ptr<antlr4::atn::SemanticContext::Predicate> std::allocate_shared<antlr4::atn::SemanticContext::Predicate, std::allocator<antlr4::atn::SemanticContext::Predicate>, unsigned long, unsigned long, bool>(std::allocator<antlr4::atn::SemanticContext::Predicate> const&, unsigned long&&, unsigned long&&, bool&&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8C9709: std::shared_ptr<antlr4::atn::SemanticContext::Predicate> std::make_shared<antlr4::atn::SemanticContext::Predicate, unsigned long, unsigned long, bool>(unsigned long&&, unsigned long&&, bool&&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x736DC0: __cxx_global_var_init.6 (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x736E2D: _GLOBAL__sub_I_SemanticContext.cpp (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x1418DBC: __libc_csu_init (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 64 bytes in 1 blocks are indirectly lost in loss record 6 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x862376: __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8622EB: std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8620C4: std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861F5E: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::_Sp_make_shared_tag, antlr4::atn::SingletonPredictionContext*, std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861EB9: std::__shared_ptr<antlr4::atn::SingletonPredictionContext, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861E41: std::shared_ptr<antlr4::atn::SingletonPredictionContext>::shared_ptr<std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861DA3: std::shared_ptr<antlr4::atn::SingletonPredictionContext> std::allocate_shared<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861BA4: std::shared_ptr<antlr4::atn::SingletonPredictionContext> std::make_shared<antlr4::atn::SingletonPredictionContext, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8613F7: antlr4::atn::SingletonPredictionContext::create(std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x867D70: antlr4::atn::PredictionContext::fromRuleContext(antlr4::atn::ATN const&, antlr4::RuleContext*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x85058E: antlr4::atn::ParserATNSimulator::computeStartState(antlr4::atn::ATNState*, antlr4::RuleContext*, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 72 bytes in 4 blocks are indirectly lost in loss record 7 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x82BE86: __gnu_cxx::new_allocator<unsigned long>::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x82BE2B: std::allocator_traits<std::allocator<unsigned long> >::allocate(std::allocator<unsigned long>&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x82BD92: std::_Vector_base<unsigned long, std::allocator<unsigned long> >::_M_allocate(unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8740CE: std::_Vector_base<unsigned long, std::allocator<unsigned long> >::_M_create_storage(unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x874023: std::_Vector_base<unsigned long, std::allocator<unsigned long> >::_Vector_base(unsigned long, std::allocator<unsigned long> const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D8460: std::vector<unsigned long, std::allocator<unsigned long> >::vector(std::vector<unsigned long, std::allocator<unsigned long> > const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D7B6B: antlr4::atn::ArrayPredictionContext::ArrayPredictionContext(std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > > const&, std::vector<unsigned long, std::allocator<unsigned long> > const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873EF5: void __gnu_cxx::new_allocator<antlr4::atn::ArrayPredictionContext>::construct<antlr4::atn::ArrayPredictionContext, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(antlr4::atn::ArrayPredictionContext*, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873EA1: void std::allocator_traits<std::allocator<antlr4::atn::ArrayPredictionContext> >::construct<antlr4::atn::ArrayPredictionContext, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::allocator<antlr4::atn::ArrayPredictionContext>&, antlr4::atn::ArrayPredictionContext*, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873E1B: std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873CEC: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::_Sp_make_shared_tag, antlr4::atn::ArrayPredictionContext*, std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 80 bytes in 1 blocks are indirectly lost in loss record 8 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x85B0D0: __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x85B04B: std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x85AE24: std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, (__gnu_cxx::_Lock_policy)2> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x85EAC0: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, antlr4::atn::ATNState*&, unsigned long const&, std::shared_ptr<antlr4::atn::PredictionContext>, std::shared_ptr<antlr4::atn::SemanticContext>&>(std::_Sp_make_shared_tag, antlr4::atn::ATNConfig*, std::allocator<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNState*&, unsigned long const&, std::shared_ptr<antlr4::atn::PredictionContext>&&, std::shared_ptr<antlr4::atn::SemanticContext>&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x85EA07: std::__shared_ptr<antlr4::atn::ATNConfig, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<antlr4::atn::ATNConfig>, antlr4::atn::ATNState*&, unsigned long const&, std::shared_ptr<antlr4::atn::PredictionContext>, std::shared_ptr<antlr4::atn::SemanticContext>&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNState*&, unsigned long const&, std::shared_ptr<antlr4::atn::PredictionContext>&&, std::shared_ptr<antlr4::atn::SemanticContext>&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x85E95B: std::shared_ptr<antlr4::atn::ATNConfig>::shared_ptr<std::allocator<antlr4::atn::ATNConfig>, antlr4::atn::ATNState*&, unsigned long const&, std::shared_ptr<antlr4::atn::PredictionContext>, std::shared_ptr<antlr4::atn::SemanticContext>&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNState*&, unsigned long const&, std::shared_ptr<antlr4::atn::PredictionContext>&&, std::shared_ptr<antlr4::atn::SemanticContext>&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x85E8CD: std::shared_ptr<antlr4::atn::ATNConfig> std::allocate_shared<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, antlr4::atn::ATNState*&, unsigned long const&, std::shared_ptr<antlr4::atn::PredictionContext>, std::shared_ptr<antlr4::atn::SemanticContext>&>(std::allocator<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNState*&, unsigned long const&, std::shared_ptr<antlr4::atn::PredictionContext>&&, std::shared_ptr<antlr4::atn::SemanticContext>&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8559AE: std::shared_ptr<antlr4::atn::ATNConfig> std::make_shared<antlr4::atn::ATNConfig, antlr4::atn::ATNState*&, unsigned long const&, std::shared_ptr<antlr4::atn::PredictionContext>, std::shared_ptr<antlr4::atn::SemanticContext>&>(antlr4::atn::ATNState*&, unsigned long const&, std::shared_ptr<antlr4::atn::PredictionContext>&&, std::shared_ptr<antlr4::atn::SemanticContext>&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8517D2: antlr4::atn::ParserATNSimulator::closureCheckingStopState(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x852021: antlr4::atn::ParserATNSimulator::closure_(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8519FA: antlr4::atn::ParserATNSimulator::closureCheckingStopState(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 88 bytes in 1 blocks are indirectly lost in loss record 9 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x7C0576: __gnu_cxx::new_allocator<std::__detail::_Hash_node_base*>::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x7C051B: std::allocator_traits<std::allocator<std::__detail::_Hash_node_base*> >::allocate(std::allocator<std::__detail::_Hash_node_base*>&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D6BC8: std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<unsigned long const, antlr4::atn::ATNConfig*>, false> > >::_M_allocate_buckets(unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D6B7B: std::_Hashtable<unsigned long, std::pair<unsigned long const, antlr4::atn::ATNConfig*>, std::allocator<std::pair<unsigned long const, antlr4::atn::ATNConfig*> >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_allocate_buckets(unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D6A0E: std::_Hashtable<unsigned long, std::pair<unsigned long const, antlr4::atn::ATNConfig*>, std::allocator<std::pair<unsigned long const, antlr4::atn::ATNConfig*> >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash_aux(unsigned long, std::integral_constant<bool, true>) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D6827: std::_Hashtable<unsigned long, std::pair<unsigned long const, antlr4::atn::ATNConfig*>, std::allocator<std::pair<unsigned long const, antlr4::atn::ATNConfig*> >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_rehash(unsigned long, unsigned long const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D5F94: std::_Hashtable<unsigned long, std::pair<unsigned long const, antlr4::atn::ATNConfig*>, std::allocator<std::pair<unsigned long const, antlr4::atn::ATNConfig*> >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true> >::_M_insert_unique_node(unsigned long, unsigned long, std::__detail::_Hash_node<std::pair<unsigned long const, antlr4::atn::ATNConfig*>, false>*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D5C75: std::__detail::_Map_base<unsigned long, std::pair<unsigned long const, antlr4::atn::ATNConfig*>, std::allocator<std::pair<unsigned long const, antlr4::atn::ATNConfig*> >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned long const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D5067: std::unordered_map<unsigned long, antlr4::atn::ATNConfig*, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<std::pair<unsigned long const, antlr4::atn::ATNConfig*> > >::operator[](unsigned long const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D3F19: antlr4::atn::ATNConfigSet::add(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x851AA2: antlr4::atn::ParserATNSimulator::closure_(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 88 bytes in 1 blocks are indirectly lost in loss record 10 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x8729E0: __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x87295B: std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x872744: std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873C7E: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::_Sp_make_shared_tag, antlr4::atn::ArrayPredictionContext*, std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873BD9: std::__shared_ptr<antlr4::atn::ArrayPredictionContext, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873B61: std::shared_ptr<antlr4::atn::ArrayPredictionContext>::shared_ptr<std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873AE3: std::shared_ptr<antlr4::atn::ArrayPredictionContext> std::allocate_shared<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x86F744: std::shared_ptr<antlr4::atn::ArrayPredictionContext> std::make_shared<antlr4::atn::ArrayPredictionContext, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x86955C: antlr4::atn::PredictionContext::mergeSingletons(std::shared_ptr<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::SingletonPredictionContext> const&, bool, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x868253: antlr4::atn::PredictionContext::merge(std::shared_ptr<antlr4::atn::PredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, bool, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D3FE8: antlr4::atn::ATNConfigSet::add(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 88 bytes in 1 blocks are indirectly lost in loss record 11 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x8729E0: __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x87295B: std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x872744: std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873C7E: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::_Sp_make_shared_tag, antlr4::atn::ArrayPredictionContext*, std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873BD9: std::__shared_ptr<antlr4::atn::ArrayPredictionContext, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873B61: std::shared_ptr<antlr4::atn::ArrayPredictionContext>::shared_ptr<std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873AE3: std::shared_ptr<antlr4::atn::ArrayPredictionContext> std::allocate_shared<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x86F744: std::shared_ptr<antlr4::atn::ArrayPredictionContext> std::make_shared<antlr4::atn::ArrayPredictionContext, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x86A5C3: antlr4::atn::PredictionContext::mergeArrays(std::shared_ptr<antlr4::atn::ArrayPredictionContext> const&, std::shared_ptr<antlr4::atn::ArrayPredictionContext> const&, bool, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8684F1: antlr4::atn::PredictionContext::merge(std::shared_ptr<antlr4::atn::PredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, bool, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D3FE8: antlr4::atn::ATNConfigSet::add(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 88 bytes in 1 blocks are indirectly lost in loss record 12 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x8729E0: __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x87295B: std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x872744: std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873C7E: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::_Sp_make_shared_tag, antlr4::atn::ArrayPredictionContext*, std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873BD9: std::__shared_ptr<antlr4::atn::ArrayPredictionContext, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873B61: std::shared_ptr<antlr4::atn::ArrayPredictionContext>::shared_ptr<std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873AE3: std::shared_ptr<antlr4::atn::ArrayPredictionContext> std::allocate_shared<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x86F744: std::shared_ptr<antlr4::atn::ArrayPredictionContext> std::make_shared<antlr4::atn::ArrayPredictionContext, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x86955C: antlr4::atn::PredictionContext::mergeSingletons(std::shared_ptr<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::SingletonPredictionContext> const&, bool, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x868253: antlr4::atn::PredictionContext::merge(std::shared_ptr<antlr4::atn::PredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, bool, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x869F50: antlr4::atn::PredictionContext::mergeArrays(std::shared_ptr<antlr4::atn::ArrayPredictionContext> const&, std::shared_ptr<antlr4::atn::ArrayPredictionContext> const&, bool, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 88 bytes in 1 blocks are indirectly lost in loss record 13 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x8729E0: __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x87295B: std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x872744: std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873C7E: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::_Sp_make_shared_tag, antlr4::atn::ArrayPredictionContext*, std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873BD9: std::__shared_ptr<antlr4::atn::ArrayPredictionContext, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873B61: std::shared_ptr<antlr4::atn::ArrayPredictionContext>::shared_ptr<std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873AE3: std::shared_ptr<antlr4::atn::ArrayPredictionContext> std::allocate_shared<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x86F744: std::shared_ptr<antlr4::atn::ArrayPredictionContext> std::make_shared<antlr4::atn::ArrayPredictionContext, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x86A5C3: antlr4::atn::PredictionContext::mergeArrays(std::shared_ptr<antlr4::atn::ArrayPredictionContext> const&, std::shared_ptr<antlr4::atn::ArrayPredictionContext> const&, bool, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8684F1: antlr4::atn::PredictionContext::merge(std::shared_ptr<antlr4::atn::PredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, bool, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8689AD: antlr4::atn::PredictionContext::mergeSingletons(std::shared_ptr<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::SingletonPredictionContext> const&, bool, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 144 bytes in 4 blocks are indirectly lost in loss record 14 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x873906: __gnu_cxx::new_allocator<std::shared_ptr<antlr4::atn::PredictionContext> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8738AB: std::allocator_traits<std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >::allocate(std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8737F2: std::_Vector_base<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >::_M_allocate(unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8741DE: std::_Vector_base<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >::_M_create_storage(unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x874133: std::_Vector_base<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >::_Vector_base(unsigned long, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D8370: std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >::vector(std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > > const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D7B52: antlr4::atn::ArrayPredictionContext::ArrayPredictionContext(std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > > const&, std::vector<unsigned long, std::allocator<unsigned long> > const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873EF5: void __gnu_cxx::new_allocator<antlr4::atn::ArrayPredictionContext>::construct<antlr4::atn::ArrayPredictionContext, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(antlr4::atn::ArrayPredictionContext*, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873EA1: void std::allocator_traits<std::allocator<antlr4::atn::ArrayPredictionContext> >::construct<antlr4::atn::ArrayPredictionContext, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::allocator<antlr4::atn::ArrayPredictionContext>&, antlr4::atn::ArrayPredictionContext*, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873E1B: std::_Sp_counted_ptr_inplace<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x873CEC: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<antlr4::atn::ArrayPredictionContext, std::allocator<antlr4::atn::ArrayPredictionContext>, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&>(std::_Sp_make_shared_tag, antlr4::atn::ArrayPredictionContext*, std::allocator<antlr4::atn::ArrayPredictionContext> const&, std::vector<std::shared_ptr<antlr4::atn::PredictionContext>, std::allocator<std::shared_ptr<antlr4::atn::PredictionContext> > >&, std::vector<unsigned long, std::allocator<unsigned long> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 192 bytes in 3 blocks are indirectly lost in loss record 15 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x862376: __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8622EB: std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8620C4: std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861F5E: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::_Sp_make_shared_tag, antlr4::atn::SingletonPredictionContext*, std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861EB9: std::__shared_ptr<antlr4::atn::SingletonPredictionContext, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861E41: std::shared_ptr<antlr4::atn::SingletonPredictionContext>::shared_ptr<std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861DA3: std::shared_ptr<antlr4::atn::SingletonPredictionContext> std::allocate_shared<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861BA4: std::shared_ptr<antlr4::atn::SingletonPredictionContext> std::make_shared<antlr4::atn::SingletonPredictionContext, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8613F7: antlr4::atn::SingletonPredictionContext::create(std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x868A58: antlr4::atn::PredictionContext::mergeSingletons(std::shared_ptr<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::SingletonPredictionContext> const&, bool, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x868253: antlr4::atn::PredictionContext::merge(std::shared_ptr<antlr4::atn::PredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, bool, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 192 bytes in 8 blocks are indirectly lost in loss record 16 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x8D66C0: __gnu_cxx::new_allocator<std::__detail::_Hash_node<std::pair<unsigned long const, antlr4::atn::ATNConfig*>, false> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D65DB: std::allocator_traits<std::allocator<std::__detail::_Hash_node<std::pair<unsigned long const, antlr4::atn::ATNConfig*>, false> > >::allocate(std::allocator<std::__detail::_Hash_node<std::pair<unsigned long const, antlr4::atn::ATNConfig*>, false> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D5DBB: std::__detail::_Hash_node<std::pair<unsigned long const, antlr4::atn::ATNConfig*>, false>* std::__detail::_Hashtable_alloc<std::allocator<std::__detail::_Hash_node<std::pair<unsigned long const, antlr4::atn::ATNConfig*>, false> > >::_M_allocate_node<std::piecewise_construct_t const&, std::tuple<unsigned long const&>, std::tuple<> >(std::piecewise_construct_t const&, std::tuple<unsigned long const&>&&, std::tuple<>&&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D5C5C: std::__detail::_Map_base<unsigned long, std::pair<unsigned long const, antlr4::atn::ATNConfig*>, std::allocator<std::pair<unsigned long const, antlr4::atn::ATNConfig*> >, std::__detail::_Select1st, std::equal_to<unsigned long>, std::hash<unsigned long>, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits<false, false, true>, true>::operator[](unsigned long const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D5067: std::unordered_map<unsigned long, antlr4::atn::ATNConfig*, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<std::pair<unsigned long const, antlr4::atn::ATNConfig*> > >::operator[](unsigned long const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D3F19: antlr4::atn::ATNConfigSet::add(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x851AA2: antlr4::atn::ParserATNSimulator::closure_(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8519FA: antlr4::atn::ParserATNSimulator::closureCheckingStopState(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x852021: antlr4::atn::ParserATNSimulator::closure_(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8519FA: antlr4::atn::ParserATNSimulator::closureCheckingStopState(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x852021: antlr4::atn::ParserATNSimulator::closure_(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 256 bytes in 1 blocks are indirectly lost in loss record 17 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x85A746: __gnu_cxx::new_allocator<std::shared_ptr<antlr4::atn::ATNConfig> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x85A6EB: std::allocator_traits<std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >::allocate(std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x85A5B2: std::_Vector_base<std::shared_ptr<antlr4::atn::ATNConfig>, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >::_M_allocate(unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x85A20B: void std::vector<std::shared_ptr<antlr4::atn::ATNConfig>, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >::_M_emplace_back_aux<std::shared_ptr<antlr4::atn::ATNConfig> const&>(std::shared_ptr<antlr4::atn::ATNConfig> const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x854C5F: std::vector<std::shared_ptr<antlr4::atn::ATNConfig>, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >::push_back(std::shared_ptr<antlr4::atn::ATNConfig> const&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8D3F81: antlr4::atn::ATNConfigSet::add(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::PredictionContextMergeCache*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x851AA2: antlr4::atn::ParserATNSimulator::closure_(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8519FA: antlr4::atn::ParserATNSimulator::closureCheckingStopState(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8518F1: antlr4::atn::ParserATNSimulator::closureCheckingStopState(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x852021: antlr4::atn::ParserATNSimulator::closure_(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8519FA: antlr4::atn::ParserATNSimulator::closureCheckingStopState(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 448 bytes in 7 blocks are indirectly lost in loss record 18 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x862376: __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8622EB: std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8620C4: std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861F5E: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::_Sp_make_shared_tag, antlr4::atn::SingletonPredictionContext*, std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861EB9: std::__shared_ptr<antlr4::atn::SingletonPredictionContext, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861E41: std::shared_ptr<antlr4::atn::SingletonPredictionContext>::shared_ptr<std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861DA3: std::shared_ptr<antlr4::atn::SingletonPredictionContext> std::allocate_shared<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861BA4: std::shared_ptr<antlr4::atn::SingletonPredictionContext> std::make_shared<antlr4::atn::SingletonPredictionContext, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8613F7: antlr4::atn::SingletonPredictionContext::create(std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x867D70: antlr4::atn::PredictionContext::fromRuleContext(antlr4::atn::ATN const&, antlr4::RuleContext*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x867D12: antlr4::atn::PredictionContext::fromRuleContext(antlr4::atn::ATN const&, antlr4::RuleContext*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 640 bytes in 8 blocks are indirectly lost in loss record 19 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x85B0D0: __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x85B04B: std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x85AE24: std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, (__gnu_cxx::_Lock_policy)2> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8602BE: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNState*&>(std::_Sp_make_shared_tag, antlr4::atn::ATNConfig*, std::allocator<antlr4::atn::ATNConfig> const&, std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNState*&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x860219: std::__shared_ptr<antlr4::atn::ATNConfig, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<antlr4::atn::ATNConfig>, std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNState*&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::ATNConfig> const&, std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNState*&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8601A1: std::shared_ptr<antlr4::atn::ATNConfig>::shared_ptr<std::allocator<antlr4::atn::ATNConfig>, std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNState*&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::ATNConfig> const&, std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNState*&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x860143: std::shared_ptr<antlr4::atn::ATNConfig> std::allocate_shared<antlr4::atn::ATNConfig, std::allocator<antlr4::atn::ATNConfig>, std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNState*&>(std::allocator<antlr4::atn::ATNConfig> const&, std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNState*&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x855AD4: std::shared_ptr<antlr4::atn::ATNConfig> std::make_shared<antlr4::atn::ATNConfig, std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNState*&>(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNState*&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8527DC: antlr4::atn::ParserATNSimulator::getEpsilonTarget(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::Transition*, bool, bool, bool, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x851BF2: antlr4::atn::ParserATNSimulator::closure_(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8519FA: antlr4::atn::ParserATNSimulator::closureCheckingStopState(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::ATNConfigSet*, std::unordered_set<std::shared_ptr<antlr4::atn::ATNConfig>, antlr4::atn::ATNConfig::Hasher, antlr4::atn::ATNConfig::Comparer, std::allocator<std::shared_ptr<antlr4::atn::ATNConfig> > >&, bool, bool, int, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 1,216 bytes in 19 blocks are indirectly lost in loss record 20 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x862376: __gnu_cxx::new_allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> >::allocate(unsigned long, void const*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8622EB: std::allocator_traits<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >::allocate(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8620C4: std::__allocated_ptr<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> > > std::__allocate_guarded<std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> > >(std::allocator<std::_Sp_counted_ptr_inplace<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, (__gnu_cxx::_Lock_policy)2> >&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861F5E: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::_Sp_make_shared_tag, antlr4::atn::SingletonPredictionContext*, std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861EB9: std::__shared_ptr<antlr4::atn::SingletonPredictionContext, (__gnu_cxx::_Lock_policy)2>::__shared_ptr<std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861E41: std::shared_ptr<antlr4::atn::SingletonPredictionContext>::shared_ptr<std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::_Sp_make_shared_tag, std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861DA3: std::shared_ptr<antlr4::atn::SingletonPredictionContext> std::allocate_shared<antlr4::atn::SingletonPredictionContext, std::allocator<antlr4::atn::SingletonPredictionContext>, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::allocator<antlr4::atn::SingletonPredictionContext> const&, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x861BA4: std::shared_ptr<antlr4::atn::SingletonPredictionContext> std::make_shared<antlr4::atn::SingletonPredictionContext, std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&>(std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long&) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x8613F7: antlr4::atn::SingletonPredictionContext::create(std::shared_ptr<antlr4::atn::PredictionContext> const&, unsigned long) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x853101: antlr4::atn::ParserATNSimulator::ruleTransition(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::RuleTransition*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x85263F: antlr4::atn::ParserATNSimulator::getEpsilonTarget(std::shared_ptr<antlr4::atn::ATNConfig> const&, antlr4::atn::Transition*, bool, bool, bool, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 4,008 (240 direct, 3,768 indirect) bytes in 1 blocks are definitely lost in loss record 21 of 23
==5093== at 0x4C2E0EF: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x84FD07: antlr4::atn::ParserATNSimulator::computeReachSet(antlr4::atn::ATNConfigSet*, unsigned long, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x84F2C0: antlr4::atn::ParserATNSimulator::execATNWithFullContext(antlr4::dfa::DFA&, antlr4::dfa::DFAState*, antlr4::atn::ATNConfigSet*, antlr4::TokenStream*, unsigned long, antlr4::ParserRuleContext*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x84E386: antlr4::atn::ParserATNSimulator::execATN(antlr4::dfa::DFA&, antlr4::dfa::DFAState*, antlr4::TokenStream*, unsigned long, antlr4::ParserRuleContext*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x84D6BA: antlr4::atn::ParserATNSimulator::adaptivePredict(antlr4::TokenStream*, unsigned long, antlr4::ParserRuleContext*) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x7EF2BE: GeneratedParser::expr(int) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x7ED38D: GeneratedParser::exprStmt() (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x7E6D74: GeneratedParser::statement() (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x7E9D0C: GeneratedParser::unscopedCompoundStmt() (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x7EE03B: GeneratedParser::compoundStmt() (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x7E6E7F: GeneratedParser::statement() (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x7E5747: GeneratedParser::functionDecl() (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 10,240 bytes in 1 blocks are definitely lost in loss record 22 of 23
==5093== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x140F1BF: RegisterHandlers() (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x140FE5B: llvm::sys::PrintStackTraceOnErrorSignal(llvm::StringRef, bool) (in /home/denis/git/thesis/project/build/src/compiler)
==5093== by 0x74CB63: main (in /home/denis/git/thesis/project/build/src/compiler)
==5093==
==5093== 72,704 bytes in 1 blocks are still reachable in loss record 23 of 23
==5093== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==5093== by 0x5C38EFF: ??? (in /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21)
==5093== by 0x40104E9: call_init.part.0 (dl-init.c:72)
==5093== by 0x40105FA: call_init (dl-init.c:30)
==5093== by 0x40105FA: _dl_init (dl-init.c:120)
==5093== by 0x4000CF9: ??? (in /lib/x86_64-linux-gnu/ld-2.23.so)
==5093==
==5093== LEAK SUMMARY:
==5093== definitely lost: 10,480 bytes in 2 blocks
==5093== indirectly lost: 3,768 bytes in 62 blocks
==5093== possibly lost: 0 bytes in 0 blocks
==5093== still reachable: 72,888 bytes in 5 blocks
==5093== suppressed: 0 bytes in 0 blocks
==5093==
==5093== For counts of detected and suppressed errors, rerun with: -v
==5093== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment