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
13 lines
308 B
Makefile
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 $@
|
|
|