aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ELFObjectFile.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-05-30 08:21:25 +0000
committerPavel Labath <pavel@labath.sk>2019-05-30 08:21:25 +0000
commit833dba01d9f2393f89ed4bd69e1b3b5c084285c3 (patch)
tree2539301d8c81f07e49bf72268446f697c2a0f7a2 /llvm/lib/Object/ELFObjectFile.cpp
parent5857bf5d1e5a5ffe5ae51a38514ee55495c0cc69 (diff)
downloadllvm-833dba01d9f2393f89ed4bd69e1b3b5c084285c3.zip
llvm-833dba01d9f2393f89ed4bd69e1b3b5c084285c3.tar.gz
llvm-833dba01d9f2393f89ed4bd69e1b3b5c084285c3.tar.bz2
Make CompileUnit::GetSupportFiles return a const list
There's no reason for anyone to modify a list from outside of a symbol file (as that would break a lot of invariants that symbol files depend on). Make the function return a const FileSpecList and fix up a couple of places that were needlessly binding non-const references to the result of this function. llvm-svn: 362069
Diffstat (limited to 'llvm/lib/Object/ELFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions