summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARFContext.cpp
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-10-20 20:28:51 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-10-20 20:28:51 +0000
commit4a7eb380cc22869f06815034326f9dda19662e95 (patch)
tree580d987e9a900b944d12b591e760bcfdeb159e07 /llvm/lib/DebugInfo/DWARFContext.cpp
parent2f9e28c84fa706589d27925cf18c3d487e6dda90 (diff)
downloadbcm5719-llvm-4a7eb380cc22869f06815034326f9dda19662e95.tar.gz
bcm5719-llvm-4a7eb380cc22869f06815034326f9dda19662e95.zip
Constify input argument of RelocVisitor and DWARFContext constructors. NFC.
llvm-svn: 220228
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFContext.cpp')
-rw-r--r--llvm/lib/DebugInfo/DWARFContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARFContext.cpp b/llvm/lib/DebugInfo/DWARFContext.cpp
index 830db66098c..aa86f6aac03 100644
--- a/llvm/lib/DebugInfo/DWARFContext.cpp
+++ b/llvm/lib/DebugInfo/DWARFContext.cpp
@@ -509,7 +509,7 @@ static bool consumeCompressedDebugSectionHeader(StringRef &data,
return true;
}
-DWARFContextInMemory::DWARFContextInMemory(object::ObjectFile &Obj)
+DWARFContextInMemory::DWARFContextInMemory(const object::ObjectFile &Obj)
: IsLittleEndian(Obj.isLittleEndian()),
AddressSize(Obj.getBytesInAddress()) {
for (const SectionRef &Section : Obj.sections()) {
OpenPOWER on IntegriCloud