[PATCH] D154396: [clang] Add support for SerenityOS
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 2 11:13:10 PDT 2023
MaskRay added inline comments.
================
Comment at: clang/test/Driver/serenity.cpp:2
+// UNSUPPORTED: system-windows
+
+/// Test a cross compiler.
----------------
https://github.com/MaskRay/Config/wiki/LLVM#clanglibdriver
The test fails in a
`-DCLANG_DEFAULT_RTLIB=compiler-rt -DCLANG_DEFAULT_UNWINDLIB=libunwind -DCLANG_DEFAULT_CXX_STDLIB=libc++ ` build
================
Comment at: clang/test/Driver/serenity.cpp:35
+// RELOCATABLE-SAME: {{^}}[[SYSROOT]]/usr/lib"
+// RELOCATABLE-NOT: "-l
+// RELOCATABLE-NOT: crt{{[^./]+}}.o
----------------
https://github.com/MaskRay/Config/wiki/LLVM#clanglibdriver
The `NOT -l`test fails in a
`-DCLANG_DEFAULT_RTLIB=compiler-rt -DCLANG_DEFAULT_UNWINDLIB=libunwind -DCLANG_DEFAULT_CXX_STDLIB=libc++ ` build
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D154396/new/
https://reviews.llvm.org/D154396
More information about the cfe-commits
mailing list