llvm.org GIT mirror llvm / 50f480e
Doc patch for the branch only. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_27@98314 91177308-0d34-0410-b5e6-96231b3b80d8 Tanya Lattner 10 years ago
1 changed file(s) with 4 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
350350 for source line correspondence.


Each input file is encoded as a separate compile unit in LLVM debugging

353 information output. However, many target specific tool chains prefer to
354 encode only one compile unit in an object file. In this situation, the LLVM
355 code generator will include debugging information entities in the compile
356 unit that is marked as main compile unit. The code generator accepts maximum
357 one main compile unit per module. If a module does not contain any main
358 compile unit then the code generator will emit multiple compile units in the
359 output object file.

353 information output. However the code generator emits only one compile unit,
354 marked as main compile unit, in an object file's debugging information section.
355 Most of the, if not all, target specific tool chains expect only one compile
356 unit entry per object file.