diff --git a/contrib/llvm/tools/lld/ELF/Driver.h b/contrib/llvm/tools/lld/ELF/Driver.h index 6b9b9bb208e5..dc20961a3069 100644 --- a/contrib/llvm/tools/lld/ELF/Driver.h +++ b/contrib/llvm/tools/lld/ELF/Driver.h @@ -65,7 +65,7 @@ class ELFOptTable : public llvm::opt::OptTable { enum { OPT_INVALID = 0, #define OPTION(_1, _2, ID, _4, _5, _6, _7, _8, _9, _10, _11) OPT_##ID, -#include "Options.inc" +#include "ELF/Options.inc" #undef OPTION }; diff --git a/contrib/llvm/tools/lld/ELF/DriverUtils.cpp b/contrib/llvm/tools/lld/ELF/DriverUtils.cpp index 3f18259b4ae7..274c08bcdb0f 100644 --- a/contrib/llvm/tools/lld/ELF/DriverUtils.cpp +++ b/contrib/llvm/tools/lld/ELF/DriverUtils.cpp @@ -34,7 +34,7 @@ using namespace lld::elf; // Create prefix string literals used in Options.td #define PREFIX(NAME, VALUE) const char *const NAME[] = VALUE; -#include "Options.inc" +#include "ELF/Options.inc" #undef PREFIX // Create table mapping all options defined in Options.td @@ -44,7 +44,7 @@ static const opt::OptTable::Info OptInfo[] = { X1, X2, X9, X10, OPT_##ID, opt::Option::KIND##Class, X8, X7, OPT_##GROUP, \ OPT_##ALIAS, X6 \ }, -#include "Options.inc" +#include "ELF/Options.inc" #undef OPTION };