[clang] [SystemZ][z/OS] Add guard for dl_info and dladdr (PR #75637)

Nikita Popov via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 19 02:35:13 PST 2023


================
@@ -17,6 +17,7 @@
 #include "clang/Driver/Driver.h"
 #include "llvm/ADT/STLExtras.h"
 #include "llvm/ADT/SmallString.h"
+#include "llvm/Config/config.h"
----------------
nikic wrote:

This is a private LLVM header, see the comment at the top of the file. It cannot be included in other subprojects.

You either have to export this macro from llvm-config.h, or you have to add it to clang's config.h.

https://github.com/llvm/llvm-project/pull/75637


More information about the cfe-commits mailing list