Files
clang-p2996/lldb/test/API/tools/lldb-dap/optimized/main.cpp
Jonas Devlieghere 01263c6c6f [lldb] Rename lldb-vscode to lldb-dap (#69264)
Rename lldb-vscode to lldb-dap. This change is largely mechanical. The
following substitutions cover the majority of the changes in this
commit:

  s/VSCODE/DAP/
  s/VSCode/DAP/
  s/vscode/dap/
  s/g_vsc/g_dap/

Discourse RFC:
https://discourse.llvm.org/t/rfc-rename-lldb-vscode-to-lldb-dap/74075/
2023-10-19 09:48:54 -07:00

15 lines
310 B
C++

#include <stdio.h>
#include <string>
int foo(int x, int y) {
printf("Got input %d, %d\n", x, y);
return x + y + 3; // breakpoint 1
}
int main(int argc, char const *argv[]) {
printf("argc: %d\n", argc);
int result = foo(20, argv[0][0]);
printf("result: %d\n", result); // breakpoint 2
return 0;
}