xbolva00 added a comment.

In D117091#3272594 <https://reviews.llvm.org/D117091#3272594>, @jdoerfert wrote:

> Don't test with O1 <https://reviews.llvm.org/owners/package/1/>, add the 
> dummy include folder to the include path 
> (`clang/test/Headers/Inputs/include`), stdlib.h is already there, malloc.h is 
> not and needs to be created.
>
> See `clang/test/Headers/nvptx_device_cmath_functions.c` for an example.

Need -O1, with -O0 no assumption is emitted.


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

https://reviews.llvm.org/D117091

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to