[PATCH] D88349: Fix inconsistent flag for disabling Dead Virtual Function Elimination

Dominic Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 25 18:50:37 PDT 2020


ddcc created this revision.
ddcc added a reviewer: ostannard.
Herald added a subscriber: dang.
Herald added a project: clang.
ddcc requested review of this revision.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D88349

Files:
  clang/include/clang/Driver/Options.td


Index: clang/include/clang/Driver/Options.td
===================================================================
--- clang/include/clang/Driver/Options.td
+++ clang/include/clang/Driver/Options.td
@@ -1975,7 +1975,7 @@
 def fvirtual_function_elimination : Flag<["-"], "fvirtual-function-elimination">, Group<f_Group>,
   Flags<[CoreOption, CC1Option]>,
   HelpText<"Enables dead virtual function elimination optimization. Requires -flto=full">;
-def fno_virtual_function_elimination : Flag<["-"], "fno-virtual-function_elimination">, Group<f_Group>,
+def fno_virtual_function_elimination : Flag<["-"], "fno-virtual-function-elimination">, Group<f_Group>,
   Flags<[CoreOption]>;
 
 def fwrapv : Flag<["-"], "fwrapv">, Group<f_Group>, Flags<[CC1Option]>,


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88349.294467.patch
Type: text/x-patch
Size: 754 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200926/59d24d26/attachment.bin>


More information about the cfe-commits mailing list