We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FYI: https://github.com/sun-jacobi/llvm-script
The text was updated successfully, but these errors were encountered:
First run the command with -### to get the verbose version of the program. Then simply lldb -- [VERBOSE COMMAND] .
-###
lldb -- [VERBOSE COMMAND]
Otherwise the child process created by clang would not be debugged
Sorry, something went wrong.
Since llvm uses code generation, it is somewhat hard to use a debugger. it is much more efficient to debug with the output.
Here are some useful options for dumping useful information.
--print-after-isel: show the result of Instruction Selection <- especially useful
--print-after-isel
-view-dag-combine1-dags -view-legalize-dags -view-dag-combine2-dags -view-isel-dags -view-sched-dags
-view-dag-combine1-dags
-view-legalize-dags
-view-dag-combine2-dags
-view-isel-dags
-view-sched-dags
dump()
You still can use a debugger to check the local logic. When using a debugger, dump() method for many classes is very useful.
No branches or pull requests
FYI: https://github.com/sun-jacobi/llvm-script
The text was updated successfully, but these errors were encountered: