[PATCH] D154396: [clang] Add support for SerenityOS
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 7 22:11:38 PST 2023
MaskRay added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Serenity.h:61
+ bool isPICDefault() const override { return true; }
+ bool isPIEDefault(const llvm::opt::ArgList &) const override { return true; }
+ bool isPICDefaultForced() const override { return false; }
----------------
Test that the -cc1 line contains `"-pic-level" "2" "-pic-is-pie"`
================
Comment at: clang/lib/Driver/ToolChains/Serenity.h:68
+ getDefaultUnwindTableLevel(const llvm::opt::ArgList &Args) const override {
+ return UnwindTableLevel::Asynchronous;
+ }
----------------
Test that the -cc1 line contains `"-funwind-tables=2"`
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