[PATCH] D136712: Define _GNU_SOURCE for arm baremetal in C++ mode.
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 3 10:18:54 PDT 2022
MaskRay added inline comments.
================
Comment at: clang/test/Driver/arm-baremetal-defines.cpp:1
+// RUN: %clang --target=arm-none-eabi -march=armv7-m %s -emit-llvm -S -c -o - 2>&1 | FileCheck %s
+
----------------
MaskRay wrote:
> Move this to `test/Preprocessor/init-arm.c`
test/Preprocessor/init-* tests use `%clang_cc1 -triple xxx -E -dM %s`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D136712/new/
https://reviews.llvm.org/D136712
More information about the cfe-commits
mailing list