Skip to content

Commit 704e5a9

Browse files
author
Davide Italiano
committed
---
yaml --- r: 348807 b: refs/heads/master c: 0996da0 h: refs/heads/master i: 348805: 0aad346 348803: 9000ac2 348799: eecd3a2
1 parent 4802c6b commit 704e5a9

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: a2e0d08862274c8e2a7fef2e1fa656ac686ac676
2+
refs/heads/master: 0996da0ed291130e66d495129de710e2ef2858fe
33
refs/heads/master-next: 203b3026584ecad859eb328b2e12490099409cd5
44
refs/tags/osx-passed: b6b74147ef8a386f532cf9357a1bde006e552c54
55
refs/tags/swift-2.2-SNAPSHOT-2015-12-01-a: 6bb18e013c2284f2b45f5f84f2df2887dc0f7dea

trunk/include/swift/ABI/Metadata.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -998,6 +998,8 @@ struct TargetClassMetadata : public TargetAnyClassMetadata<Runtime> {
998998
using StoredPointer = typename Runtime::StoredPointer;
999999
using StoredSize = typename Runtime::StoredSize;
10001000

1001+
friend class ReflectionContext;
1002+
10011003
TargetClassMetadata() = default;
10021004
constexpr TargetClassMetadata(const TargetAnyClassMetadata<Runtime> &base,
10031005
ClassFlags flags,

trunk/utils/build-script-impl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2248,6 +2248,13 @@ for host in "${ALL_HOSTS[@]}"; do
22482248
build_tests_this_time=${SWIFT_INCLUDE_TESTS}
22492249
fi
22502250

2251+
if [[ $(is_cross_tools_host ${host}) ]] ; then
2252+
cmake_options=(
2253+
"${cmake_options[@]}"
2254+
-DLLVM_TABLEGEN=$(build_directory "${LOCAL_HOST}" llvm)/bin/llvm-tblgen
2255+
)
2256+
fi
2257+
22512258
# Command-line parameters override any autodetection that we
22522259
# might have done.
22532260
if [[ "${NATIVE_LLVM_TOOLS_PATH}" ]] ; then
@@ -2679,7 +2686,6 @@ for host in "${ALL_HOSTS[@]}"; do
26792686
LIBDISPATCH_BUILD_ARGS=(
26802687
-DFOUNDATION_PATH_TO_LIBDISPATCH_SOURCE=${LIBDISPATCH_SOURCE_DIR}
26812688
-DFOUNDATION_PATH_TO_LIBDISPATCH_BUILD=${LIBDISPATCH_BUILD_DIR}
2682-
-Ddispatch_DIR=${LIBDISPATCH_BUILD_DIR}/cmake/modules
26832689
)
26842690
else
26852691
LIBDISPATCH_BUILD_ARGS=( -DFOUNDATION_ENABLE_LIBDISPATCH=NO )

0 commit comments

Comments
 (0)