diff options
Diffstat (limited to 'contrib/llvm-project/llvm/lib/InterfaceStub/ELFObjHandler.cpp')
-rw-r--r-- | contrib/llvm-project/llvm/lib/InterfaceStub/ELFObjHandler.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/llvm-project/llvm/lib/InterfaceStub/ELFObjHandler.cpp b/contrib/llvm-project/llvm/lib/InterfaceStub/ELFObjHandler.cpp index 13801cd2cbc0..49ed27e265d4 100644 --- a/contrib/llvm-project/llvm/lib/InterfaceStub/ELFObjHandler.cpp +++ b/contrib/llvm-project/llvm/lib/InterfaceStub/ELFObjHandler.cpp @@ -17,6 +17,7 @@ #include "llvm/Support/FileOutputBuffer.h" #include "llvm/Support/MathExtras.h" #include "llvm/Support/MemoryBuffer.h" +#include <optional> using llvm::object::ELFObjectFile; @@ -31,13 +32,13 @@ namespace ifs { struct DynamicEntries { uint64_t StrTabAddr = 0; uint64_t StrSize = 0; - Optional<uint64_t> SONameOffset; + std::optional<uint64_t> SONameOffset; std::vector<uint64_t> NeededLibNames; // Symbol table: uint64_t DynSymAddr = 0; // Hash tables: - Optional<uint64_t> ElfHash; - Optional<uint64_t> GnuHash; + std::optional<uint64_t> ElfHash; + std::optional<uint64_t> GnuHash; }; /// This initializes an ELF file header with information specific to a binary |