[libc-commits] [libc] [libc][NFC] Fix `-DSHOW_INTERMEDIATE_OBJECTS=DEPS` to work properly for entry points and unit tests. (PR #79254)

Schrodinger ZHU Yifan via libc-commits libc-commits at lists.llvm.org
Tue Jan 23 22:30:39 PST 2024


================
@@ -652,7 +652,7 @@ function(create_entrypoint_object fq_target_name)
   if(SHOW_INTERMEDIATE_OBJECTS)
     message(STATUS "Adding entrypoint object ${fq_target_name}")
     if(${SHOW_INTERMEDIATE_OBJECTS} STREQUAL "DEPS")
-      foreach(dep IN LISTS ADD_OBJECT_DEPENDS)
+      foreach(dep IN LISTS ADD_ENTRYPOINT_OBJ_DEPENDS)
         message(STATUS "  ${fq_target_name} depends on ${dep}")
----------------
SchrodingerZhu wrote:

Would this be too verbose? How about just print out a `;` separated list?

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


More information about the libc-commits mailing list