Compare commits

...

63 Commits
f34 ... rawhide

Author SHA1 Message Date
Nikita Popov 59502020a0 Remove unused cmake_srcdir variable 2023-04-18 15:41:24 +02:00
Tulio Magno Quites Machado Filho 9b079f7ad9 Update to LLVM 16.0.1 2023-04-13 08:29:05 -03:00
Tulio Magno Quites Machado Filho 61273cb67c Update to LLVM 16.0.0
And replace the cmake source code with the usage of
LLVM_COMMON_CMAKE_UTILS.
2023-03-30 10:34:05 -03:00
Tulio Magno Quites Machado Filho 4a7661c88a Update to LLVM 16.0.0 RC4 2023-03-15 17:25:36 -03:00
Tulio Magno Quites Machado Filho eb4a1f5ea2 Improve .gitignore
Replace many entries with a few globs.
2023-03-15 14:42:58 -03:00
Tulio Magno Quites Machado Filho cd48f148db Update to LLVM 16.0.0 RC3 2023-02-27 09:37:09 -03:00
Tulio Magno Quites Machado Filho c1779d8575 Update to LLVM 16.0.0 RC1 2023-02-14 15:35:08 -03:00
Tulio Magno Quites Machado Filho bd529be1e4 Mention the Apache 2.0 license
List Apache 2.0 with LLVM exceptions in the license field.
This license got adopted in 2019.
2023-01-19 16:31:57 -03:00
Fedora Release Engineering 50329e6795 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 18:09:08 +00:00
Nikita Popov 1172227c37 Add missing source 2023-01-13 12:58:52 +01:00
Nikita Popov b11d9f3f83 Update to LLVM 15.0.7 2023-01-13 11:06:24 +01:00
Tom Stellard 6e0ae30a88 Omit frame pointers when building 2023-01-12 22:29:33 +00:00
Nikita Popov 160cc89388 Update to LLVM 15.0.6 2022-12-06 08:54:53 +01:00
Nikita Popov 1fc6c9ca83 Update to LLVM 15.0.4 2022-11-07 10:18:46 +01:00
Nikita Popov 44dbd88441 Fix crash on ppc64le (fix rhbz#2121369) 2022-10-18 15:53:33 +02:00
sergesanspaille bf5e98ecad Backport compat patches for swig 4.1.0, see rhbz#2128646 2022-10-03 11:06:58 +02:00
Jesus Checa Hidalgo 37e9a4364b Migrate tests to tests/lldb repo 2022-09-12 13:17:34 +02:00
Nikita Popov f76054baa3 Update to LLVM 15.0.0 2022-09-06 14:50:54 +02:00
Nikita Popov 442947bd83 Replace uio.h patch to fix s390x build
This is the upstream patch for the issue.

Fixes rhbz #2114550.
2022-08-09 14:18:17 +02:00
Fedora Release Engineering c13d2b2c45 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 19:43:56 +00:00
Serge Guelton 3d6567023a Merge #49 `tests: add lldb-dwz to test lldb doesn't crash with dwz debuginfo` 2022-07-06 12:09:54 +00:00
Jesus Checa Hidalgo a56b3645fc tests: add lldb-dwz to test lldb doesn't crash with dwz debuginfo 2022-07-05 16:55:36 +02:00
Jesus Checa Hidalgo 6b3303e41c tests: split tests/python-embedded-interpreter
tests/python-embedded-interpreter now only does a sanity test on lldb,
plus checks that lldb rpm mas the correct dependency on python3-lldb
std::vector test moved to tests/lldb-std-vector-prettyprint.
2022-07-04 19:42:32 +02:00
Timm Bäder 4bfcd31c9f Remove uio.h include
Fixes the s390x build
2022-06-21 06:37:32 +02:00
Timm Bäder 1d13dfc7d2 Update to 14.0.5 2022-06-20 12:28:49 +02:00
Python Maint 009b19a9ee Rebuilt for Python 3.11 2022-06-13 17:26:35 +02:00
Jesus Checa Hidalgo ad811486b5 tests: add llvm-toolset-14.0 requirements to tests and plans 2022-04-22 17:53:30 +02:00
Miloš Prchlík 0725b7a11a tests: parametrize package name in embedded interpreter test
It's different in collection, and therefore rpm query fails.
2022-04-22 14:03:14 +00:00
sergesanspaille ef81544fe6 Upload new sources 2022-03-30 09:58:32 +02:00
Timm Bäder d15403101b Update to 14.0.0 2022-03-30 08:34:22 +02:00
Nikita Popov d7f0933e1e Update to LLVM 13.0.1 final 2022-02-03 15:40:51 +01:00
Fedora Release Engineering efa23df70d - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 17:56:53 +00:00
Nikita Popov 9763cabeb0 Update to LLVM 13.0.1rc2 2022-01-14 08:29:21 -05:00
Nikita Popov 1502204996 Update to LLVM 13.0.1rc1 2022-01-12 08:12:49 -05:00
Miloš Prchlík 7c149cdecf tests: add support for SCL-ized LLVM 13 (llvm-toolset-13.0) 2022-01-11 15:59:08 +00:00
Milos Prchlik 9e5ee9cbfd tests: enable use of build-gating tests in actual gating 2021-11-30 13:02:10 +01:00
Milos Prchlik 4bcc0d1daa tests: convert to TMT 2021-11-16 15:28:27 +01:00
Timm Bäder 673d4b6aae Remove -Wno-error=format-security from build
This does not seem necessary anymore.
2021-10-15 08:48:12 +02:00
Tom Stellard 4017b140b6 13.0.0 Release 2021-10-04 15:39:55 +00:00
Tom Stellard 42d50703cc 13.0.0-rc3 Release 2021-09-23 00:04:06 +00:00
Tom Stellard 46cf49758c 13.0.0-rc1 Release 2021-08-10 04:17:24 +00:00
Fedora Release Engineering 49ed7a1009 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 13:02:29 +00:00
Tom Stellard d3469aa6fe 12.0.1 Release 2021-07-15 00:35:26 +00:00
Tom Stellard 59fe5c1411 12.0.0-rc3 Release 2021-07-02 01:27:36 +00:00
serge-sans-paille 67d6847a21 Update gating based on integration test suite 2021-06-28 10:21:09 +02:00
Python Maint 43f83f3e22 Rebuilt for Python 3.10 2021-06-04 20:10:48 +02:00
Tom Stellard d756e6d173 12.0.0-rc1 Release 2021-06-03 17:39:03 +00:00
Tomas Hrnciar 9507ed280d BuildRequire setuptools explicitly
See https://fedoraproject.org/wiki/Changes/Reduce_dependencies_on_python3-setuptools
2021-04-19 13:18:31 +02:00
Tom Stellard 6ad1ba9540 12.0.0 Release 2021-04-17 03:47:13 +00:00
serge-sans-paille 21fb0e698b New upstream release candidate 2021-04-08 14:20:13 +02:00
serge-sans-paille 943a442150 New upstream release candidate 2021-04-02 12:44:10 +02:00
Jonathan Wakely 9595b5d7c7 Rebuilt for removed libstdc++ symbols (#1937698) 2021-03-31 17:34:08 +01:00
serge-sans-paille c7f64b90cc LLVM 12.0.0 rc3 2021-03-11 14:54:45 +01:00
serge-sans-paille e6a17946bc rebuilt 2021-03-11 07:58:52 +01:00
serge-sans-paille 1214bc7966 Cleanup, rename and normalize patch serie 2021-03-10 07:32:42 +01:00
serge-sans-paille 69b4e9a786 Update test regexp 2021-03-02 20:54:50 +01:00
serge-sans-paille b1a0a6d0dc Make python-embedded-interpreter/runtest.sh more debuggable 2021-03-02 14:56:24 +01:00
serge-sans-paille 56faaa0489 Apply upstream D97721 2021-03-02 12:08:29 +01:00
serge-sans-paille 25187bd8f5 Apply upstream D97721 2021-03-02 12:06:17 +01:00
serge-sans-paille 17dae9e2ea Revert "Update CI test"
This reverts commit 76ffb7cb0e.
2021-03-02 11:42:25 +01:00
serge-sans-paille 76ffb7cb0e Update CI test 2021-03-01 18:00:57 +01:00
serge-sans-paille 07b0597d06 12.0.0-rc2 release 2021-02-25 08:01:41 +01:00
serge-sans-paille 2878ee5286 12.0.0-rc1 release 2021-02-17 22:54:22 +01:00
18 changed files with 351 additions and 4406 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

66
.gitignore vendored
View File

@ -1,63 +1,3 @@
/lldb-3.7.1.src.tar.xz
/lldb-3.8.0rc2.src.tar.xz
/lldb-3.8.0rc3.src.tar.xz
/lldb-3.8.0.src.tar.xz
/lldb-3.9.0.src.tar.xz
/lldb-3.9.1.src.tar.xz
/lldb-4.0.0.src.tar.xz
/lldb-4.0.1.src.tar.xz
/lldb-5.0.0.src.tar.xz
/lldb-5.0.1.src.tar.xz
/lldb-6.0.0rc1.src.tar.xz
/lldb-6.0.0rc2.src.tar.xz
/lldb-6.0.0.src.tar.xz
/lldb-6.0.1rc1.src.tar.xz
/lldb-6.0.1.src.tar.xz
/lldb-7.0.0rc1.src.tar.xz
/lldb-7.0.0rc2.src.tar.xz
/lldb-7.0.0rc3.src.tar.xz
/lldb-7.0.0.src.tar.xz
/lldb-7.0.1.src.tar.xz
/lldb-8.0.0rc1.src.tar.xz
/lldb-8.0.0rc2.src.tar.xz
/lldb-8.0.0rc4.src.tar.xz
/lldb-8.0.0.src.tar.xz
/lldb-9.0.0rc3.src.tar.xz
/lldb-9.0.0.src.tar.xz
/lldb-9.0.1.src.tar.xz
/lldb-10.0.0rc1.src.tar.xz
/lldb-10.0.0rc1.src.tar.xz.sig
/lldb-10.0.0rc2.src.tar.xz
/lldb-10.0.0rc2.src.tar.xz.sig
/lldb-10.0.0rc3.src.tar.xz
/lldb-10.0.0rc3.src.tar.xz.sig
/lldb-10.0.0rc4.src.tar.xz
/lldb-10.0.0rc4.src.tar.xz.sig
/lldb-10.0.0rc5.src.tar.xz
/lldb-10.0.0rc5.src.tar.xz.sig
/lldb-10.0.0rc6.src.tar.xz
/lldb-10.0.0rc6.src.tar.xz.sig
/lldb-10.0.0.src.tar.xz
/lldb-10.0.0.src.tar.xz.sig
/lldb-11.0.0rc1.src.tar.xz.sig
/lldb-11.0.0rc1.src.tar.xz
/lldb-11.0.0rc2.src.tar.xz
/lldb-11.0.0rc2.src.tar.xz.sig
/lldb-11.0.0rc3.src.tar.xz
/lldb-11.0.0rc3.src.tar.xz.sig
/lldb-11.0.0rc5.src.tar.xz
/lldb-11.0.0rc5.src.tar.xz.sig
/lldb-11.0.0rc6.src.tar.xz
/lldb-11.0.0rc6.src.tar.xz.sig
/lldb-11.0.0.src.tar.xz
/lldb-11.0.0.src.tar.xz.sig
/lldb-11.0.1rc1.src.tar.xz
/lldb-11.0.1rc1.src.tar.xz.sig
/lldb-11.0.1rc2.src.tar.xz
/lldb-11.0.1rc2.src.tar.xz.sig
/lldb-11.0.1.src.tar.xz
/lldb-11.0.1.src.tar.xz.sig
/lldb-11.1.0rc1.src.tar.xz
/lldb-11.1.0rc1.src.tar.xz.sig
/lldb-11.1.0rc2.src.tar.xz
/lldb-11.1.0rc2.src.tar.xz.sig
/*.tar.xz
/*.tar.xz.sig
/*.src.rpm

View File

@ -1,24 +0,0 @@
From 7ef45eab67114ce1ed136f0666f34aafd0dab89d Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar@redhat.com>
Date: Tue, 14 Mar 2017 14:54:10 -0400
Subject: [PATCH] Fix build with gcc 7
---
include/lldb/Utility/TaskPool.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/lldb/Utility/TaskPool.h b/include/lldb/Utility/TaskPool.h
index 3ad9c7c..bcd8186 100644
--- a/include/lldb/Utility/TaskPool.h
+++ b/include/lldb/Utility/TaskPool.h
@@ -12,6 +12,7 @@
#include <cassert>
#include <cstdint>
+#include <functional>
#include <future>
#include <list>
#include <queue>
--
1.8.3.1

View File

@ -1,35 +0,0 @@
diff -ru lldb-8.0.0rc1.src.orig/lit/CMakeLists.txt lldb-8.0.0rc1.src/lit/CMakeLists.txt
--- lldb-8.0.0rc1.src.orig/lit/CMakeLists.txt 2019-02-13 13:55:19.983186453 +0000
+++ lldb-8.0.0rc1.src/lit/CMakeLists.txt 2019-02-13 13:58:01.783865287 +0000
@@ -19,18 +19,23 @@
list(APPEND LLDB_TEST_DEPS
LLDBUnitTests
- dsymutil
- llc
lldb
lldb-test
- llvm-config
- llvm-mc
- llvm-objcopy
- FileCheck
- count
- not
)
+if (NOT LLDB_BUILT_STANDALONE)
+ list(APPEND LLDB_TEST_DEPS
+ dsymutil
+ llc
+ llvm-config
+ llvm-mc
+ llvm-objcopy
+ FileCheck
+ count
+ not
+ )
+endif()
+
if(TARGET lld)
list(APPEND LLDB_TEST_DEPS lld)
endif()

View File

@ -0,0 +1,30 @@
From fb389f0cd6b4e8996157fa7d7bc347fde7b43656 Mon Sep 17 00:00:00 2001
From: Tulio Magno Quites Machado Filho <tuliom@redhat.com>
Date: Thu, 23 Mar 2023 16:06:10 -0300
Subject: [PATCH] [lldb] Change LLVM_COMMON_CMAKE_UTILS usage
Let LLVM_COMMON_CMAKE_UTILS store the directory where cmake modules are
available and stop assuming its directory structure.
---
lldb/CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lldb/CMakeLists.txt b/lldb/CMakeLists.txt
index 20d584c48bad..7bad2a9928cd 100644
--- a/lldb/CMakeLists.txt
+++ b/lldb/CMakeLists.txt
@@ -1,9 +1,9 @@
cmake_minimum_required(VERSION 3.13.4)
if(NOT DEFINED LLVM_COMMON_CMAKE_UTILS)
- set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
+ set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake/Modules)
endif()
-include(${LLVM_COMMON_CMAKE_UTILS}/Modules/CMakePolicy.cmake
+include(${LLVM_COMMON_CMAKE_UTILS}/CMakePolicy.cmake
NO_POLICY_SCOPE)
# Add path for custom modules.
--
2.39.2

View File

@ -1,321 +0,0 @@
From 8f442727f2e8d6d426ae9cef42434ef538d1ed13 Mon Sep 17 00:00:00 2001
From: Michal Gorny <mgorny@gentoo.org>
Date: Fri, 4 Oct 2019 12:03:03 +0000
Subject: [PATCH] [lldb] [cmake] Support linking against clang-cpp dylib
Link against clang-cpp dylib rather than split libs when
CLANG_LINK_CLANG_DYLIB is enabled.
Differential Revision: https://reviews.llvm.org/D68456
llvm-svn: 373734
---
lldb/cmake/modules/AddLLDB.cmake | 15 +++++++++++++--
lldb/source/Core/CMakeLists.txt | 4 +++-
.../Plugins/ExpressionParser/Clang/CMakeLists.txt | 19 ++++++++++---------
lldb/source/Plugins/Language/ObjC/CMakeLists.txt | 3 ++-
.../ObjC/AppleObjCRuntime/CMakeLists.txt | 3 ++-
.../RenderScript/RenderScriptRuntime/CMakeLists.txt | 3 ++-
lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt | 3 ++-
lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt | 5 +++--
.../Plugins/SymbolFile/NativePDB/CMakeLists.txt | 5 +++--
lldb/source/Plugins/SymbolFile/PDB/CMakeLists.txt | 7 ++++---
lldb/source/Symbol/CMakeLists.txt | 8 +++++---
lldb/tools/lldb-instr/CMakeLists.txt | 2 +-
12 files changed, 50 insertions(+), 27 deletions(-)
diff --git a/lldb/cmake/modules/AddLLDB.cmake b/lldb/cmake/modules/AddLLDB.cmake
index 4c99278..35a8097 100644
--- a/lldb/cmake/modules/AddLLDB.cmake
+++ b/lldb/cmake/modules/AddLLDB.cmake
@@ -37,7 +37,7 @@ function(add_lldb_library name)
cmake_parse_arguments(PARAM
"MODULE;SHARED;STATIC;OBJECT;PLUGIN"
"INSTALL_PREFIX;ENTITLEMENTS"
- "EXTRA_CXXFLAGS;DEPENDS;LINK_LIBS;LINK_COMPONENTS"
+ "EXTRA_CXXFLAGS;DEPENDS;LINK_LIBS;LINK_COMPONENTS;CLANG_LIBS"
${ARGN})
llvm_process_sources(srcs ${PARAM_UNPARSED_ARGUMENTS})
list(APPEND LLVM_LINK_COMPONENTS ${PARAM_LINK_COMPONENTS})
@@ -91,6 +91,12 @@ function(add_lldb_library name)
${pass_ENTITLEMENTS}
${pass_NO_INSTALL_RPATH}
)
+
+ if(CLANG_LINK_CLANG_DYLIB)
+ target_link_libraries(${name} PRIVATE clang-cpp)
+ else()
+ target_link_libraries(${name} PRIVATE ${PARAM_CLANG_LIBS})
+ endif()
endif()
if(PARAM_SHARED)
@@ -132,7 +138,7 @@ function(add_lldb_executable name)
cmake_parse_arguments(ARG
"GENERATE_INSTALL"
"INSTALL_PREFIX;ENTITLEMENTS"
- "LINK_LIBS;LINK_COMPONENTS"
+ "LINK_LIBS;CLANG_LIBS;LINK_COMPONENTS"
${ARGN}
)
@@ -152,6 +158,11 @@ function(add_lldb_executable name)
)
target_link_libraries(${name} PRIVATE ${ARG_LINK_LIBS})
+ if(CLANG_LINK_CLANG_DYLIB)
+ target_link_libraries(${name} PRIVATE clang-cpp)
+ else()
+ target_link_libraries(${name} PRIVATE ${ARG_CLANG_LIBS})
+ endif()
set_target_properties(${name} PROPERTIES FOLDER "lldb executables")
if(ARG_GENERATE_INSTALL)
diff --git a/lldb/source/Core/CMakeLists.txt b/lldb/source/Core/CMakeLists.txt
index 7ca37f9..2e05fa3 100644
--- a/lldb/source/Core/CMakeLists.txt
+++ b/lldb/source/Core/CMakeLists.txt
@@ -58,7 +58,6 @@ add_lldb_library(lldbCore
ValueObjectVariable.cpp
LINK_LIBS
- clangAST
lldbBreakpoint
lldbDataFormatters
lldbExpression
@@ -71,6 +70,9 @@ add_lldb_library(lldbCore
lldbPluginObjCLanguage
${LLDB_CURSES_LIBS}
+ CLANG_LIBS
+ clangDriver
+
LINK_COMPONENTS
Support
Demangle
diff --git a/lldb/source/Plugins/ExpressionParser/Clang/CMakeLists.txt b/lldb/source/Plugins/ExpressionParser/Clang/CMakeLists.txt
index 950dae6..3fc1e0d 100644
--- a/lldb/source/Plugins/ExpressionParser/Clang/CMakeLists.txt
+++ b/lldb/source/Plugins/ExpressionParser/Clang/CMakeLists.txt
@@ -25,6 +25,16 @@ add_lldb_library(lldbPluginExpressionParserClang PLUGIN
${tablegen_deps}
LINK_LIBS
+ lldbCore
+ lldbExpression
+ lldbHost
+ lldbInterpreter
+ lldbSymbol
+ lldbTarget
+ lldbUtility
+ lldbPluginCPlusPlusLanguage
+ lldbPluginCPPRuntime
+ CLANG_LIBS
clangAST
clangCodeGen
clangDriver
@@ -36,15 +46,6 @@ add_lldb_library(lldbPluginExpressionParserClang PLUGIN
clangRewriteFrontend
clangSema
clangSerialization
- lldbCore
- lldbExpression
- lldbHost
- lldbInterpreter
- lldbSymbol
- lldbTarget
- lldbUtility
- lldbPluginCPlusPlusLanguage
- lldbPluginCPPRuntime
LINK_COMPONENTS
Core
ExecutionEngine
diff --git a/lldb/source/Plugins/Language/ObjC/CMakeLists.txt b/lldb/source/Plugins/Language/ObjC/CMakeLists.txt
index afb68d4..ebb96c2 100644
--- a/lldb/source/Plugins/Language/ObjC/CMakeLists.txt
+++ b/lldb/source/Plugins/Language/ObjC/CMakeLists.txt
@@ -22,7 +22,6 @@ add_lldb_library(lldbPluginObjCLanguage PLUGIN
NSString.cpp
LINK_LIBS
- clangAST
lldbCore
lldbDataFormatters
lldbExpression
@@ -32,6 +31,8 @@ add_lldb_library(lldbPluginObjCLanguage PLUGIN
lldbUtility
lldbPluginAppleObjCRuntime
lldbPluginClangCommon
+ CLANG_LIBS
+ clangAST
EXTRA_CXXFLAGS ${EXTRA_CXXFLAGS}
)
diff --git a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/CMakeLists.txt b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/CMakeLists.txt
index 29d9ba1..bcf3240 100644
--- a/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/CMakeLists.txt
+++ b/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/CMakeLists.txt
@@ -9,7 +9,6 @@ add_lldb_library(lldbPluginAppleObjCRuntime PLUGIN
AppleObjCTypeEncodingParser.cpp
LINK_LIBS
- clangAST
lldbBreakpoint
lldbCore
lldbExpression
@@ -20,6 +19,8 @@ add_lldb_library(lldbPluginAppleObjCRuntime PLUGIN
lldbUtility
lldbPluginExpressionParserClang
lldbPluginCPPRuntime
+ CLANG_LIBS
+ clangAST
LINK_COMPONENTS
Support
)
diff --git a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/CMakeLists.txt b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/CMakeLists.txt
index 1a6c499..c122e09 100644
--- a/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/CMakeLists.txt
+++ b/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/CMakeLists.txt
@@ -13,7 +13,6 @@ add_lldb_library(lldbPluginRenderScriptRuntime PLUGIN
${tablegen_deps}
LINK_LIBS
- clangBasic
lldbBreakpoint
lldbCore
lldbDataFormatters
@@ -22,6 +21,8 @@ add_lldb_library(lldbPluginRenderScriptRuntime PLUGIN
lldbInterpreter
lldbSymbol
lldbTarget
+ CLANG_LIBS
+ clangBasic
LINK_COMPONENTS
Core
IRReader
diff --git a/lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt b/lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt
index 6f0d952..dc04693 100644
--- a/lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt
+++ b/lldb/source/Plugins/Platform/MacOSX/CMakeLists.txt
@@ -31,7 +31,6 @@ add_lldb_library(lldbPluginPlatformMacOSX PLUGIN
${PLUGIN_PLATFORM_MACOSX_SOURCES}
LINK_LIBS
- clangBasic
lldbBreakpoint
lldbCore
lldbHost
@@ -41,6 +40,8 @@ add_lldb_library(lldbPluginPlatformMacOSX PLUGIN
lldbUtility
lldbPluginPlatformPOSIX
${OBJC_LIBS}
+ CLANG_LIBS
+ clangBasic
LINK_COMPONENTS
Support
)
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt b/lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt
index cd588cb..69d2d21 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt
+++ b/lldb/source/Plugins/SymbolFile/DWARF/CMakeLists.txt
@@ -36,8 +36,6 @@ add_lldb_library(lldbPluginSymbolFileDWARF PLUGIN
UniqueDWARFASTType.cpp
LINK_LIBS
- clangAST
- clangBasic
lldbCore
lldbExpression
lldbHost
@@ -48,6 +46,9 @@ add_lldb_library(lldbPluginSymbolFileDWARF PLUGIN
lldbPluginObjCLanguage
lldbPluginCPlusPlusLanguage
lldbPluginExpressionParserClang
+ CLANG_LIBS
+ clangAST
+ clangBasic
LINK_COMPONENTS
DebugInfoDWARF
Support
diff --git a/lldb/source/Plugins/SymbolFile/NativePDB/CMakeLists.txt b/lldb/source/Plugins/SymbolFile/NativePDB/CMakeLists.txt
index 52b431d..aaecec4 100644
--- a/lldb/source/Plugins/SymbolFile/NativePDB/CMakeLists.txt
+++ b/lldb/source/Plugins/SymbolFile/NativePDB/CMakeLists.txt
@@ -11,11 +11,12 @@ add_lldb_library(lldbPluginSymbolFileNativePDB PLUGIN
UdtRecordCompleter.cpp
LINK_LIBS
- clangAST
- clangLex
lldbCore
lldbSymbol
lldbUtility
+ CLANG_LIBS
+ clangAST
+ clangLex
LINK_COMPONENTS
DebugInfoCodeView
DebugInfoPDB
diff --git a/lldb/source/Plugins/SymbolFile/PDB/CMakeLists.txt b/lldb/source/Plugins/SymbolFile/PDB/CMakeLists.txt
index 64168d0..79bdce42 100644
--- a/lldb/source/Plugins/SymbolFile/PDB/CMakeLists.txt
+++ b/lldb/source/Plugins/SymbolFile/PDB/CMakeLists.txt
@@ -4,12 +4,13 @@ add_lldb_library(lldbPluginSymbolFilePDB PLUGIN
SymbolFilePDB.cpp
LINK_LIBS
- clangAST
- clangLex
lldbCore
+ lldbPluginSymbolFileNativePDB
lldbSymbol
lldbUtility
- lldbPluginSymbolFileNativePDB
+ CLANG_LIBS
+ clangAST
+ clangLex
LINK_COMPONENTS
DebugInfoPDB
Support
diff --git a/lldb/source/Symbol/CMakeLists.txt b/lldb/source/Symbol/CMakeLists.txt
index 4b922c2..8614172 100644
--- a/lldb/source/Symbol/CMakeLists.txt
+++ b/lldb/source/Symbol/CMakeLists.txt
@@ -47,9 +47,6 @@ add_lldb_library(lldbSymbol
${PLATFORM_SOURCES}
LINK_LIBS
- clangAST
- clangBasic
- clangFrontend
lldbCore
lldbExpression
lldbHost
@@ -61,6 +58,11 @@ add_lldb_library(lldbSymbol
lldbPluginObjCLanguage
lldbPluginObjCRuntime
+ CLANG_LIBS
+ clangAST
+ clangBasic
+ clangFrontend
+
LINK_COMPONENTS
Support
)
diff --git a/lldb/tools/lldb-instr/CMakeLists.txt b/lldb/tools/lldb-instr/CMakeLists.txt
index e3dbeba..8da453b 100644
--- a/lldb/tools/lldb-instr/CMakeLists.txt
+++ b/lldb/tools/lldb-instr/CMakeLists.txt
@@ -1,7 +1,7 @@
add_lldb_tool(lldb-instr
Instrument.cpp
- LINK_LIBS
+ CLANG_LIBS
clangAST
clangBasic
clangCodeGen
--
1.8.3.1

File diff suppressed because it is too large Load Diff

9
gating.yaml Normal file
View File

@ -0,0 +1,9 @@
--- !Policy
product_versions:
- fedora-*
decision_contexts:
- bodhi_update_push_testing
- bodhi_update_push_stable
subject_type: koji_build
rules:
- !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional}

165
lldb.spec
View File

@ -1,20 +1,27 @@
%global rc_ver 2
%global baserelease 3
%global lldb_srcdir %{name}-%{version}%{?rc_ver:rc%{rc_ver}}.src
%global toolchain clang
# Opt out of https://fedoraproject.org/wiki/Changes/fno-omit-frame-pointer
# https://bugzilla.redhat.com/show_bug.cgi?id=2158587
%undefine _include_frame_pointers
%global lldb_version 16.0.1
#global rc_ver 4
%global lldb_srcdir %{name}-%{lldb_version}%{?rc_ver:rc%{rc_ver}}.src
Name: lldb
Version: 11.1.0
Release: %{baserelease}%{?rc_ver:.rc%{rc_ver}}%{?dist}
Version: %{lldb_version}%{?rc_ver:~rc%{rc_ver}}
Release: 1%{?dist}
Summary: Next generation high-performance debugger
License: NCSA
License: Apache-2.0 WITH LLVM-exception OR NCSA
URL: http://lldb.llvm.org/
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{lldb_srcdir}.tar.xz
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{version}%{?rc_ver:-rc%{rc_ver}}/%{lldb_srcdir}.tar.xz.sig
Source2: tstellar-gpg-key.asc
Source0: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{lldb_version}%{?rc_ver:-rc%{rc_ver}}/%{lldb_srcdir}.tar.xz
Source1: https://github.com/llvm/llvm-project/releases/download/llvmorg-%{lldb_version}%{?rc_ver:-rc%{rc_ver}}/%{lldb_srcdir}.tar.xz.sig
Source2: release-keys.asc
BuildRequires: gcc
BuildRequires: gcc-c++
Patch0: 0001-lldb-Change-LLVM_COMMON_CMAKE_UTILS-usage.patch
BuildRequires: clang
BuildRequires: cmake
BuildRequires: ninja-build
BuildRequires: llvm-devel = %{version}
@ -29,6 +36,7 @@ BuildRequires: libxml2-devel
BuildRequires: libedit-devel
BuildRequires: python3-lit
BuildRequires: multilib-rpm-config
BuildRequires: doxygen
Requires: python3-lldb
@ -52,6 +60,7 @@ The package contains header files for the LLDB debugger.
%{?python_provide:%python_provide python3-lldb}
Summary: Python module for LLDB
BuildRequires: python3-devel
BuildRequires: python3-setuptools
Requires: python3-six
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -63,15 +72,14 @@ The package contains the LLDB Python module.
%autosetup -n %{lldb_srcdir} -p2
%build
CFLAGS="%{optflags} -Wno-error=format-security"
CXXFLAGS="%{optflags} -Wno-error=format-security"
%global _lto_cflags -flto=thin
%cmake -GNinja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
-DLLVM_CONFIG:FILEPATH=/usr/bin/llvm-config-%{__isa_bits} \
-DLLVM_COMMON_CMAKE_UTILS=%{_libdir}/cmake/llvm/ \
\
-DLLDB_DISABLE_CURSES:BOOL=OFF \
-DLLDB_DISABLE_LIBEDIT:BOOL=OFF \
@ -127,6 +135,135 @@ rm -f %{buildroot}%{python3_sitearch}/six.*
%{python3_sitearch}/lldb
%changelog
* Thu Apr 13 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.1-1
- Update to LLVM 16.0.1
* Tue Mar 21 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0-1
- Update to LLVM 16.0.0
* Wed Mar 15 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc4-1
- Update to LLVM 16.0.0 RC4
* Thu Feb 23 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc3-1
- Update to LLVM 16.0.0 RC3
* Tue Feb 14 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 16.0.0~rc1-1
- Update to LLVM 16.0.0 RC1
* Thu Jan 19 2023 Tulio Magno Quites Machado Filho <tuliom@redhat.com> - 15.0.7-3
- Include the Apache license adopted in 2019.
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 15.0.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jan 13 2023 Nikita Popov <npopov@redhat.com> - 15.0.7-1
- Update to LLVM 15.0.7
* Thu Jan 12 2023 Tom Stellard <tstellar@redhat.com> - 15.0.6-2
- Omit frame pointers when building
* Tue Dec 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.6-1
- Update to LLVM 15.0.6
* Mon Nov 07 2022 Nikita Popov <npopov@redhat.com> - 15.0.4-1
- Update to LLVM 15.0.4
* Tue Oct 18 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-3
- Fix crash on ppc64le (fix rhbz#2121369)
* Mon Oct 03 2022 sguelton@redhat.com - 15.0.0-2
- Backport compat patches for swig 4.1.0, see rhbz#2128646
* Tue Sep 06 2022 Nikita Popov <npopov@redhat.com> - 15.0.0-1
- Update to LLVM 15.0.0
* Tue Aug 09 2022 Nikita Popov <npopov@redhat.com> - 14.0.5-3
- Fix s390x build
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 14.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 20 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.5-1
- Update to 14.0.5
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 14.0.0-2
- Rebuilt for Python 3.11
* Wed Mar 23 2022 Timm Bäder <tbaeder@redhat.com> - 14.0.0-1
- Update to 14.0.0
* Thu Feb 03 2022 Nikita Popov <npopov@redhat.com> - 13.0.1-1
- Update to LLVM 13.0.1 final
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 13.0.1~rc2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Fri Jan 14 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc2-1
- Update to LLVM 13.0.1rc2
* Wed Jan 12 2022 Nikita Popov <npopov@redhat.com> - 13.0.1~rc1-1
- Update to LLVM 13.0.1rc1
* Fri Oct 01 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0-1
- 13.0.0 Release
* Wed Sep 22 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc3-1
- 13.0.0-rc3 Release
* Mon Aug 09 2021 Tom Stellard <tstellar@redhat.com> - 13.0.0~rc1-1
- 13.0.0-rc1 Release
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 12.0.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Jul 14 2021 Tom Stellard <tstellar@redhat.com> - 12.0.1-1
- 12.0.1 Release
* Thu Jul 01 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0~rc3-1
- 12.0.0-rc3 Release
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 12.0.1~rc1-2
- Rebuilt for Python 3.10
* Thu Jun 03 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0~rc1-1
- 12.0.0-rc1 Release
* Fri Apr 16 2021 Tom Stellard <tstellar@redhat.com> - 12.0.0-1
- 12.0.0 Release
* Thu Apr 08 2021 sguelton@redhat.com - 12.0.0-11.rc5
- New upstream release candidate
* Fri Apr 02 2021 sguelton@redhat.com - 12.0.0-10.rc4
- New upstream release candidate
* Wed Mar 31 2021 Jonathan Wakely <jwakely@redhat.com> - 12.0.0-9.rc3
- Rebuilt for removed libstdc++ symbols (#1937698)
* Thu Mar 11 2021 sguelton@redhat.com - 12.0.0-8.rc3
- LLVM 12.0.0 rc3
* Thu Mar 11 2021 sguelton@redhat.com - 12.0.0-7.rc2
- rebuilt
* Tue Mar 02 2021 sguelton@redhat.com - 12.0.0-6.rc2
- Update test regexp
* Tue Mar 02 2021 sguelton@redhat.com - 12.0.0-5.rc2
- Improve CI debugging
* Tue Mar 02 2021 sguelton@redhat.com - 12.0.0-4.rc2
- Apply upstream D97721
* Mon Mar 01 2021 sguelton@redhat.com - 12.0.0-3.rc2
- Update CI test
* Thu Feb 25 2021 sguelton@redhat.com - 12.0.0-0.2.rc2
- 12.0.0-rc2 release
* Wed Feb 17 2021 sguelton@redhat.com - 12.0.0-0.1.rc1
- 12.0.0-rc1 release
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 11.1.0-3.rc2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

View File

@ -1,92 +0,0 @@
commit 9ad9480c3a380a04b3dbe869c0675d6bba37247b
Author: Kamil Rytarowski <n54@gmx.com>
Date: Thu May 25 20:12:30 2017 +0000
Fix bug #28898
lldb: libedit produces garbled, unusable input on Linux
Apply patch from Christos Zoulas, upstream libedit developer.
It has been tested on NetBSD/amd64.
New code supports combination of wide libedit and disabled
LLDB_EDITLINE_USE_WCHAR, which was the popular case on Linux
systems.
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@303907 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/include/lldb/Host/Editline.h b/include/lldb/Host/Editline.h
index 2b1a8e0..0b75e9c 100644
--- a/include/lldb/Host/Editline.h
+++ b/include/lldb/Host/Editline.h
@@ -82,8 +82,14 @@ using EditLineStringStreamType = std::stringstream;
using EditLineCharType = char;
#endif
+#ifdef EL_CLIENTDATA /* editline with wide support + wide char read function */
+using EditLineGetCharType = wchar_t;
+#else
+using EditLineGetCharType = char;
+#endif
+
typedef int (*EditlineGetCharCallbackType)(::EditLine *editline,
- EditLineCharType *c);
+ EditLineGetCharType *c);
typedef unsigned char (*EditlineCommandCallbackType)(::EditLine *editline,
int ch);
typedef const char *(*EditlinePromptCallbackType)(::EditLine *editline);
@@ -270,7 +276,7 @@ private:
/// Character reading implementation for EditLine that supports our multi-line
/// editing trickery.
- int GetCharacter(EditLineCharType *c);
+ int GetCharacter(EditLineGetCharType *c);
/// Prompt implementation for EditLine.
const char *Prompt();
@@ -323,7 +329,7 @@ private:
/// single or multi-line editing.
void ConfigureEditor(bool multiline);
- bool CompleteCharacter(char ch, EditLineCharType &out);
+ bool CompleteCharacter(char ch, EditLineGetCharType &out);
private:
#if LLDB_EDITLINE_USE_WCHAR
diff --git a/source/Host/common/Editline.cpp b/source/Host/common/Editline.cpp
index 7d4b398..7b580dd 100644
--- a/source/Host/common/Editline.cpp
+++ b/source/Host/common/Editline.cpp
@@ -474,7 +474,7 @@ unsigned char Editline::RecallHistory(bool earlier) {
return CC_NEWLINE;
}
-int Editline::GetCharacter(EditLineCharType *c) {
+int Editline::GetCharacter(EditLineGetCharType *c) {
const LineInfoW *info = el_wline(m_editline);
// Paint a faint version of the desired prompt over the version libedit draws
@@ -969,7 +969,7 @@ void Editline::ConfigureEditor(bool multiline) {
}));
el_wset(m_editline, EL_GETCFN, (EditlineGetCharCallbackType)([](
- EditLine *editline, EditLineCharType *c) {
+ EditLine *editline, EditLineGetCharType *c) {
return Editline::InstanceFor(editline)->GetCharacter(c);
}));
@@ -1360,12 +1360,12 @@ void Editline::PrintAsync(Stream *stream, const char *s, size_t len) {
}
}
-bool Editline::CompleteCharacter(char ch, EditLineCharType &out) {
+bool Editline::CompleteCharacter(char ch, EditLineGetCharType &out) {
#if !LLDB_EDITLINE_USE_WCHAR
if (ch == (char)EOF)
return false;
- out = ch;
+ out = (unsigned char)ch;
return true;
#else
std::codecvt_utf8<wchar_t> cvt;

104
release-keys.asc Normal file
View File

@ -0,0 +1,104 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBGLtemUBDADClvDIromq0Y4TX+wyRyYCq5WusPQheQuY8dVCXd9KhMpYAv8U
X15E5boH/quGpJ0ZlVkWcf+1WUHIrQWlbzQdIx514CDM7DBg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BBgBAgAPBQJa6oE9AhsMBQkB4TOAAAoJEKLHlKmG
QZ2KAaMQALHif2E0PBLVt09vlr4i8jAsQvDrzRajmVPd2B9RpfNU6HJe/y93SZd2
udr9vzgmfd2o5u12vbegKNiMRgp1VyHQDmYlce27jrH5aPuKmos78+o5/p5yPWCv
Rj8zxGKh7le7UPO+7UveKu+bgb3zwTj6bEuHX7fVI+WjGmEH3bbjDGamWxXrpfGc
7+Jr8TN4ZO2OwYBcFOS9U2ZQ6TxrPaCSIm6+j8f+a9HPOuuDc62mMuV/EWQZy0i7
DhDqU2PNpVjQDWQNpHA8oLDrjNFAoJS8gbHABVsFM1VnwBNT2MKcZQmm05dlQ+ll
S6meHNCvTniKIKC+Giz1Yd5JVGDACZWWPxEz6VhpQW/twkxRqwlUdpFt7UgDquTL
M1beQUCZRt81yJTNdrggbhQ2POxOdIO0CPiQv7U1IzndZp6baedeBw4a7FCbj6GY
cQeHxQCrWpQrwigiseG5uhhS9aiaVFEHja9baSLfXlZu/vsR4MdDG5/iEpier/Xw
h1qnpTSY+r31Uw3lTUlPHzlg47PMgPslaIhCzfVggxh9bTqxcDbuYJ7NuoMho3tN
yWfeofTJ7PhKzoXM2Y/rRFoM5gNh1RVA19ngLT5Jwiof8fPZvHJ/9ZkHn+O7eMNm
m5++gYza3pnn2/PoGpGGAKok+sfJiq5Tb7RUefyJTeZiyTZ/XJrA
=tMzl
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,2 +1,2 @@
SHA512 (lldb-11.1.0rc2.src.tar.xz) = 0091a80c591c9321710cf554d16cf3e19c4539503f0b8e1c190b343d60216e72bcfecad792a11b3479d18a3d0c6eb8074d7de03c502d72fa30f00ae67bb1159b
SHA512 (lldb-11.1.0rc2.src.tar.xz.sig) = 8cda4e5beefcc8c9282005360377d39ad34040700adb6ca2dbd2a00309e9098451e77c084af98cd189304f9879ece59aee57106ddc53a045adfeba204ef41dc9
SHA512 (lldb-16.0.1.src.tar.xz) = 1691f8b25e76fa070a3ff4a6b13675e6af9926a5b9039052969a7881f1f478777f92c214df69847d958ae67275b4ff05568420cbc39a2ed5bf8c24b436bac568
SHA512 (lldb-16.0.1.src.tar.xz.sig) = 188266bab767e9ae06dbea00f8c6068f7042a1f89cf54e800fc1c5d6db7dbeccd13f3a9580ba5240088f565b0fdd9dc89fa14f83061171f17b1c295e0c6ca45d

6
tests/README.md Normal file
View File

@ -0,0 +1,6 @@
# Gating testplans for lldb
The tests for lldb are in a separate repo: https://src.fedoraproject.org/tests/lldb
This directory should contain only fmf plans (such as build-gating.fmf) which import
the tests from the tests repo. This can be done using the "url" parameter of the
plan's "discover" step. Reference: https://tmt.readthedocs.io/en/stable/spec/plans.html#fmf

45
tests/build-gating.fmf Normal file
View File

@ -0,0 +1,45 @@
#
# Build/PR gating tests for *LLVM 13*
#
# Compatible with various LLVM 13 distributions:
#
# * Fedora (ursine packages)
# * Centos 9 stream (ursine packages)
# * RHEL-9 (ursine packages)
# * RHEL-8 (Red Hat module)
# * RHEL-7 (software collection)
#
summary: lldb tests for build/PR gating
adjust:
- because: "Plan to be ran when either executed locally, or executed by CI system to gate a build or PR."
when: >-
trigger is defined
and trigger != commit
and trigger != build
enabled: false
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
environment+:
WITH_SCL: "scl enable llvm-toolset-13.0 rust-toolset-1.58"
when: "collection == llvm-toolset-13.0"
- because: "When testing SCL-ized LLVM, the collection must be enabled first"
environment+:
WITH_SCL: "scl enable llvm-toolset-14.0"
when: "collection == llvm-toolset-14.0"
discover:
- name: lldb-tests
how: fmf
url: https://src.fedoraproject.org/tests/lldb.git
ref: main
- name: upstream-llvm-integration-testsuite
how: fmf
url: https://src.fedoraproject.org/tests/llvm.git
ref: main
test: integration-test-suite
execute:
how: tmt
provision:
hardware:
memory: ">= 4 GiB"

View File

@ -1,11 +0,0 @@
#!/bin/bash
set -ex
g++ -g test.cpp
test `lldb -b -o 'breakpoint set --file test.cpp --line 7' -o run -o 'p v' -- a.out \
| grep \
-e '(std::vector<int, std::allocator<int> >) $0 = size=1 {' \
-e '\[0\] = 2' \
| wc -l` -eq 2

View File

@ -1,9 +0,0 @@
#include <stdio.h>
#include <vector>
int
main ()
{
std::vector<int> v (1, 2);
std::vector<int>::iterator it(v.begin());
return 0;
}

View File

@ -1,25 +0,0 @@
- hosts: localhost
pre_tasks:
# We want to be able to check that the sub-package dependencies are correct.
# The CI system installs all sub-packages, so we remove them so we can
# test them individually.
- name: Remove RPMS installed by CI
package:
name:
- python2-lldb
- lldb
- lldb-devel
state: absent
tags: classic
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- gcc-c++
- lldb
tests:
# rhbz#1567262
- python-embedded-interpreter:
dir: python-embedded-interpreter
run: ./runtest.sh

Binary file not shown.