[Lldb-commits] [lldb] [lldb][test][NFC] Document DYLIB_NAME Makefile variable (PR #112735)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 17 12:18:05 PDT 2024


================
@@ -13,6 +13,13 @@
 # the building of the a.out executable program.  For example,
 # DYLIB_ONLY := YES
 #
+# When specifying one of the DYLIB_*_SOURCES variables, DYLIB_NAME
+# controls the name of the produced dylib. E.g., if set to "foo",
+# the generated dylib will be called "foo.<platform-specific-extension>",
+# which on Darwin will be "foo.dylib".
----------------
bulbazord wrote:

This is interesting. LLDB makes an assumption that a module named `foo` will be turned onto `libfoo.dylib` on Darwin. See `Platform::GetFullNameForDylib`

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


More information about the lldb-commits mailing list