Skip to content

Commit e62327a

Browse files
committed
[Monorepo fixup] reset untracked directory contents to match apple/stable/20190619
The monorepo conversion for the swift/master branch brought in contents in untracked directory that landed after the apple/stable/20190619 branch was cut. This commit fixes this content by resetting the sub-trees to match apple/stable/20190619. Here's how this commit was contructed: Step 1: reset the subtrees to match the apple/stable/20190619 state repos="debuginfo-tests libclc libcxxabi libunwind lld llgo openmp parallel-libs polly pstl" for repo in $repos do git rm -rf $repo > /dev/null latest_commit=$(git rev-list HEAD -n1 -- $repo) tree=$(git rev-parse origin/apple/stable/20190619:$repo) git read-tree --prefix=$repo $tree echo "LATEST COMMIT FOR $repo -p $latest_commit" done Step 2: construct an octopus merge commit with new subtrees tree=$(git write-tree) git commit-tree -p HEAD -p ... -m "[Monorepo fixup] ..." $tree
11 parents 3bcca3a + 559c6e1 + 2abbe2f + 5a14c17 + d8bdb92 + d581dd5 + c0e6b8a + 673e547 + 4a1b95b + acbdd07 + 1b6d6e5 commit e62327a

File tree

933 files changed

+38982
-39362
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

933 files changed

+38982
-39362
lines changed

debuginfo-tests/nrvo-string.cpp

+3-4
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
// RUN: %test_debuginfo %s %t.out
88
//
99
// PR34513
10-
volatile int sideeffect = 0;
11-
void __attribute__((noinline)) stop() { sideeffect++; }
10+
void __attribute__((noinline)) stop() {}
1211

1312
struct string {
1413
string() {}
@@ -19,7 +18,7 @@ struct string {
1918
string get_string() {
2019
string unused;
2120
string result = 3;
22-
// DEBUGGER: break 23
21+
// DEBUGGER: break 22
2322
stop();
2423
return result;
2524
}
@@ -35,7 +34,7 @@ string2 get_string2() {
3534
some_function(result.i);
3635
// Test that the debugger can get the value of result after another
3736
// function is called.
38-
// DEBUGGER: break 39
37+
// DEBUGGER: break 38
3938
stop();
4039
return result;
4140
}

libcxxabi/CMakeLists.txt

+1-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ include(CMakeDependentOption)
4343
include(HandleCompilerRT)
4444

4545
# Define options.
46-
option(LIBCXXABI_ENABLE_EXCEPTIONS
47-
"Provide support for exceptions in the runtime.
48-
When disabled, libc++abi does not support stack unwinding and other exceptions-related features." ON)
46+
option(LIBCXXABI_ENABLE_EXCEPTIONS "Use exceptions." ON)
4947
option(LIBCXXABI_ENABLE_ASSERTIONS "Enable assertions independent of build mode." ON)
5048
option(LIBCXXABI_ENABLE_PEDANTIC "Compile with pedantic enabled." ON)
5149
option(LIBCXXABI_ENABLE_PIC "Build Position-Independent Code, even in static library" ON)

libcxxabi/cmake/Modules/HandleOutOfTreeLLVM.cmake

-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ macro(find_llvm_parts)
99
set(LLVM_PATH ${LLVM_PATH} CACHE PATH "Path to LLVM source tree")
1010
set(LLVM_MAIN_SRC_DIR ${LLVM_PATH})
1111
set(LLVM_CMAKE_PATH "${LLVM_PATH}/cmake/modules")
12-
if (NOT IS_DIRECTORY "${LLVM_PATH}")
13-
message(FATAL_ERROR "The provided LLVM_PATH (${LLVM_PATH}) is not a valid directory")
14-
endif()
1512
elseif(LLVM_CONFIG_PATH)
1613
message(STATUS "Found LLVM_CONFIG_PATH as ${LLVM_CONFIG_PATH}")
1714
set(LIBCXXABI_USING_INSTALLED_LLVM 1)

libcxxabi/include/__cxxabi_config.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,7 @@
7171
#define _LIBCXXABI_NO_CFI
7272
#endif
7373

74-
// wasm32 follows the arm32 ABI convention of using 32-bit guard.
75-
#if defined(__arm__) || defined(__wasm32__)
74+
#if defined(__arm__)
7675
# define _LIBCXXABI_GUARD_ABI_ARM
7776
#endif
7877

0 commit comments

Comments
 (0)