[PATCH] D157623: [lld][COFF] Remove incorrect flag from EHcont table

namazso via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 10 07:57:42 PDT 2023


namazso created this revision.
namazso added reviewers: rnk, pengfei.
Herald added a project: All.
namazso requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

See https://github.com/llvm/llvm-project/issues/64570


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157623

Files:
  lld/COFF/Writer.cpp


Index: lld/COFF/Writer.cpp
===================================================================
--- lld/COFF/Writer.cpp
+++ lld/COFF/Writer.cpp
@@ -1786,7 +1786,7 @@
   // Add the ehcont target table unless the user told us not to.
   if (config->guardCF & GuardCFLevel::EHCont)
     maybeAddRVATable(std::move(ehContTargets), "__guard_eh_cont_table",
-                     "__guard_eh_cont_count", true);
+                     "__guard_eh_cont_count");
 
   // Set __guard_flags, which will be used in the load config to indicate that
   // /guard:cf was enabled.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157623.549045.patch
Type: text/x-patch
Size: 564 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230810/49b6ce04/attachment.bin>


More information about the llvm-commits mailing list