ABataev added a comment.

> This is necessary for implementing features like conditional offloading and 
> ensuring that unhandled pragmas don't result in missing symbols.

This behavior is part of the standard.

> For offloading tests we can silently fail to the host without realizing that 
> offloading failed.

It is controlled by the OMP_TARGET_OFFLOAD env variable, no? You can set this 
env var to mandatory to avoid this problem.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D120353

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

Reply via email to