diff options
Diffstat (limited to 'include/lld/Core/LinkingContext.h')
-rw-r--r-- | include/lld/Core/LinkingContext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lld/Core/LinkingContext.h b/include/lld/Core/LinkingContext.h index b3a999b00fbd..eb9510cbd215 100644 --- a/include/lld/Core/LinkingContext.h +++ b/include/lld/Core/LinkingContext.h @@ -62,7 +62,7 @@ public: /// of DefinedAtoms that should be marked live (along with all Atoms they /// reference). Only Atoms with scope scopeLinkageUnit or scopeGlobal can /// be kept live using this method. - const std::vector<StringRef> &deadStripRoots() const { + ArrayRef<StringRef> deadStripRoots() const { return _deadStripRoots; } @@ -106,7 +106,7 @@ public: /// options which are used to configure LLVM's command line settings. /// For instance the -debug-only XXX option can be used to dynamically /// trace different parts of LLVM and lld. - const std::vector<const char *> &llvmOptions() const { return _llvmOptions; } + ArrayRef<const char *> llvmOptions() const { return _llvmOptions; } /// \name Methods used by Drivers to configure TargetInfo /// @{ |