hkinke / testllvm

Reproduce a runtime error

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test LLVM

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

About

Reproduce a runtime error


Languages

Language:C++ 91.4%Language:CMake 8.6%