diff options
author | George Rimar <grimar@accesssoftek.com> | 2016-04-21 11:21:48 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2016-04-21 11:21:48 +0000 |
commit | dbbd8b15bf996397e11e375ba692dc032e46ea6e (patch) | |
tree | e8d9d9b54f97cacfbfbed45f27f27b4effc7cf35 /lld/ELF/LinkerScript.h | |
parent | d370f440e2c9be59890e0f40be30b120c52e0379 (diff) | |
download | bcm5719-llvm-dbbd8b15bf996397e11e375ba692dc032e46ea6e.tar.gz bcm5719-llvm-dbbd8b15bf996397e11e375ba692dc032e46ea6e.zip |
[ELF] - Use ArrayRef instead of std::vector& for LinkerScript module. NFC.
llvm-svn: 266978
Diffstat (limited to 'lld/ELF/LinkerScript.h')
-rw-r--r-- | lld/ELF/LinkerScript.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.h b/lld/ELF/LinkerScript.h index 8ae41a66f59..0d3078e0400 100644 --- a/lld/ELF/LinkerScript.h +++ b/lld/ELF/LinkerScript.h @@ -81,7 +81,7 @@ public: ArrayRef<uint8_t> getFiller(StringRef Name); bool isDiscarded(InputSectionBase<ELFT> *S); bool shouldKeep(InputSectionBase<ELFT> *S); - void assignAddresses(std::vector<OutputSectionBase<ELFT> *> &S); + void assignAddresses(ArrayRef<OutputSectionBase<ELFT> *> S); int compareSections(StringRef A, StringRef B); uint32_t getSectionOrder(StringRef Name); |