mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-13 21:05:16 +00:00
dd9db66882
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. [Part 1] Update DebugInfo APIs to accept optional boolean value while creating DICompileUnit to mark the unit as "main" unit. By defaults all units are considered non-main. Update SourceLevelDebugging.html to document "main" compile unit. Update DebugInfo APIs to not accept and encode separate source file/directory entries while creating various llvm.dbg.* entities. There was a recent, yet to be documented, change to include this additional information so no documentation changes are required here. Update DwarfDebug to handle "main" compile unit. If "main" compile unit is seen then all DIEs are inserted into "main" compile unit. All other compile units are used to find source location for llvm.dbg.* values. If there is not any "main" compile unit then create unique compile unit DIEs for each llvm.dbg.compile_unit. [Part 2] Create separate llvm.dbg.compile_unit for each input file. Mark compile unit create for main_input_filename as "main" compile unit. Use appropriate compile unit, based on source location information collected from the tree node, while creating llvm.dbg.* values using DebugInfo APIs. --- This is Part 1. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63400 91177308-0d34-0410-b5e6-96231b3b80d8 |
||
---|---|---|
.. | ||
CommandGuide | ||
HistoricalNotes | ||
img | ||
tutorial | ||
AliasAnalysis.html | ||
BitCodeFormat.html | ||
Bugpoint.html | ||
CFEBuildInstrs.html | ||
CMake.html | ||
CodeGenerator.html | ||
CodingStandards.html | ||
CommandLine.html | ||
CompilerDriver.html | ||
CompilerDriverTutorial.html | ||
CompilerWriterInfo.html | ||
DeveloperPolicy.html | ||
doxygen.cfg.in | ||
doxygen.css | ||
doxygen.footer | ||
doxygen.header | ||
doxygen.intro | ||
ExceptionHandling.html | ||
ExtendingLLVM.html | ||
FAQ.html | ||
GarbageCollection.html | ||
GCCFEBuildInstrs.html | ||
GetElementPtr.html | ||
GettingStarted.html | ||
GettingStartedVS.html | ||
HowToReleaseLLVM.html | ||
HowToSubmitABug.html | ||
index.html | ||
LangRef.html | ||
Lexicon.html | ||
LinkTimeOptimization.html | ||
llvm.css | ||
Makefile | ||
MakefileGuide.html | ||
Passes.html | ||
ProgrammersManual.html | ||
Projects.html | ||
ReleaseNotes.html | ||
SourceLevelDebugging.html | ||
SystemLibrary.html | ||
TableGenFundamentals.html | ||
TestingGuide.html | ||
UsingLibraries.html | ||
WritingAnLLVMBackend.html | ||
WritingAnLLVMPass.html |