[clang] [clang][X86] Support __attribute__((model("small"/"large"))) (PR #124834)
Arthur Eubanks via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 12 15:16:26 PST 2025
================
@@ -2950,12 +2950,11 @@ static void handleSectionAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
}
}
-static bool isValidCodeModelAttr(Sema &S, StringRef Str) {
- if (S.Context.getTargetInfo().getTriple().isLoongArch()) {
+static bool isValidCodeModelAttr(llvm::Triple Triple, StringRef Str) {
----------------
aeubanks wrote:
done
https://github.com/llvm/llvm-project/pull/124834
More information about the cfe-commits
mailing list