- Jan 29, 2020
-
-
Eli Friedman authored
Previously, the enums didn't account for all the possible cases, which could cause misleading results (particularly for a "switch" on FunctionModRefBehavior). Fixes regression in polly from recent patch to add writeonly to memset. While I'm here, also fix a few dubious uses of the FMRB_* enum values. Differential Revision: https://reviews.llvm.org/D73154
-
Benjamin Kramer authored
-
Benjamin Kramer authored
-
Nate Voorhies authored
Summary: Ninja is no longer an experimental tool, documentation changed to reflect this. Reviewers: nikola Reviewed By: nikola Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D73567
-
Jonas Devlieghere authored
-
Benjamin Kramer authored
-
Francis Visoiu Mistrih authored
-
Jonas Devlieghere authored
-
Benjamin Kramer authored
-
Benjamin Kramer authored
-
Jonas Devlieghere authored
-
Jonas Devlieghere authored
Fixes error: unknown type name 'nullptr_t'; did you mean 'std::nullptr_t'.
-
Benjamin Kramer authored
-
Jonas Devlieghere authored
Include the return value in the recording log statements. This helps diagnose uninstrumented (copy assignment) constructors.
-
Benjamin Kramer authored
-
Benjamin Kramer authored
This has the same behavior as converting std::string_view to std::string. This is an expensive conversion, so explicit conversions are helpful for avoiding unneccessary string copies.
-
Shoaib Meenai authored
libc++ on Android needs to be linked against libandroid_support on API levels less than 21 to provide needed functions that aren't in the libc on those platforms (e.g. posix_memalign for libcxxabi). libc++ from the NDK is a linker script that pulls in libandroid_support, but for building libc++ itself, we need to explicitly add libandroid_support as a dependency. Moreover, libc++ headers reference the functions provided by libandroid_support, so it needs to be added as a public dependency. Differential Revision: https://reviews.llvm.org/D73516
-
Shoaib Meenai authored
mlockall and munlockall were introduced in Android API 17, so avoid referencing them on prior versions. Differential Revision: https://reviews.llvm.org/D73515
-
Shoaib Meenai authored
We have to replace the ";" with "|" (since LLVMExternalProjectUtils uses "|" as the `LIST_SEPARATOR` when invoking `ExternalProject_Add`) in order for lists to be passed correctly to the runtimes CMake configures. Remove the special case for `LLVM_ENABLE_RUNTIMES`, since it'll just get handled by the general logic now. Differential Revision: https://reviews.llvm.org/D73512
-
Benjamin Kramer authored
This is how it should've been and brings it more in line with std::string_view. There should be no functional change here. This is mostly mechanical from a custom clang-tidy check, with a lot of manual fixups. It uncovers a lot of minor inefficiencies. This doesn't actually modify StringRef yet, I'll do that in a follow-up.
-
Alex Langford authored
Summary: This method has exactly one call site, which is only actually executed if `ValueObject::IsBaseClass` returns false. However, the first thing that `ValueObject::GetBaseClassPath` does is check if `ValueObject::IsBaseClass` is true. Because this can never be the case, this method always returns false and is therefore effectively dead. Differential Revision: https://reviews.llvm.org/D73517
-
Danilo Carvalho Grael authored
Summary: Add SVE2 mla indexed intrinsics: - smlalb, smalalt, umlalb, umlalt, smlslb, smlslt, umlslb, umlslt. Reviewers: efriedma, sdesmalen, dancgr, cameron.mcinally, c-rhodes, rengolin Subscribers: tschuett, kristof.beyls, hiraditya, rkruppe, arphaman, psnobl, llvm-commits, amehsan Tags: #llvm Differential Revision: https://reviews.llvm.org/D73576
-
Jessica Paquette authored
When the G_BRCOND is fed by a eq or ne G_ICMP, it may be possible to fold a G_AND into the branch by producing a tbnz/tbz instead. This happens when 1. We have a ne/eq G_ICMP feeding into the G_BRCOND 2. The G_ICMP is a comparison against 0 3. One of the operands of the G_AND is a power of 2 constant This is very similar to the code in AArch64TargetLowering::LowerBR_CC. Add opt-and-tbnz-tbz to test this. Differential Revision: https://reviews.llvm.org/D73573
-
Francis Visoiu Mistrih authored
When using -fno-builtin[-<name>], we don't attach the IR attributes to function definitions with no Decl, like the ones created through `CreateGlobalInitOrDestructFunction`. This results in projects using -fno-builtin or -ffreestanding to start seeing symbols like _memset_pattern16. The fix changes the behavior to always add the attribute if LangOptions requests it. Differential Revision: https://reviews.llvm.org/D73495
-
Alex Langford authored
Target is one of the classes responsible for vending ClangASTImporter. Target doesn't need to know anything about ClangASTImporter, so if we instead have ClangPersistentVariables vend it, we can preserve existing behavior while improving layering and removing dependencies from non-plugins to plugins.
-
Mircea Trofin authored
Summary: Small fix - never hurts to have things initialized. Reviewers: davidxl, eraman Reviewed By: davidxl Subscribers: haicheng, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D73420
-
Michael Spang authored
Symbols created for merged external global variables have default visibility. This can break programs when compiling with -Oz -fvisibility=hidden as symbols that should be hidden will be exported at link time. Differential Revision: https://reviews.llvm.org/D73235
-
Hans Wennborg authored
It broke some Chromium tests, so let's revert until it can be fixed; see https://crbug.com/1046362 This reverts commit 2af74e27.
-
Jonas Devlieghere authored
Extend the replay log statement to include the deserialized value.
-
Michał Górny authored
-
Nico Weber authored
-
Nicolas Vasilache authored
-
Alina Sbirlea authored
-
Whitney Tsang authored
Summary: 1. Add assertions. 2. Verify more analyses. These changes are moved out of https://reviews.llvm.org/D73129 to simplify that review. Reviewer: dmgreen, jdoerfert, Meinersbur, kbarton, bmahjour, etiotto Reviewed By: dmgreen Subscribers: fhahn, hiraditya, zzheng, llvm-commits, prithayan, anhtuyen Tag: LLVM Differential Revision: https://reviews.llvm.org/D73204
-
Petr Hosek authored
We have to avoid using a GOT relocation to access the bias variable, setting the hidden visibility achieves that. Differential Revision: https://reviews.llvm.org/D73529
-
Alexandre Ganea authored
This was introduced by 0d17410e and was preventing from compiling with clang-cl on Windows. The problem was that clang-cl detects the triple from the current env vars (was x86_64-pc-windows-msvc19.24.28315 for me, as I happen to always run inside a VS2019 cmd prompt).
-
Sanjay Patel authored
We can handle other patterns here as shown in PR44588.
-
Petr Hosek authored
This is necessary on Windows, otherwise CMake fails. It's not conventional on Windows to use cl for assembly (you'd use ml or ml64 instead), but CMake has a separate ASM_MASM mode for that, and clang-cl works fine for assembly so we'll use that on Windows for consistency. Differential Revision: https://reviews.llvm.org/D73522
-
Ted Woodward authored
Summary: The return address validation in D71372 will fail if the memory permissions can't be determined. Many embedded stubs either don't implement the qMemoryRegionInfo packet, or don't have memory permissions at all. Remove the return from the if clause that calls GetLoadAddressPermissions, so this call failing doesn't cause the step out to abort. Instead, assume that the memory permission check doesn't apply to this type of target. Reviewers: labath, jingham, clayborg, mossberg Reviewed By: labath Subscribers: lldb-commits Tags: #lldb Differential Revision: https://reviews.llvm.org/D72513
-
Roland McGrath authored
Support LeakSanitizer runtime on Fuchsia. Patch By: mcgrathr Differential Revision: https://reviews.llvm.org/D72887
-