[PATCH] D144701: [COFF] Put jump table in .rdata for Windows

Wei Xiao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 27 18:36:35 PST 2023


wxiao3 added inline comments.


================
Comment at: llvm/test/MC/COFF/jumptable-rdata.ll:2
+; RUN: llc -mtriple x86_64-pc-win32 < %s | FileCheck %s
+; RUN: llc -mtriple x86_64-pc-win32 -jumptable-in-function-section < %s | FileCheck --check-prefixes=CHECK-OPT %s
+
----------------
LuoYuanke wrote:
> The default value of jumptable-in-function-section is false, so in this test should we set "jumptable-in-function-section" to 1?
yes, the CHECK-OPT test set "jumptable-in-function-section" to 1 already.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144701/new/

https://reviews.llvm.org/D144701



More information about the llvm-commits mailing list