mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-22 04:55:50 -04:00

LLDB don't detect the loading of a shared object file linked against the main executable before the static initializers are executed for the given module. Because of this it is not possible to get breakpoint hits in these static initializers and to display proper debug info in case of a crash in these codes. llvm-svn: 255342
25 lines
383 B
Makefile
25 lines
383 B
Makefile
LEVEL := ../../make
|
|
|
|
LIB_PREFIX := loadunload_
|
|
|
|
LD_EXTRAS := -L. -l$(LIB_PREFIX)d -ldl
|
|
CXX_SOURCES := main.cpp
|
|
|
|
include $(LEVEL)/Makefile.rules
|
|
|
|
.PHONY:
|
|
a.out: lib_a lib_b lib_c lib_d hidden_lib_d
|
|
|
|
lib_%:
|
|
$(MAKE) -f $*.mk
|
|
|
|
hidden_lib_d:
|
|
$(MAKE) -C hidden
|
|
|
|
clean::
|
|
$(MAKE) -f a.mk clean
|
|
$(MAKE) -f b.mk clean
|
|
$(MAKE) -f c.mk clean
|
|
$(MAKE) -f d.mk clean
|
|
$(MAKE) -C hidden clean
|