Hello, Compile this sample program with clang 3.9.1 in 64bits mode #include <iostream>
int my_func(char c, double d) { std::cout << "c: " << c << std::endl; std::cout << "d:" << d << std::endl; return 0; } int main(int argc, char const *argv[]) { int i = 0; i++; i++; my_func('a', 10.1); i++; i++; return 0; } compile commande line : clang++ -x c++ -target "x86_64-pc-windows-msvc" -O0 -glldb -gdwarf-4 -D _WIN32 -D _WIN64 -D _CONSOLE -D NDEBUG -D _DEBUG -D _MT -D _DLL -c -o main.o main.cpp lld-link /out:main.exe /machine:X64 /nxcompat /incremental /nologo /wx /subsystem:console /debug vcruntimed.lib msvcrtd.lib main.o run lldb and enter commands target create "main.exe" b main.cpp:14 r First step over (n command) is ok but second step over goes into my_func function. Thanks, Olivier
_______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev