ABISysV_x86_64::PrepareTrivialCall ( thread = 0x7fb9580008c0 sp = 0x7fffa6250d80 func_addr = 0x7f52d11bd060 return_addr = 0x400410 arg1_ptr = 0x7fff0777e178 (0x0) arg2_ptr = 0x7fff0777e170 (0x1000) arg3_ptr = 0x7fff0777e070 (0x7) ) About to write arg1 (0x0) into rdi About to write arg2 (0x1000) into rsi About to write arg3 (0x7) into rdx About to write arg4 (0x22) into rcx About to write arg5 (0xffffffffffffffff) into r8 About to write arg6 (0x0) into r9 16-byte aligning SP: 0x7fffa6250d80 to 0x7fffa6250d80 Pushing the return address onto the stack: new SP 0x7fffa6250d78, return address 0x400410 Writing SP (0x7fffa6250d78) down Writing new IP (0x7f52d11bd060) down == [ClangUserExpression::Evaluate] Parsing expression (int)strlen("hello") == ClangUserExpression::ScanContext() Parsing the following code: #undef NULL #undef Nil #undef nil #undef YES #undef NO #define NULL (__null) #define Nil (__null) #define nil (__null) #define YES ((BOOL)1) #define NO ((BOOL)0) typedef signed char BOOL; typedef signed __INT8_TYPE__ int8_t; typedef unsigned __INT8_TYPE__ uint8_t; typedef signed __INT16_TYPE__ int16_t; typedef unsigned __INT16_TYPE__ uint16_t; typedef signed __INT32_TYPE__ int32_t; typedef unsigned __INT32_TYPE__ uint32_t; typedef signed __INT64_TYPE__ int64_t; typedef unsigned __INT64_TYPE__ uint64_t; typedef signed __INTPTR_TYPE__ intptr_t; typedef unsigned __INTPTR_TYPE__ uintptr_t; typedef __SIZE_TYPE__ size_t; typedef __PTRDIFF_TYPE__ ptrdiff_t; typedef unsigned short unichar; void $__lldb_expr(void *$__lldb_arg) { (int)strlen("hello"); } LayoutRecordType[0] on (ASTContext*)0x1aa7240 for (RecordDecl*)0x1aadbe0 [name = '_objc_super'] LayoutRecordType[1] on (ASTContext*)0x1aa7240 for (RecordDecl*)0x1aade80 [name = '_message_ref_t'] FindExternalLexicalDecls[0] on (ASTContext*)0x1aa7240 in (TranslationUnitDecl*)0x1aad510 with null predicate ClangExpressionDeclMap::FindExternalVisibleDecls[0] for '$__lldb_arg' in a 'TranslationUnit' CEDM::FEVD[0] Searching the root namespace ClangASTSource::FindExternalVisibleDecls[0] on (ASTContext*)0x1aa7240 for '$__lldb_arg' in a 'TranslationUnit' CAS::FEVD[0] Searching the root namespace ClangExpressionDeclMap::FindExternalVisibleDecls[1] for '$__lldb_expr' in a 'TranslationUnit' CEDM::FEVD[1] Searching the root namespace ClangASTSource::FindExternalVisibleDecls[1] on (ASTContext*)0x1aa7240 for '$__lldb_expr' in a 'TranslationUnit' CAS::FEVD[1] Searching the root namespace ClangExpressionDeclMap::FindExternalVisibleDecls[2] for 'strlen' in a 'TranslationUnit' CEDM::FEVD[2] Searching the root namespace ClangASTSource::FindExternalVisibleDecls[2] on (ASTContext*)0x1aa7240 for 'strlen' in a 'TranslationUnit' CAS::FEVD[2] Searching the root namespace == ClangASTMetrics output == -- Global metrics -- Number of visible Decl queries by name : 6 Number of lexical Decl queries : 1 Number of imports initiated by LLDB : 0 Number of imports conducted by Clang : 0 Number of Decls completed : 0 Number of records laid out : 2 -- Local metrics -- Number of visible Decl queries by name : 6 Number of lexical Decl queries : 1 Number of imports initiated by LLDB : 0 Number of imports conducted by Clang : 0 Number of Decls completed : 0 Number of records laid out : 2 == ClangASTMetrics output == -- Global metrics -- Number of visible Decl queries by name : 6 Number of lexical Decl queries : 1 Number of imports initiated by LLDB : 0 Number of imports conducted by Clang : 0 Number of Decls completed : 0 Number of records laid out : 2 -- Local metrics -- Number of visible Decl queries by name : 6 Number of lexical Decl queries : 1 Number of imports initiated by LLDB : 0 Number of imports conducted by Clang : 0 Number of Decls completed : 0 Number of records laid out : 2 [ClangASTImporter] Forgetting destination (ASTContext*)0x1aa7240 [ClangASTImporter] Forgetting source->dest (ASTContext*)0x1aa7240->(ASTContext*)0x1a335d0 [ClangASTImporter] Forgetting destination (ASTContext*)0x1a335d0