[Openmp-commits] [PATCH] D109728: [OpenMP][DeviceRTL] Add the support for printf in a freestanding way

Shilei Tian via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Sep 22 12:51:58 PDT 2021


tianshilei1992 added inline comments.


================
Comment at: openmp/libomptarget/DeviceRTL/src/Debug.cpp:37
+extern "C" {
+int vprintf(const char *format, __builtin_va_list args) { return 0; }
+}
----------------
Since AMD FE doesn't lower it to `vprintf`, what should we do here? If we enable the feature, there will be link error.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109728



More information about the Openmp-commits mailing list