Я использую Windows 10, скомпилировал llvm 11 с помощью MSV C 16.
Это основной. cpp:
#include <iostream>
int main()
{
std::cout << "Hello world" << std::endl;
}
Это команды, которые я запустить
clang -g -O0 main.cpp -o a.exe
lldb a.exe
(lldb) target create "a.exe
Current executable set to 'C:\a.exe' (x86_64).
(lldb) b main.cpp:5
Breakpoint 1: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) b main
Breakpoint 2: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) breakpoint set --name main
Breakpoint 3: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
Что я делаю не так?