Skip to content

Commit

Permalink
Merged main:f314bcffa3c6 into amd-gfx:6a03356a35ab
Browse files Browse the repository at this point in the history
Local branch amd-gfx 6a03356 Merged main:72e75ca343c6 into amd-gfx:ee99e9976e17
Remote branch main f314bcf [llvm-reduce][test] Make remove-alias.ll CHECK patterns more specific after D90302
  • Loading branch information
Sw authored and Sw committed Dec 21, 2020
2 parents 6a03356 + f314bcf commit de3ec7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
5 changes: 3 additions & 2 deletions lld/MachO/UnwindInfoSection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -318,8 +318,9 @@ void UnwindInfoSection::writeTo(uint8_t *buf) const {
*ep++ = (it->second << COMPRESSED_ENTRY_FUNC_OFFSET_BITS) |
(cuep->functionAddress - functionAddressBase);
}
memcpy(ep, page.localEncodings.data(),
page.localEncodings.size() * sizeof(uint32_t));
if (page.localEncodings.size() != 0)
memcpy(ep, page.localEncodings.data(),
page.localEncodings.size() * sizeof(uint32_t));
} else {
auto *p2p =
reinterpret_cast<unwind_info_regular_second_level_page_header *>(pp);
Expand Down
3 changes: 1 addition & 2 deletions llvm/test/Reduce/remove-alias.ll
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@

; CHECK-INTERESTINGNESS: define void @fn3

; CHECK-FINAL-NOT: global

; CHECK-FINAL-NOT: = {{.*}} global
; CHECK-FINAL-NOT: = alias

; CHECK-FINAL-NOT: @llvm.used
Expand Down

0 comments on commit de3ec7b

Please sign in to comment.