mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
e16e687034
- warn users when -debug-ir is used with old JIT engine (only partial debug info is available) For example, to debug an IR file with GDB (that supports JIT registration), do: $ gdb --args lli -use-mcjit -debug-ir testcase.ll (gdb) break main (gdb) run <Process continues to lli main> (gdb) continue <Process continues to testcase.ll main() (gdb) step <Now stepping through the LLVM IR in testcase.ll> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185197 91177308-0d34-0410-b5e6-96231b3b80d8
30 lines
910 B
Makefile
30 lines
910 B
Makefile
##===- tools/lli/Makefile ------------------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file is distributed under the University of Illinois Open Source
|
|
# License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
|
|
LEVEL := ../..
|
|
TOOLNAME := lli
|
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
LINK_COMPONENTS := mcjit jit instrumentation interpreter nativecodegen bitreader asmparser irreader selectiondag native
|
|
|
|
# If Intel JIT Events support is confiured, link against the LLVM Intel JIT
|
|
# Events interface library
|
|
ifeq ($(USE_INTEL_JITEVENTS), 1)
|
|
LINK_COMPONENTS += debuginfo inteljitevents object
|
|
endif
|
|
|
|
# If oprofile support is confiured, link against the LLVM oprofile interface
|
|
# library
|
|
ifeq ($(USE_OPROFILE), 1)
|
|
LINK_COMPONENTS += oprofilejit
|
|
endif
|
|
|
|
include $(LLVM_SRC_ROOT)/Makefile.rules
|