forked from OSchip/llvm-project
50251fc715
Summary: We sometimes need to write to the object file we've mapped into memory, generally to apply relocations to debug info sections. We've had that ability before, but with the introduction of DataBufferLLVM, we have lost it, as the underlying llvm class (MemoryBuffer) only supports read-only mappings. This switches DataBufferLLVM to use the new llvm::WritableMemoryBuffer class as a back-end, as this one guarantees to return a writable buffer. This removes the need for the "Private" flag to the DataBufferLLVM creation functions, as it was really used to mean "writable". The LLVM function also does not have the NullTerminate flag, so I've modified our clients to not require this feature and removed that flag as well. Reviewers: zturner, clayborg, jingham Subscribers: emaste, aprantl, arichardson, krytarowski, lldb-commits Differential Revision: https://reviews.llvm.org/D40079 llvm-svn: 321255 |
||
---|---|---|
.. | ||
Args.cpp | ||
CMakeLists.txt | ||
CommandAlias.cpp | ||
CommandHistory.cpp | ||
CommandInterpreter.cpp | ||
CommandObject.cpp | ||
CommandObjectRegexCommand.cpp | ||
CommandObjectScript.cpp | ||
CommandObjectScript.h | ||
CommandOptionValidators.cpp | ||
CommandReturnObject.cpp | ||
OptionGroupArchitecture.cpp | ||
OptionGroupBoolean.cpp | ||
OptionGroupFile.cpp | ||
OptionGroupFormat.cpp | ||
OptionGroupOutputFile.cpp | ||
OptionGroupPlatform.cpp | ||
OptionGroupString.cpp | ||
OptionGroupUInt64.cpp | ||
OptionGroupUUID.cpp | ||
OptionGroupValueObjectDisplay.cpp | ||
OptionGroupVariable.cpp | ||
OptionGroupWatchpoint.cpp | ||
OptionValue.cpp | ||
OptionValueArch.cpp | ||
OptionValueArgs.cpp | ||
OptionValueArray.cpp | ||
OptionValueBoolean.cpp | ||
OptionValueChar.cpp | ||
OptionValueDictionary.cpp | ||
OptionValueEnumeration.cpp | ||
OptionValueFileSpec.cpp | ||
OptionValueFileSpecLIst.cpp | ||
OptionValueFormat.cpp | ||
OptionValueFormatEntity.cpp | ||
OptionValueLanguage.cpp | ||
OptionValuePathMappings.cpp | ||
OptionValueProperties.cpp | ||
OptionValueRegex.cpp | ||
OptionValueSInt64.cpp | ||
OptionValueString.cpp | ||
OptionValueUInt64.cpp | ||
OptionValueUUID.cpp | ||
Options.cpp | ||
Property.cpp | ||
ScriptInterpreter.cpp | ||
embedded_interpreter.py |