Clone the project and go into project folder:
git clone https://github.com/hkinke/testllvm.git && cd testllvm
Configure and Build the project
cmake -G Ninja -B build -DCMAKE_BUILD_TYPE=Debug .
cmake --build build
Debug the project:
gdb ./build/main
Set a break point:
(gdb) b 114
Run the project
(gdb) run
Continue
(gdb) continue
Exit gdb
(gdb) quit