[PATCH] D79693: [test][ARM][CMSE] Use -ffreestanding for arm_cmse.h tests

Hubert Tong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 14 09:44:00 PDT 2020


hubert.reinterpretcast added a comment.

In D79693#2036599 <https://reviews.llvm.org/D79693#2036599>, @chill wrote:

> How do you trigger a problem?


If your build was configured with `DEFAULT_SYSROOT` to a toolchain path that has a `/include` directory, then the contents of that directory would be picked up. The intent of the person doing the build with regards to `DEFAULT_SYSROOT` is to provide a sysroot for their intended targets, which may not match the needs of the explicit target provided here.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79693/new/

https://reviews.llvm.org/D79693





More information about the cfe-commits mailing list