-
Notifications
You must be signed in to change notification settings - Fork 122
Home
loarabia edited this page Oct 20, 2012
·
11 revisions
Welcome to the Clang-tutorial wiki!
- LLVM Doxygen
- Clang Doxygen
- Clang Internals
- LLVM CommandLine
- LLVM Programmers Manual
- Clang tooling options
-
Debugging Clang: Clang's driver spawns a new copy of itself. So start debugging the main process, then in a new terminal call
gdb --wait clang
. Note also that even if you're debugging clang++, it calls back into clang so its stillgdb --wait clang
. (Note: I've had issues on OS X 10.7.2 getting this technique to work -- see the alternative below) - Alternative Clang Debugging Technique
- Figuring out Clang's library link order