Skip to content

[pull] swiftwasm-release/5.3 from swift/release/5.3 #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 26 commits into from
Apr 24, 2020
Merged
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9af1072
[lldb] Update for removal of SourceFile::addImports
hamishknight Apr 13, 2020
f53d12b
[lldb] Resolve imports before manipulating AST
hamishknight Apr 14, 2020
05f5e2a
[AArch64][GlobalISel] Fixup <32b heterogeneous regbanks of G_PHIs jus…
aemerson Feb 24, 2020
750e49c
Revert "[InstCombine] fold zext of masked bit set/clear"
kadircet Jan 8, 2020
803d1b1
[lldb] Update for removal of SourceFile::addImports (#1079)
hamishknight Apr 20, 2020
ca0260d
Merge commit '7733347fca02' from apple/stable/20200108 into swift/master
Apr 21, 2020
7733347
Merge pull request #1086 from apple/pr-61468474
aemerson Apr 21, 2020
e038c78
Merge commit 'b7867f6ff1ec' from apple/stable/20200108 into swift/master
Apr 21, 2020
b7867f6
Merge pull request #1100 from apple/PR-59994008
ahatanaka Apr 21, 2020
87b6ab2
[lldb/Test] Decode stdout and stderr in case it contains Unicode.
JDevlieghere Apr 21, 2020
07e680a
[lldb/Test] XFAIL TestDataFormatterObjCNSError except for gmodules.
JDevlieghere Mar 26, 2020
715aa78
[VirtualFileSystem] Support directory entries in the YAMLVFSWriter
JDevlieghere Mar 27, 2020
83dca65
Re-land "[FileCollector] Add a method to add a whole directory and it…
JDevlieghere Mar 30, 2020
1d9a5be
[lldb/Reproducers] Always collect the whole dSYM in the reproducer
JDevlieghere Mar 30, 2020
a9abe89
Merge commit '150d68ed3f9c' from apple/stable/20200108 into swift/master
Apr 21, 2020
150d68e
Merge pull request #1101 from JDevlieghere/🍒/20200108/2de52422acf0466…
JDevlieghere Apr 21, 2020
724a15c
Implement TypeSystemSwiftTypeRef::GetArrayElementType() (NFC)
adrian-prantl Apr 17, 2020
3666548
Merge pull request #1090 from adrian-prantl/GetArrayElementType
adrian-prantl Apr 21, 2020
c9e31f7
[apple/stable/20200108] Fix ambiguity
JDevlieghere Apr 21, 2020
e8a928d
Unbreak ASan runtime in the simulators.
delcypher Apr 21, 2020
b574910
Add missing call to `Symbolizer::LateInitialize()` in UBSan's standal…
delcypher Apr 21, 2020
c1aa619
Merge pull request #1102 from JDevlieghere/🍒/20200108/1d9a5bea33c6b9b…
JDevlieghere Apr 22, 2020
de1720d
Merge commit 'c1aa61938dd2' from apple/stable/20200108 into swift/master
Apr 22, 2020
c94d846
Merge pull request #1103 from danliew-apple/cherry-pick-62067724
danliew-apple Apr 22, 2020
4ee92ef
Merge pull request #1104 from danliew-apple/cherry-pick-62083617
danliew-apple Apr 22, 2020
dcc89a2
Merge commit '4ee92ef9e7a0' from apple/stable/20200108 into swift/master
Apr 22, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[apple/stable/20200108] Fix ambiguity
Fix error: conditional expression is ambiguous; 'const std::string' (aka
'const basic_string<char, char_traits<char>, allocator<char> >') can be
converted to 'llvm::StringRef' and vice versa.
  • Loading branch information
JDevlieghere committed Apr 21, 2020
commit c9e31f78b125d69677ac4d02d80ed7eccb07dc7f
8 changes: 4 additions & 4 deletions llvm/lib/Support/VirtualFileSystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2010,8 +2010,8 @@ void JSONWriter::write(ArrayRef<YAMLVFSEntry> Entries,
if (!Entries.empty()) {
const YAMLVFSEntry &Entry = Entries.front();
bool first_entry_is_directory = Entry.IsDirectory;
StringRef Dir =
first_entry_is_directory ? Entry.VPath : path::parent_path(Entry.VPath);
StringRef Dir = first_entry_is_directory ? StringRef(Entry.VPath)
: path::parent_path(Entry.VPath);
startDirectory(Dir);

StringRef RPath = Entry.RPath;
Expand All @@ -2026,8 +2026,8 @@ void JSONWriter::write(ArrayRef<YAMLVFSEntry> Entries,
writeEntry(path::filename(Entry.VPath), RPath);

for (const auto &Entry : Entries.slice(1)) {
StringRef Dir =
Entry.IsDirectory ? Entry.VPath : path::parent_path(Entry.VPath);
StringRef Dir = Entry.IsDirectory ? StringRef(Entry.VPath)
: path::parent_path(Entry.VPath);
if (Dir == DirStack.back()) {
if (!first_entry_is_directory) {
OS << ",\n";
Expand Down