forked from OSchip/llvm-project
6ab659a922
debugging optimized code. Adds new methods on Function/SBFunction to query whether a given function is optimized. Adds a new function.is-optimized format entity and changes the default frame-format to append "[opt]" if the function was built with optimization. The only indication that a binary was built with optimization that we have right now is the presence of the DW_AT_APPLE_optimized attribute (DW_FORM_flag value 1) in the DW_TAG_compile_unit. The absence of this flag may mean that the compile_unit was not compiled with optimization, or it may mean that the producer does not generate this attribute. Currently this only works for dSYM debugging. When we create the CompileUnit with dwarf-in-.o-file debugging we don't have the attribute value yet so it's not set. I need to find the flag value when we do start to read the .o file DWARF and set the CompileUnit's status at that point - but haven't done it yet. I'm also going to add a mechanism for issuing warnings to users such that they're only issued once in a debug session and there is away for users to suppress these warnings altogether via .lldbinit file settings. But I want to get this changeset committed now that it's at a useful state. <rdar://problem/19281172> llvm-svn: 243508 |
||
---|---|---|
.. | ||
SBAddress.i | ||
SBAttachInfo.i | ||
SBBlock.i | ||
SBBreakpoint.i | ||
SBBreakpointLocation.i | ||
SBBroadcaster.i | ||
SBCommandInterpreter.i | ||
SBCommandReturnObject.i | ||
SBCommunication.i | ||
SBCompileUnit.i | ||
SBData.i | ||
SBDebugger.i | ||
SBDeclaration.i | ||
SBError.i | ||
SBEvent.i | ||
SBExecutionContext.i | ||
SBExpressionOptions.i | ||
SBFileSpec.i | ||
SBFileSpecList.i | ||
SBFrame.i | ||
SBFunction.i | ||
SBHostOS.i | ||
SBInstruction.i | ||
SBInstructionList.i | ||
SBLanguageRuntime.i | ||
SBLaunchInfo.i | ||
SBLineEntry.i | ||
SBListener.i | ||
SBModule.i | ||
SBModuleSpec.i | ||
SBPlatform.i | ||
SBProcess.i | ||
SBQueue.i | ||
SBQueueItem.i | ||
SBSection.i | ||
SBSourceManager.i | ||
SBStream.i | ||
SBStringList.i | ||
SBSymbol.i | ||
SBSymbolContext.i | ||
SBSymbolContextList.i | ||
SBTarget.i | ||
SBThread.i | ||
SBThreadCollection.i | ||
SBThreadPlan.i | ||
SBType.i | ||
SBTypeCategory.i | ||
SBTypeEnumMember.i | ||
SBTypeFilter.i | ||
SBTypeFormat.i | ||
SBTypeNameSpecifier.i | ||
SBTypeSummary.i | ||
SBTypeSynthetic.i | ||
SBUnixSignals.i | ||
SBValue.i | ||
SBValueList.i | ||
SBVariablesOptions.i | ||
SBWatchpoint.i |