mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-08-01 21:06:16 +00:00
lldb: Enable Intel Processor Trace
The necessary library is available in debian, obviously limited to the x86 architecture. Build lldb to support this functionality [1]. [1] - https://lldb.llvm.org/use/intel_pt.html
This commit is contained in:
parent
86c8ff3384
commit
090d6c3486
1
debian/control
vendored
1
debian/control
vendored
@ -13,6 +13,7 @@ Build-Depends: debhelper (>= 10.0), cmake, ninja-build,
|
||||
binutils-dev,
|
||||
libxml2-dev,
|
||||
libjsoncpp-dev, pkg-config,
|
||||
libipt-dev [amd64 i386],
|
||||
lcov, procps, help2man,
|
||||
zlib1g-dev, libzstd-dev,
|
||||
g++-multilib [amd64 i386 kfreebsd-amd64 mips64 mips64el mipsel powerpc ppc64 s390 s390x sparc sparc64 x32],
|
||||
|
1
debian/control.in
vendored
1
debian/control.in
vendored
@ -13,6 +13,7 @@ Build-Depends: debhelper (>= 10.0), cmake, ninja-build,
|
||||
binutils-dev,
|
||||
libxml2-dev,
|
||||
libjsoncpp-dev, pkg-config,
|
||||
libipt-dev [amd64 i386],
|
||||
lcov, procps, help2man,
|
||||
zlib1g-dev, libzstd-dev,
|
||||
g++-multilib [amd64 i386 kfreebsd-amd64 mips64 mips64el mipsel powerpc ppc64 s390 s390x sparc sparc64 x32],
|
||||
|
3
debian/rules
vendored
3
debian/rules
vendored
@ -462,6 +462,9 @@ else
|
||||
STAGE_ALL_CMAKE_EXTRA += -DLLDB_ENABLE_LUA=OFF
|
||||
PROJECTS+=;lldb
|
||||
endif
|
||||
ifneq (,$(filter $(DEB_HOST_ARCH),i386 amd64))
|
||||
STAGE_ALL_CMAKE_EXTRA += -DLLDB_BUILD_INTEL_PT=ON -DLIBIPT_INCLUDE_PATH=/usr/include -DLIBIPT_LIBRARY_PATH=/usr/lib/$(DEB_HOST_MULTIARCH)
|
||||
endif
|
||||
|
||||
LLDB_PYTHON_DISABLE_DISTRO := bionic buster
|
||||
LLDB_PYTHON_ENABLE=yes
|
||||
|
Loading…
Reference in New Issue
Block a user