[llvm] r221808 - Changing a StringRef::begin() call into StringRef::data(); NFC.
Aaron Ballman
aaron at aaronballman.com
Wed Nov 12 11:43:13 PST 2014
Author: aaronballman
Date: Wed Nov 12 13:43:13 2014
New Revision: 221808
URL: http://llvm.org/viewvc/llvm-project?rev=221808&view=rev
Log:
Changing a StringRef::begin() call into StringRef::data(); NFC.
Modified:
llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
Modified: llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp?rev=221808&r1=221807&r2=221808&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp Wed Nov 12 13:43:13 2014
@@ -668,7 +668,7 @@ private:
MCDisassembler *Dis = Checker.Disassembler;
StringRef SectionMem = Checker.getSubsectionStartingAt(Symbol);
ArrayRef<uint8_t> SectionBytes(
- reinterpret_cast<const uint8_t *>(SectionMem.begin()),
+ reinterpret_cast<const uint8_t *>(SectionMem.data()),
SectionMem.size());
MCDisassembler::DecodeStatus S =
More information about the llvm-commits
mailing list