[llvm] [orc-rt] Implement Windows target triple detection (PR #224514)

Jared Wyles via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 20 07:05:33 PDT 2026


================
@@ -34,10 +36,13 @@ TEST(ExecutorProcessInfoTest, DetectPageSizeAtLeast4096) {
   EXPECT_GE(EPI.pageSize(), 4096U);
 }
 
-TEST(ExecutorProcessInfoTest, DetectPageSizeMatchesSysconf) {
-  auto EPI = cantFail(ExecutorProcessInfo::Detect());
-  EXPECT_EQ(EPI.pageSize(), static_cast<size_t>(sysconf(_SC_PAGESIZE)));
+TEST(ExecutorProcessInfoTest, DetectPageSizeMatchesSystem) {
+  auto EPI = ExecutorProcessInfo::Detect();
+  ASSERT_TRUE(EPI);
+
+  EXPECT_EQ(EPI->PageSize, static_cast<uint64_t>(sysconf(_SC_PAGESIZE)));
----------------
jaredwy wrote:

This gets removed and moved to regression tests in a future change

https://github.com/llvm/llvm-project/pull/224514


More information about the llvm-commits mailing list