Files
clang-p2996/lldb/test/API/functionalities/multiple-slides/Makefile
Jason Molenda 1fee25629d Clear old section-to-addr entry when loading Section at new addr
SectionLoadList has a section-to-address map (m_sect_to_addr) and
an address-to-section map (m_addr_to_sect).  When the load address
of a section is updated, the old entry from m_addr_to_sect would
never be cleared, resulting in incorrect address-to-section address
lookups from that point forward.

Differential Revision: https://reviews.llvm.org/D130534
rdar://97308773
2022-09-27 16:20:26 -07:00

13 lines
308 B
Makefile

C_SOURCES := main.c
MAKE_DSYM := NO
include Makefile.rules
# lldb has a separate bug where this test case
# does not work if we have debug info - after
# sliding the binary, the address of `first` and
# `second` are not slid for some reason on Darwin.
main.o: main.c
$(CC) $(CFLAGS_NO_DEBUG) -c $< -o $@