[lld] r319084 - Fix for file renaming in LLVM (CommandFlags.h -> CommandFlags.def)
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 27 11:54:06 PST 2017
Author: dblaikie
Date: Mon Nov 27 11:54:06 2017
New Revision: 319084
URL: http://llvm.org/viewvc/llvm-project?rev=319084&view=rev
Log:
Fix for file renaming in LLVM (CommandFlags.h -> CommandFlags.def)
Modified:
lld/trunk/Common/TargetOptionsCommandFlags.cpp
Modified: lld/trunk/Common/TargetOptionsCommandFlags.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/Common/TargetOptionsCommandFlags.cpp?rev=319084&r1=319083&r2=319084&view=diff
==============================================================================
--- lld/trunk/Common/TargetOptionsCommandFlags.cpp (original)
+++ lld/trunk/Common/TargetOptionsCommandFlags.cpp Mon Nov 27 11:54:06 2017
@@ -8,7 +8,7 @@
//===----------------------------------------------------------------------===//
//
// This file exists as a place for global variables defined in LLVM's
-// CodeGen/CommandFlags.h. By putting the resulting object file in
+// CodeGen/CommandFlags.def. By putting the resulting object file in
// an archive and linking with it, the definitions will automatically be
// included when needed and skipped when already present.
//
@@ -16,12 +16,12 @@
#include "lld/Common/TargetOptionsCommandFlags.h"
-#include "llvm/CodeGen/CommandFlags.h"
+#include "llvm/CodeGen/CommandFlags.def"
#include "llvm/Target/TargetOptions.h"
// Define an externally visible version of
// InitTargetOptionsFromCodeGenFlags, so that its functionality can be
-// used without having to include llvm/CodeGen/CommandFlags.h, which
+// used without having to include llvm/CodeGen/CommandFlags.def, which
// would lead to multiple definitions of the command line flags.
llvm::TargetOptions lld::InitTargetOptionsFromCodeGenFlags() {
return ::InitTargetOptionsFromCodeGenFlags();
More information about the llvm-commits
mailing list