r289890 - [sanitizer] Passthrough CMAKE_OSX_DEPLOYMENT_TARGET and CMAKE_OSX_SYSROOT when building compiler-rt from clang/runtime/CMakeLists.txt

2016-12-15 Thread Kuba Mracek via cfe-commits
Author: kuba.brecka Date: Thu Dec 15 17:20:54 2016 New Revision: 289890 URL: http://llvm.org/viewvc/llvm-project?rev=289890=rev Log: [sanitizer] Passthrough CMAKE_OSX_DEPLOYMENT_TARGET and CMAKE_OSX_SYSROOT when building compiler-rt from clang/runtime/CMakeLists.txt Differential Revision:

r300287 - [ObjC] Fix lifetime markers of loop variable in EmitObjCForCollectionStmt

2017-04-13 Thread Kuba Mracek via cfe-commits
Author: kuba.brecka Date: Thu Apr 13 19:32:43 2017 New Revision: 300287 URL: http://llvm.org/viewvc/llvm-project?rev=300287=rev Log: [ObjC] Fix lifetime markers of loop variable in EmitObjCForCollectionStmt CodeGenFunction::EmitObjCForCollectionStmt currently emits lifetime markers for the loop

r300290 - Revert r300287.

2017-04-13 Thread Kuba Mracek via cfe-commits
Author: kuba.brecka Date: Thu Apr 13 20:00:03 2017 New Revision: 300290 URL: http://llvm.org/viewvc/llvm-project?rev=300290=rev Log: Revert r300287. Modified: cfe/trunk/lib/CodeGen/CGObjC.cpp cfe/trunk/test/CodeGenObjC/arc-foreach.m cfe/trunk/test/CodeGenObjC/arc-ternary-op.m

r299174 - [asan] Turn -fsanitize-address-use-after-scope on by default [clang part]

2017-03-30 Thread Kuba Mracek via cfe-commits
Author: kuba.brecka Date: Thu Mar 30 22:00:09 2017 New Revision: 299174 URL: http://llvm.org/viewvc/llvm-project?rev=299174=rev Log: [asan] Turn -fsanitize-address-use-after-scope on by default [clang part] AddressSanitizer has an optional compile-time flag, -fsanitize-address-use-after-scope,

r300340 - [ObjC] Fix lifetime markers of loop variable in EmitObjCForCollectionStmt [take 2]

2017-04-14 Thread Kuba Mracek via cfe-commits
Author: kuba.brecka Date: Fri Apr 14 11:53:25 2017 New Revision: 300340 URL: http://llvm.org/viewvc/llvm-project?rev=300340=rev Log: [ObjC] Fix lifetime markers of loop variable in EmitObjCForCollectionStmt [take 2] CodeGenFunction::EmitObjCForCollectionStmt currently emits lifetime markers for

Re: r300295 - [docs] UBSan: Mention that print_stacktrace=1 is unsupported on Darwin

2017-04-14 Thread Kuba Mracek via cfe-commits
What exactly is wrong with the fast unwinder? It's used in ASan and TSan and besides not knowing about inlined frames, it works great. But we're almost always dealing with code that has frame pointers (and the sanitizer runtimes themselves are built with frame pointers). Kuba > On 13 Apr

r310952 - Fixup for r310950: Also remove the new instance of %T from html-diags.c

2017-08-15 Thread Kuba Mracek via cfe-commits
Author: kuba.brecka Date: Tue Aug 15 12:54:04 2017 New Revision: 310952 URL: http://llvm.org/viewvc/llvm-project?rev=310952=rev Log: Fixup for r310950: Also remove the new instance of %T from html-diags.c Modified: cfe/trunk/test/Analysis/html-diags.c Modified:

r310950 - [clang] Get rid of "%T" expansions

2017-08-15 Thread Kuba Mracek via cfe-commits
Author: kuba.brecka Date: Tue Aug 15 12:47:06 2017 New Revision: 310950 URL: http://llvm.org/viewvc/llvm-project?rev=310950=rev Log: [clang] Get rid of "%T" expansions The %T lit expansion expands to a common directory shared between all the tests in the same directory, which is unexpected and

