codelldb
codelldb copied to clipboard
Add .asm file breakpoint support.
VScodium, windows 10 x64, clang. It goes correctly and successfully into asm file when 'stepping into' from main function, steps correctly and returns correctly back into main function but I can't set breakpoints in the asm file.
in main.cpp I added external asm(yasm) function "int my_asmz(int);"
in main function added: int x = 50; int y = my_asmz(x); printf("%d", y);
asm file:
DEFAULT REL
section .data
section .text
global my_asmz
my_asmz:
mov eax, ecx
add eax, 6
ret