[Lldb-commits] [PATCH] D108061: [lldb] Add support for shared library load when executable called through ld.

Fangrui Song via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 25 15:44:05 PDT 2021


MaskRay added inline comments.


================
Comment at: lldb/test/API/functionalities/dyld-launch-linux/Makefile:1
+CXX_SOURCES := main.cpp
+LD_EXTRAS := -Wl,-rpath "-Wl,$(shell pwd)"
----------------
```
CXX_SOURCES := main.cpp
DYLIB_NAME := signal_file
DYLIB_CXX_SOURCES := signal_file.cpp

include Makefile.rules
```

macOS uses `.dylib` dynamic libraries and the hard-coded `.so` can cause build failures, even if the test skips execution on macOS.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108061



More information about the lldb-commits mailing list