diff options
author | Pavel Labath <pavel@labath.sk> | 2019-05-30 08:21:25 +0000 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2019-05-30 08:21:25 +0000 |
commit | 833dba01d9f2393f89ed4bd69e1b3b5c084285c3 (patch) | |
tree | 2539301d8c81f07e49bf72268446f697c2a0f7a2 /llvm/lib/Object/ELFObjectFile.cpp | |
parent | 5857bf5d1e5a5ffe5ae51a38514ee55495c0cc69 (diff) | |
download | llvm-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