Open sylvestre opened 1 month ago
FAILED: tools/lldb/source/Plugins/Trace/intel-pt/CMakeFiles/lldbPluginTraceIntelPT.dir/LibiptDecoder.cpp.o /opt/sccache//sccache /build/source/build-llvm/./bin/clang++ -DHAVE_ROUND -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/lldb/source/Plugins/Trace/intel-pt -I/build/source/lldb/source/Plugins/Trace/intel-pt -I/build/source/lldb/include -Itools/lldb/include -Iinclude -I/build/source/llvm/include -I/build/source/clang/include -Itools/lldb/../clang/include -I/build/source/lldb/source -Itools/lldb/source -isystem /usr/include/libxml2 -fstack-protector-strong -Wformat -Werror=format-security -Wno-unused-command-line-argument -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -ffile-prefix-map=/build/source/build-llvm/tools/clang/stage2-bins=../../../../ -ffile-prefix-map=/build/source/= -no-canonical-prefixes -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -O2 -DNDEBUG -g1 -fno-exceptions -funwind-tables -std=c++17 -MD -MT tools/lldb/source/Plugins/Trace/intel-pt/CMakeFiles/lldbPluginTraceIntelPT.dir/LibiptDecoder.cpp.o -MF tools/lldb/source/Plugins/Trace/intel-pt/CMakeFiles/lldbPluginTraceIntelPT.dir/LibiptDecoder.cpp.o.d -o tools/lldb/source/Plugins/Trace/intel-pt/CMakeFiles/lldbPluginTraceIntelPT.dir/LibiptDecoder.cpp.o -c /build/source/lldb/source/Plugins/Trace/intel-pt/LibiptDecoder.cpp /build/source/lldb/source/Plugins/Trace/intel-pt/LibiptDecoder.cpp:512:16: error: use of undeclared identifier 'pt_insn_event'; did you mean 'pt_insn_next'? 512 | status = pt_insn_event(m_decoder_up.get(), &event, sizeof(event)); | ^~~~~~~~~~~~~ | pt_insn_next /usr/include/intel-pt.h:1975:22: note: 'pt_insn_next' declared here
full build: https://llvm-jenkins.debian.net/job/llvm-toolchain-bionic-18-binaries/architecture=amd64,distribution=bionic,label=amd64/125/consoleFull
@llvm/issue-subscribers-lldb
Author: Sylvestre Ledru (sylvestre)
Probably not a regression, Intel Processor Trace was enabled only recently on Debian/Ubuntu
full build: https://llvm-jenkins.debian.net/job/llvm-toolchain-bionic-18-binaries/architecture=amd64,distribution=bionic,label=amd64/125/consoleFull