Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
marcrasi@marcrasi:~/swift-base-master$ llvm/utils/lit/lit.py build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/test-linux-x86_64/IDE/complete_repl_identifier_prefix_1.swift -a
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using swift: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using swiftc: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swiftc
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using sil-opt: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/sil-opt
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using sil-func-extractor: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/sil-func-extractor
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using sil-llvm-gen: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/sil-llvm-gen
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using sil-nm: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/sil-nm
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using sil-passpipeline-dumper: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/sil-passpipeline-dumper
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using lldb-moduleimport-test: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/lldb-moduleimport-test
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using swift-ide-test: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using swift-syntax-test: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-syntax-test
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using swift-syntax-parser-test: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-syntax-parser-test
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using swift-reflection-dump: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-reflection-dump
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using swift-remoteast-test: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-remoteast-test
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using swift-indent: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-indent
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using clang: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/llvm-linux-x86_64/bin/clang
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using llvm-link: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/llvm-linux-x86_64/bin/llvm-link
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using swift-llvm-opt: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-llvm-opt
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using llvm-profdata: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/llvm-linux-x86_64/bin/llvm-profdata
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using llvm-cov: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/llvm-linux-x86_64/bin/llvm-cov
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using llvm-strings: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/llvm-linux-x86_64/bin/llvm-strings
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using FileCheck: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/llvm-linux-x86_64/bin/FileCheck
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using llvm-dwarfdump: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/llvm-linux-x86_64/bin/llvm-dwarfdump
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using llvm-dis: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/llvm-linux-x86_64/bin/llvm-dis
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using sourcekitd-test: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/sourcekitd-test
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using complete-test: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/complete-test
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using swift-api-digester: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-api-digester
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using swift-refactor: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-refactor
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using swift-demangle-yamldump: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-demangle-yamldump
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:250: warning: couldn't find 'Benchmark_O' program, try setting BENCHMARK_O in your environment
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:250: warning: couldn't find 'Benchmark_Driver' program, try setting BENCHMARK_DRIVER in your environment
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:317: note: Using resource dir: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/lib/swift
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:344: note: Compiling with -swift-version 4
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:360: note: Using Clang module cache: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/swift-test-results/x86_64-unknown-linux-gnu/clang-module-cache
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:361: note: Using test results dir: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/./swift-test-results/x86_64-unknown-linux-gnu
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:366: note: Using code completion cache: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/swift-test-results/x86_64-unknown-linux-gnu/completion-cache
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:990: note: Testing Linux x86_64-unknown-linux-gnu
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:247: note: using swift-autolink-extract: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-autolink-extract
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:1409: note: Using platform module dir: /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/lib/swift/linux/x86_64
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:1429: note: Testing with the just-built libraries at /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/lib/swift/linux/x86_64
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:1642: note: Running tests on Debian-rodete
lit.py: /usr/local/google/home/marcrasi/swift-base-master/swift/test/lit.cfg:1645: note: Available features: CMAKE_GENERATOR=Ninja, CODEGENERATOR=AArch64, CODEGENERATOR=ARM, CODEGENERATOR=Mips, CODEGENERATOR=PowerPC, CODEGENERATOR=SystemZ, CODEGENERATOR=X86, CPU=x86_64, LinuxDistribution=Debian-rodete, OS=linux-gnu, PTRSIZE=64, SWIFT_VERSION=4, asan_runtime, asserts, autolink-extract, crash-recovery, executable_test, fuzzer_runtime, libxml2, no_asan, no_lto, nonexecutable_test, runtime_function_counters, sftp_server, shell, sourcekit, swift-remoteast-test, swift_ast_verifier, swift_interpreter, swift_stdlib_asserts, swift_test_mode_optimize_none, swift_test_mode_optimize_none_x86_64, swift_tools_extra, syntax_parser_lib, ubsan_runtime
-- Testing: 1 tests, 1 threads --
FAIL: Swift(linux-x86_64) :: IDE/complete_repl_identifier_prefix_1.swift (1 of 1)
******************** TEST 'Swift(linux-x86_64) :: IDE/complete_repl_identifier_prefix_1.swift' FAILED ********************
Script:
--
: 'RUN: at line 1'; /usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test -target x86_64-unknown-linux-gnu -module-cache-path '/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/swift-test-results/x86_64-unknown-linux-gnu/clang-module-cache' -completion-cache-path '/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/swift-test-results/x86_64-unknown-linux-gnu/completion-cache' -swift-version 4 -repl-code-completion -source-filename /usr/local/google/home/marcrasi/swift-base-master/swift/test/IDE/complete_repl_identifier_prefix_1.swift | '/usr/bin/python' '/usr/local/google/home/marcrasi/swift-base-master/swift/utils/PathSanitizingFileCheck' --sanitize BUILD_DIR='/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64' --sanitize SOURCE_DIR='/usr/local/google/home/marcrasi/swift-base-master/swift' --use-filecheck '/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/llvm-linux-x86_64/bin/FileCheck' /usr/local/google/home/marcrasi/swift-base-master/swift/test/IDE/complete_repl_identifier_prefix_1.swift
--
Exit Code: 23
Command Output (stderr):
--
=================================================================
==102960==ERROR: LeakSanitizer: detected memory leaks
Indirect leak of 4096 byte(s) in 1 object(s) allocated from:
#0 0xaf7adc in malloc (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xaf7adc)
#1 0xb678df in llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>::StartNewSlab() (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xb678df)
#2 0xb6779a in llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>::Allocate(unsigned long, unsigned long) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xb6779a)
#3 0x49ea18d in swift::syntax::RawSyntax::make(swift::tok, swift::OwnedString, llvm::ArrayRef<swift::syntax::TriviaPiece>, llvm::ArrayRef<swift::syntax::TriviaPiece>, swift::syntax::SourcePresence, llvm::IntrusiveRefCntPtr<swift::syntax::SyntaxArena> const&, llvm::Optional<unsigned int>) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x49ea18d)
#4 0x1725ad9 in swift::RawSyntaxTokenCache::getToken(llvm::IntrusiveRefCntPtr<swift::syntax::SyntaxArena>&, swift::tok, swift::OwnedString, llvm::ArrayRef<swift::syntax::TriviaPiece>, llvm::ArrayRef<swift::syntax::TriviaPiece>) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1725ad9)
#5 0x1724202 in swift::SyntaxTreeCreator::recordToken(swift::tok, llvm::ArrayRef<swift::ParsedTriviaPiece>, llvm::ArrayRef<swift::ParsedTriviaPiece>, swift::CharSourceRange) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1724202)
#6 0x17217b7 in swift::HiddenLibSyntaxAction::recordToken(swift::tok, llvm::ArrayRef<swift::ParsedTriviaPiece>, llvm::ArrayRef<swift::ParsedTriviaPiece>, swift::CharSourceRange) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x17217b7)
#7 0x1722c40 in swift::ParsedRawSyntaxRecorder::recordToken(swift::Token const&, swift::ParsedTrivia const&, swift::ParsedTrivia const&) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1722c40)
#8 0x16a3167 in swift::SyntaxParsingContext::addToken(swift::Token&, swift::ParsedTrivia const&, swift::ParsedTrivia const&) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x16a3167)
#9 0x16826f4 in swift::Parser::consumeToken() (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x16826f4)
#10 0x16639d3 in swift::Parser::parseUnqualifiedDeclName(bool, swift::DeclNameLoc&, swift::Diagnostic const&, bool, bool, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x16639d3)
#11 0x166a9cc in swift::Parser::parseExprIdentifier() (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x166a9cc)
#12 0x1665e38 in swift::Parser::parseExprPrimary(swift::Diag<>, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1665e38)
#13 0x166118e in swift::Parser::parseExprPostfix(swift::Diag<>, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x166118e)
#14 0x1660c4d in swift::Parser::parseExprUnary(swift::Diag<>, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1660c4d)
#15 0x16604d2 in swift::Parser::parseExprSequenceElement(swift::Diag<>, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x16604d2)
#16 0x165f137 in swift::Parser::parseExprSequence(swift::Diag<>, bool, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x165f137)
#17 0x165eee0 in swift::Parser::parseExprImpl(swift::Diag<>, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x165eee0)
#18 0x168a914 in swift::Parser::parseExprOrStmt(swift::ASTNode&) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x168a914)
#19 0x168c8f2 in swift::Parser::parseBraceItems(llvm::SmallVectorImpl<swift::ASTNode>&, swift::BraceItemListKind, swift::BraceItemListKind) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x168c8f2)
#20 0x1637bd4 in swift::Parser::parseTopLevel() (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1637bd4)
#21 0xc7b4e7 in parseIntoSourceFileImpl(swift::SourceFile&, unsigned int, bool*, swift::SILParserState*, swift::PersistentParserState*, swift::DelayedParsingCallbacks*, bool, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xc7b4e7)
#22 0xc7b1ad in swift::parseIntoSourceFile(swift::SourceFile&, unsigned int, bool*, swift::SILParserState*, swift::PersistentParserState*, swift::DelayedParsingCallbacks*, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xc7b1ad)
#23 0xc2571c in doCodeCompletion(swift::SourceFile&, llvm::StringRef, unsigned int*, swift::CodeCompletionCallbacksFactory*) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xc2571c)
#24 0xc251ea in swift::REPLCompletions::populate(swift::SourceFile&, llvm::StringRef) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xc251ea)
#25 0xb2367c in main (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xb2367c)
#26 0x7f53d02c052a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2352a)
Indirect leak of 112 byte(s) in 1 object(s) allocated from:
#0 0xaf8b08 in operator new(unsigned long) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xaf8b08)
#1 0x17282e6 in swift::ASTContext::Implementation::Implementation() (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x17282e6)
#2 0x172917e in swift::ASTContext::get(swift::LangOptions&, swift::SearchPathOptions&, swift::SourceManager&, swift::DiagnosticEngine&) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x172917e)
#3 0xbb8506 in swift::CompilerInstance::setUpASTContextIfNeeded() (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xbb8506)
#4 0xb235f7 in main (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xb235f7)
#5 0x7f53d02c052a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2352a)
Indirect leak of 7 byte(s) in 1 object(s) allocated from:
#0 0xaf8b08 in operator new(unsigned long) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xaf8b08)
#1 0x1724130 in swift::SyntaxTreeCreator::recordToken(swift::tok, llvm::ArrayRef<swift::ParsedTriviaPiece>, llvm::ArrayRef<swift::ParsedTriviaPiece>, swift::CharSourceRange) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1724130)
#2 0x17217b7 in swift::HiddenLibSyntaxAction::recordToken(swift::tok, llvm::ArrayRef<swift::ParsedTriviaPiece>, llvm::ArrayRef<swift::ParsedTriviaPiece>, swift::CharSourceRange) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x17217b7)
#3 0x1722c40 in swift::ParsedRawSyntaxRecorder::recordToken(swift::Token const&, swift::ParsedTrivia const&, swift::ParsedTrivia const&) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1722c40)
#4 0x16a3167 in swift::SyntaxParsingContext::addToken(swift::Token&, swift::ParsedTrivia const&, swift::ParsedTrivia const&) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x16a3167)
#5 0x16826f4 in swift::Parser::consumeToken() (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x16826f4)
#6 0x16639d3 in swift::Parser::parseUnqualifiedDeclName(bool, swift::DeclNameLoc&, swift::Diagnostic const&, bool, bool, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x16639d3)
#7 0x166a9cc in swift::Parser::parseExprIdentifier() (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x166a9cc)
#8 0x1665e38 in swift::Parser::parseExprPrimary(swift::Diag<>, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1665e38)
#9 0x166118e in swift::Parser::parseExprPostfix(swift::Diag<>, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x166118e)
#10 0x1660c4d in swift::Parser::parseExprUnary(swift::Diag<>, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1660c4d)
#11 0x16604d2 in swift::Parser::parseExprSequenceElement(swift::Diag<>, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x16604d2)
#12 0x165f137 in swift::Parser::parseExprSequence(swift::Diag<>, bool, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x165f137)
#13 0x165eee0 in swift::Parser::parseExprImpl(swift::Diag<>, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x165eee0)
#14 0x168a914 in swift::Parser::parseExprOrStmt(swift::ASTNode&) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x168a914)
#15 0x168c8f2 in swift::Parser::parseBraceItems(llvm::SmallVectorImpl<swift::ASTNode>&, swift::BraceItemListKind, swift::BraceItemListKind) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x168c8f2)
#16 0x1637bd4 in swift::Parser::parseTopLevel() (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1637bd4)
#17 0xc7b4e7 in parseIntoSourceFileImpl(swift::SourceFile&, unsigned int, bool*, swift::SILParserState*, swift::PersistentParserState*, swift::DelayedParsingCallbacks*, bool, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xc7b4e7)
#18 0xc7b1ad in swift::parseIntoSourceFile(swift::SourceFile&, unsigned int, bool*, swift::SILParserState*, swift::PersistentParserState*, swift::DelayedParsingCallbacks*, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xc7b1ad)
#19 0xc2571c in doCodeCompletion(swift::SourceFile&, llvm::StringRef, unsigned int*, swift::CodeCompletionCallbacksFactory*) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xc2571c)
#20 0xc251ea in swift::REPLCompletions::populate(swift::SourceFile&, llvm::StringRef) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xc251ea)
#21 0xb2367c in main (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xb2367c)
#22 0x7f53d02c052a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2352a)
Indirect leak of 5 byte(s) in 1 object(s) allocated from:
#0 0xaf8b08 in operator new(unsigned long) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xaf8b08)
#1 0x1724130 in swift::SyntaxTreeCreator::recordToken(swift::tok, llvm::ArrayRef<swift::ParsedTriviaPiece>, llvm::ArrayRef<swift::ParsedTriviaPiece>, swift::CharSourceRange) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1724130)
#2 0x17217b7 in swift::HiddenLibSyntaxAction::recordToken(swift::tok, llvm::ArrayRef<swift::ParsedTriviaPiece>, llvm::ArrayRef<swift::ParsedTriviaPiece>, swift::CharSourceRange) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x17217b7)
#3 0x1722c40 in swift::ParsedRawSyntaxRecorder::recordToken(swift::Token const&, swift::ParsedTrivia const&, swift::ParsedTrivia const&) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1722c40)
#4 0x16a3167 in swift::SyntaxParsingContext::addToken(swift::Token&, swift::ParsedTrivia const&, swift::ParsedTrivia const&) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x16a3167)
#5 0x16826f4 in swift::Parser::consumeToken() (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x16826f4)
#6 0x1662d5e in swift::Parser::parseExprPostfixSuffix(swift::ParserResult<swift::Expr>, bool, bool, bool&) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1662d5e)
#7 0x16611b4 in swift::Parser::parseExprPostfix(swift::Diag<>, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x16611b4)
#8 0x1660c4d in swift::Parser::parseExprUnary(swift::Diag<>, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1660c4d)
#9 0x16604d2 in swift::Parser::parseExprSequenceElement(swift::Diag<>, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x16604d2)
#10 0x165f137 in swift::Parser::parseExprSequence(swift::Diag<>, bool, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x165f137)
#11 0x165eee0 in swift::Parser::parseExprImpl(swift::Diag<>, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x165eee0)
#12 0x168a914 in swift::Parser::parseExprOrStmt(swift::ASTNode&) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x168a914)
#13 0x168c8f2 in swift::Parser::parseBraceItems(llvm::SmallVectorImpl<swift::ASTNode>&, swift::BraceItemListKind, swift::BraceItemListKind) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x168c8f2)
#14 0x1637bd4 in swift::Parser::parseTopLevel() (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0x1637bd4)
#15 0xc7b4e7 in parseIntoSourceFileImpl(swift::SourceFile&, unsigned int, bool*, swift::SILParserState*, swift::PersistentParserState*, swift::DelayedParsingCallbacks*, bool, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xc7b4e7)
#16 0xc7b1ad in swift::parseIntoSourceFile(swift::SourceFile&, unsigned int, bool*, swift::SILParserState*, swift::PersistentParserState*, swift::DelayedParsingCallbacks*, bool) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xc7b1ad)
#17 0xc2571c in doCodeCompletion(swift::SourceFile&, llvm::StringRef, unsigned int*, swift::CodeCompletionCallbacksFactory*) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xc2571c)
#18 0xc251ea in swift::REPLCompletions::populate(swift::SourceFile&, llvm::StringRef) (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xc251ea)
#19 0xb2367c in main (/usr/local/google/home/marcrasi/swift-base-master/build/Ninja-ReleaseAssert+stdlib-DebugAssert/swift-linux-x86_64/bin/swift-ide-test+0xb2367c)
#20 0x7f53d02c052a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2352a)
SUMMARY: LeakSanitizer: 4220 byte(s) leaked in 4 allocation(s).
--
********************
Testing Time: 0.61s
********************
Failing Tests (1):
Swift(linux-x86_64) :: IDE/complete_repl_identifier_prefix_1.swift
Unexpected Failures: 1
2 warning(s) in tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment