[clang] [Driver] Remove duplicate -e on DragonFly (PR #65867)

Brad Smith via cfe-commits cfe-commits at lists.llvm.org
Sat Sep 9 16:31:58 PDT 2023


https://github.com/brad0 created https://github.com/llvm/llvm-project/pull/65867:

62281227bf7ca48d0101e4c9d11f71600208c7df was commited, but I noticed one spot was missed in the DragonFly Driver.

>From 112b5c951afc9144271d77380c1c26cc5a6e0e24 Mon Sep 17 00:00:00 2001
From: Brad Smith <brad at comstyle.com>
Date: Sat, 9 Sep 2023 19:30:13 -0400
Subject: [PATCH] [Driver] Remove duplicate -e on DragonFly

62281227bf7ca48d0101e4c9d11f71600208c7df was commited, but I noticed
one spot was missed in the DragonFly Driver.
---
 clang/lib/Driver/ToolChains/DragonFly.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/lib/Driver/ToolChains/DragonFly.cpp b/clang/lib/Driver/ToolChains/DragonFly.cpp
index 6f46864105e9c0c..5406fc2d0cc499e 100644
--- a/clang/lib/Driver/ToolChains/DragonFly.cpp
+++ b/clang/lib/Driver/ToolChains/DragonFly.cpp
@@ -117,7 +117,7 @@ void dragonfly::Linker::ConstructJob(Compilation &C, const JobAction &JA,
   }
 
   Args.AddAllArgs(CmdArgs,
-                  {options::OPT_L, options::OPT_T_Group, options::OPT_e});
+                  {options::OPT_L, options::OPT_T_Group});
 
   AddLinkerInputs(getToolChain(), Inputs, Args, CmdArgs, JA);
 



More information about the cfe-commits mailing list