r306837 - [objc] Don't require null-check and don't emit memset when result is ignored for struct-returning method calls [clang part]

2017-06-30 Thread Kuba Mracek via cfe-commits
Author: kuba.brecka Date: Fri Jun 30 09:28:15 2017 New Revision: 306837 URL: http://llvm.org/viewvc/llvm-project?rev=306837=rev Log: [objc] Don't require null-check and don't emit memset when result is ignored for struct-returning method calls [clang part] This fixes an issue with the emission

[clang] 33d9c41 - [tsan] Allow TSan in the Clang driver for Apple Silicon Macs

2020-07-24 Thread Kuba Mracek via cfe-commits
Author: Kuba Mracek Date: 2020-07-24T20:14:00-07:00 New Revision: 33d9c4109ac234bcf17501ba16880ce80622cc9c URL: https://github.com/llvm/llvm-project/commit/33d9c4109ac234bcf17501ba16880ce80622cc9c DIFF: https://github.com/llvm/llvm-project/commit/33d9c4109ac234bcf17501ba16880ce80622cc9c.diff

[clang] [clang] Allow __attribute__((swiftcall)) on all targets (PR #71986)

2023-11-10 Thread Kuba Mracek via cfe-commits
https://github.com/kubamracek created https://github.com/llvm/llvm-project/pull/71986 With Embedded Swift, , it becomes possible and useful to produce Swift code for a whole range of CPU targets. This change allows using the 'swiftcall' and

[clang] [clang] Define SwiftInfo for RISCVTargetCodeGenInfo (PR #82152)

2024-02-17 Thread Kuba Mracek via cfe-commits
https://github.com/kubamracek created https://github.com/llvm/llvm-project/pull/82152 For Embedded Swift, let's unblock building for RISC-V boards (e.g. ESP32-C6). This isn't trying to add full RISC-V support to Swift / Embedded Swift, it's just fixing the immediate blocker (not having

[clang] Frontend: sink vendor definitions from Basic to Frontend (PR #80364)

2024-02-03 Thread Kuba Mracek via cfe-commits
@@ -804,6 +804,11 @@ static void InitializePredefinedMacros(const TargetInfo , } } + if (TI.getTriple().getVendor() == Triple::AMD) +Builder.defineMacro("__AMD__"); + if (TI.getTriple().getVendor() == Triple::Apple) +Builder.defineMacro("__APPLE__");

[clang] [clang] Add __has_feature(swiftcc) that checks whether the target supports the Swift calling convention (PR #72159)

2023-11-13 Thread Kuba Mracek via cfe-commits
https://github.com/kubamracek created https://github.com/llvm/llvm-project/pull/72159 None >From 09f8ba20b5f17ed65c1c0ebf8264effce7130b9a Mon Sep 17 00:00:00 2001 From: Kuba Mracek Date: Mon, 13 Nov 2023 13:07:49 -0800 Subject: [PATCH] [clang] Add __has_feature(swiftcc) that checks whether

[clang] [clang] Define SwiftInfo for RISCVTargetCodeGenInfo (PR #82152)

2024-02-26 Thread Kuba Mracek via cfe-commits
https://github.com/kubamracek updated https://github.com/llvm/llvm-project/pull/82152 >From 97e2f9c1c635310da19f89f44a8085c16c3feb94 Mon Sep 17 00:00:00 2001 From: Kuba Mracek Date: Sat, 17 Feb 2024 22:26:21 -0800 Subject: [PATCH] [clang] Define SwiftInfo for RISCVTargetCodeGenInfo ---

[clang] [clang] Define SwiftInfo for RISCVTargetCodeGenInfo (PR #82152)

2024-03-13 Thread Kuba Mracek via cfe-commits
https://github.com/kubamracek closed https://github.com/llvm/llvm-project/pull/82152 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits