LLVM supports DWARF 5 linetable extension to store source files inline in DWARF. This is particularly useful for compiler-generated source code. This implementation tries to materialize them as temporary files lazily, so SBAPI clients don't need to be aware of them. rdar://110926168
12 lines
147 B
Makefile
12 lines
147 B
Makefile
C_SOURCES := main.c
|
|
CFLAGS_EXTRAS := -gdwarf-5
|
|
|
|
include Makefile.rules
|
|
|
|
OBJECTS += inline.o
|
|
|
|
$(EXE): main.c inline.o
|
|
|
|
%.o: %.ll
|
|
$(CC) $< -c -o $@
|