#include <DebugInfo.h>

Public Member Functions | |
| DICompileUnit (MDNode *N=0) | |
| unsigned | getLanguage () const |
| StringRef | getFilename () const |
| StringRef | getDirectory () const |
| StringRef | getProducer () const |
| bool | isMain () const |
| bool | isOptimized () const |
| StringRef | getFlags () const |
| unsigned | getRunTimeVersion () const |
| bool | Verify () const |
| Verify - Verify that a compile unit is well formed. | |
| void | dump () const |
| dump - print compile unit. | |
| bool llvm::DICompileUnit::isMain | ( | ) | const [inline] |
isMain - Each input file is encoded as a separate compile unit in LLVM debugging information output. However, many target specific tool chains prefer to encode only one compile unit in an object file. In this situation, the LLVM code generator will include debugging information entities in the compile unit that is marked as main compile unit. The code generator accepts maximum one main compile unit per module. If a module does not contain any main compile unit then the code generator will emit multiple compile units in the output object file.
1.5.8