https://github.com/wsmoses updated
https://github.com/llvm/llvm-project/pull/71894
>From 4de8e238b6680540f4bc884c66430eb2974512c2 Mon Sep 17 00:00:00 2001
From: Billy Moses
Date: Thu, 9 Nov 2023 02:17:05 +
Subject: [PATCH 1/2] [Clang] add user-level sizeless attribute
---
clang/include/cl
@@ -0,0 +1,9 @@
+// RUN: %clang_cc1 -fprofile-instrument=clang -fcoverage-mapping -emit-llvm
-o - %s | FileCheck %s
+// RUN: %clang_cc1 -mllvm -profile-correlate=binary -fprofile-instrument=clang
-fcoverage-mapping -emit-llvm -o - %s | FileCheck %s
--check-prefix=BIN-CORRELATE
@@ -195,8 +195,14 @@ OPTIONS
.. option:: --debug-info=
Specify the executable or ``.dSYM`` that contains debug info for the raw
profile.
- When ``-debug-info-correlate`` was used for instrumentation, use this option
- to correlate the raw profile.
+ When ``-profile-correlate
@@ -1341,20 +1344,26 @@ void
InstrProfiling::createDataVariable(InstrProfCntrInstBase *Inc,
}
auto *Data =
new GlobalVariable(*M, DataTy, false, Linkage, nullptr, DataVarName);
- // Reference the counter variable with a label difference (link-time
- // constant).
-
@@ -1829,6 +1833,22 @@ void CoverageMappingModuleGen::emit() {
llvm::GlobalValue::InternalLinkage, NamesArrVal,
llvm::getCoverageUnusedNamesVarName());
}
+ const StringRef VarName(INSTR_PROF_QUOTE(INSTR_PROF_RAW_VERSI
@@ -2400,7 +2402,66 @@ bool Type::isWebAssemblyTableType() const {
return false;
}
-bool Type::isSizelessType() const { return isSizelessBuiltinType(); }
+bool Type::isSizelessType() const {
wsmoses wrote:
isIncompleteType has a recursive descent open to su
https://github.com/wsmoses updated
https://github.com/llvm/llvm-project/pull/71894
>From 5feb493573e1809ddf450948bdd3c735bb4b6ffd Mon Sep 17 00:00:00 2001
From: Billy Moses
Date: Thu, 9 Nov 2023 02:17:05 +
Subject: [PATCH] [Clang] add user-level sizeless attribute
---
clang/include/clang/
https://github.com/AntonRydahl updated
https://github.com/llvm/llvm-project/pull/68642
>From f0d93cc6a5cd485c654ab38221691db038bacc7d Mon Sep 17 00:00:00 2001
From: AntonRydahl
Date: Mon, 9 Oct 2023 15:13:22 -0700
Subject: [PATCH 1/9] Merged __is_trivial_equality_predicate and
__is_trivial_plu
@@ -1331,6 +1336,18 @@ static int merge_main(int argc, const char *argv[]) {
"(default: 1)"));
cl::ParseCommandLineOptions(argc, argv, "LLVM profile data merger\n");
+ if (!DebugInfoFilename.empty() && !BinaryFilename.empty()) {
+exitWithError("Expect
@@ -0,0 +1,11 @@
+; RUN: opt < %s -passes=instrprof -profile-correlate=binary -S | FileCheck %s
MaskRay wrote:
This isn't clear how `__profd_foo` is different from `-profile-correlate=none`.
This test can be added to `coverage.ll` as a new RUN line
https://gith
@@ -1331,6 +1336,18 @@ static int merge_main(int argc, const char *argv[]) {
"(default: 1)"));
cl::ParseCommandLineOptions(argc, argv, "LLVM profile data merger\n");
+ if (!DebugInfoFilename.empty() && !BinaryFilename.empty()) {
+exitWithError("Expect
https://github.com/MaskRay commented:
The comment `The data and names sections are omitted in lightweight mode.` in
compiler-rt should be updated since binary correlation is different from the
lightweight mode
https://github.com/llvm/llvm-project/pull/69493
https://github.com/MaskRay edited
https://github.com/llvm/llvm-project/pull/69493
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -46,14 +73,38 @@ const char *InstrProfCorrelator::NumCountersAttributeName =
"Num Counters";
llvm::Expected>
InstrProfCorrelator::Context::get(std::unique_ptr Buffer,
- const object::ObjectFile &Obj) {
+ con
@@ -0,0 +1,46 @@
+// REQUIRES: linux || windows
+// Default
+// RUN: %clang -o %t.normal -fprofile-instr-generate -fcoverage-mapping
-fuse-ld=lld %S/Inputs/instrprof-debug-info-correlate-main.cpp
%S/Inputs/instrprof-debug-info-correlate-foo.cpp
+// RUN: env LLVM_PROFILE_FILE=%t.
@@ -0,0 +1,46 @@
+// REQUIRES: linux || windows
MaskRay wrote:
Add `// REQUIRES: lld-available`
https://github.com/llvm/llvm-project/pull/69493
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm
iains wrote:
> > > > > > Whether we re-use wrapper code or make some new code is an
> > > > > > implementation detail.
> > > > > > It does not actually prevent you from taking the two-phase approach
> > > > > > ( currently , --precompile will be unchanged in action).
> > > > >
> > > > >
> > >
xry111 wrote:
Suggest to add "Fixes #71645" in the message.
https://github.com/llvm/llvm-project/pull/71887
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
xry111 wrote:
cc @MaskRay
https://github.com/llvm/llvm-project/pull/71887
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
MaskRay wrote:
The patch does not apply cleanly at HEAD. The fix-up commit `resolve conflict`
contains the rebased part and a lot of unrelated changes. I think in this case,
it's cleaner to squash all the commits and force push to `binary-correlate`.
(Force push is fine with me:
https://disco
https://github.com/wsmoses updated
https://github.com/llvm/llvm-project/pull/71894
>From 9202857d0100bf8a29c43472a3ce531d9afa4a2b Mon Sep 17 00:00:00 2001
From: Billy Moses
Date: Thu, 9 Nov 2023 02:17:05 +
Subject: [PATCH] [Clang] add user-level sizeless attribute
---
clang/include/clang/
ChuanqiXu9 wrote:
> > > > > > > Whether we re-use wrapper code or make some new code is an
> > > > > > > implementation detail.
> > > > > > > It does not actually prevent you from taking the two-phase
> > > > > > > approach ( currently , --precompile will be unchanged in action).
> > > > > >
>
Author: Owen Pan
Date: 2023-11-09T23:01:48-08:00
New Revision: 5c36f4332d93c6f9bd9b01a34149a635e07a00d3
URL:
https://github.com/llvm/llvm-project/commit/5c36f4332d93c6f9bd9b01a34149a635e07a00d3
DIFF:
https://github.com/llvm/llvm-project/commit/5c36f4332d93c6f9bd9b01a34149a635e07a00d3.diff
LOG:
https://github.com/owenca closed https://github.com/llvm/llvm-project/pull/71755
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/MaskRay edited
https://github.com/llvm/llvm-project/pull/69493
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AntonRydahl updated
https://github.com/llvm/llvm-project/pull/68642
>From f0d93cc6a5cd485c654ab38221691db038bacc7d Mon Sep 17 00:00:00 2001
From: AntonRydahl
Date: Mon, 9 Oct 2023 15:13:22 -0700
Subject: [PATCH 01/10] Merged __is_trivial_equality_predicate and
__is_trivial_p
Author: Fangrui Song
Date: 2023-11-09T23:10:49-08:00
New Revision: 557b064dbfb6da837e1aa40fd481ed6e71e29f2c
URL:
https://github.com/llvm/llvm-project/commit/557b064dbfb6da837e1aa40fd481ed6e71e29f2c
DIFF:
https://github.com/llvm/llvm-project/commit/557b064dbfb6da837e1aa40fd481ed6e71e29f2c.diff
https://github.com/phoebewang closed
https://github.com/llvm/llvm-project/pull/71318
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Phoebe Wang
Date: 2023-11-10T15:21:05+08:00
New Revision: f229ba4e8d6bb24622b2d41b3c89585cb9005d8d
URL:
https://github.com/llvm/llvm-project/commit/f229ba4e8d6bb24622b2d41b3c89585cb9005d8d
DIFF:
https://github.com/llvm/llvm-project/commit/f229ba4e8d6bb24622b2d41b3c89585cb9005d8d.diff
L
phoebewang wrote:
Thanks @KanRobert @e-kud
https://github.com/llvm/llvm-project/pull/71318
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Fangrui Song
Date: 2023-11-09T23:24:51-08:00
New Revision: 50a48d8c26e8a46d2a3ce5ffdda060e851d65dc4
URL:
https://github.com/llvm/llvm-project/commit/50a48d8c26e8a46d2a3ce5ffdda060e851d65dc4
DIFF:
https://github.com/llvm/llvm-project/commit/50a48d8c26e8a46d2a3ce5ffdda060e851d65dc4.diff
Author: Owen Pan
Date: 2023-11-09T23:34:06-08:00
New Revision: a0710e162dac8eb845588779deb39f2b35e5cb88
URL:
https://github.com/llvm/llvm-project/commit/a0710e162dac8eb845588779deb39f2b35e5cb88
DIFF:
https://github.com/llvm/llvm-project/commit/a0710e162dac8eb845588779deb39f2b35e5cb88.diff
LOG:
https://github.com/yota9 edited https://github.com/llvm/llvm-project/pull/71635
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/yota9 closed https://github.com/llvm/llvm-project/pull/71635
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/AntonRydahl updated
https://github.com/llvm/llvm-project/pull/68642
>From f0d93cc6a5cd485c654ab38221691db038bacc7d Mon Sep 17 00:00:00 2001
From: AntonRydahl
Date: Mon, 9 Oct 2023 15:13:22 -0700
Subject: [PATCH 01/11] Merged __is_trivial_equality_predicate and
__is_trivial_p
https://github.com/AntonRydahl updated
https://github.com/llvm/llvm-project/pull/68642
>From f0d93cc6a5cd485c654ab38221691db038bacc7d Mon Sep 17 00:00:00 2001
From: AntonRydahl
Date: Mon, 9 Oct 2023 15:13:22 -0700
Subject: [PATCH 01/12] Merged __is_trivial_equality_predicate and
__is_trivial_p
301 - 336 of 336 matches
Mail list logo