@@ -28,6 +28,7 @@ set(LLVM_STATIC_LINK_CXX_STDLIB ON CACHE BOOL "")
set(LLVM_USE_RELATIVE_PATHS_IN_FILES ON CACHE BOOL "")
set(LLDB_ENABLE_CURSES OFF CACHE BOOL "")
set(LLDB_ENABLE_LIBEDIT OFF CACHE BOOL "")
+set(LIBCXX_TEST_PARAMS "std=c++23" CACHE STRING "")
@@ -136,6 +136,7 @@ if(WIN32 OR LLVM_WINSYSROOT)
set(RUNTIMES_${target}_CMAKE_EXE_LINKER_FLAGS ${WINDOWS_LINK_FLAGS} CACHE
STRING "")
set(RUNTIMES_${target}_CMAKE_SHARED_LINKER_FLAGS ${WINDOWS_LINK_FLAGS} CACHE
STRING "")
set(RUNTIMES_${target}_CMAKE_MODULE_LINKER_FLAGS
@@ -4401,13 +4413,18 @@ Execute ``clang-cl /?`` to see a list of supported
options:
Instrument only functions from files where names
don't match all the regexes separated by a semi-colon
-fprofile-filter-files=
@@ -4401,13 +4413,18 @@ Execute ``clang-cl /?`` to see a list of supported
options:
Instrument only functions from files where names
don't match all the regexes separated by a semi-colon
-fprofile-filter-files=
@@ -4401,13 +4413,18 @@ Execute ``clang-cl /?`` to see a list of supported
options:
Instrument only functions from files where names
don't match all the regexes separated by a semi-colon
-fprofile-filter-files=
=?utf-8?q?Andr=C3=A9s?= Villegas ,
=?utf-8?q?Andr=C3=A9s?= Villegas
Message-ID:
In-Reply-To:
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/73194
___
cfe-commits mailing list
cfe-commits@lists.llvm
@@ -138,10 +164,34 @@ static const VersionTuple MultilibVersionCurrent(1, 0);
struct MultilibSerialization {
std::string Dir;
std::vector Flags;
+ std::string Group;
+};
+
+struct MultilibGroupSerialization {
+ /*
+ * Future directions:
+ *
+ * If it's needed in fut
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/69447
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -4401,13 +4415,21 @@ Execute ``clang-cl /?`` to see a list of supported
options:
Instrument only functions from files where names
don't match all the regexes separated by a semi-colon
-fprofile-filter-files=
@@ -4401,13 +4415,21 @@ Execute ``clang-cl /?`` to see a list of supported
options:
Instrument only functions from files where names
don't match all the regexes separated by a semi-colon
-fprofile-filter-files=
@@ -4401,13 +4413,18 @@ Execute ``clang-cl /?`` to see a list of supported
options:
Instrument only functions from files where names
don't match all the regexes separated by a semi-colon
-fprofile-filter-files=
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/73845
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
petrhosek wrote:
This appears to have broken the LSan build which is now failing with the
following error:
```
FAILED:
compiler-rt/lib/lsan/CMakeFiles/clang_rt.lsan_osx_dynamic.dir/lsan_malloc_mac.cpp.o
/Volumes/Work/s/w/ir/x/w/llvm_build/./bin/clang++
--target=x86_64-apple-darwin22.6.0
--s
https://github.com/petrhosek created
https://github.com/llvm/llvm-project/pull/76849
This contains compiler-rt builtins and llvm-libc for baremetal use.
Differential Revision: https://reviews.llvm.org/D155337
>From 01dd937d31d398188e0f7c39d2318375e761a3ba Mon Sep 17 00:00:00 2001
From: Petr Ho
https://github.com/petrhosek updated
https://github.com/llvm/llvm-project/pull/76849
>From 0cb22bea1e724ca62306081da2ae97bbcc395a86 Mon Sep 17 00:00:00 2001
From: Petr Hosek
Date: Fri, 9 Jun 2023 07:17:13 +
Subject: [PATCH] [CMake] Include riscv32-unknown-elf runtimes in Fuchsia
toolchain
https://github.com/petrhosek closed
https://github.com/llvm/llvm-project/pull/76849
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Petr Hosek
Date: 2024-01-08T03:29:30Z
New Revision: a90ed3e8a4ea8c5238fd660bbac0371366afe3b5
URL:
https://github.com/llvm/llvm-project/commit/a90ed3e8a4ea8c5238fd660bbac0371366afe3b5
DIFF:
https://github.com/llvm/llvm-project/commit/a90ed3e8a4ea8c5238fd660bbac0371366afe3b5.diff
LOG: Re
petrhosek wrote:
I'd also prefer to make this configurable, we're using our own corpus which in
my experiments both produces better results and takes less time than
`check-llvm` and `check-clang`.
We should also consider updating the documentation since I don't think that
`check-llvm` and `ch
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/77035
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/77534
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/77687
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
Author: Petr Hosek
Date: 2022-06-29T20:41:19Z
New Revision: 2482b3a9679ed2d92abbdbae6927e022903acc70
URL:
https://github.com/llvm/llvm-project/commit/2482b3a9679ed2d92abbdbae6927e022903acc70
DIFF:
https://github.com/llvm/llvm-project/commit/2482b3a9679ed2d92abbdbae6927e022903acc70.diff
LOG: [D
Author: Petr Hosek
Date: 2022-06-29T21:41:47Z
New Revision: ff093c0a5d292b3076d712b277e6996158b1218e
URL:
https://github.com/llvm/llvm-project/commit/ff093c0a5d292b3076d712b277e6996158b1218e
DIFF:
https://github.com/llvm/llvm-project/commit/ff093c0a5d292b3076d712b277e6996158b1218e.diff
LOG: Re
Author: Petr Hosek
Date: 2022-06-30T03:33:40Z
New Revision: 75113f3539df03625b43754f17f9a570cc1c2e3b
URL:
https://github.com/llvm/llvm-project/commit/75113f3539df03625b43754f17f9a570cc1c2e3b
DIFF:
https://github.com/llvm/llvm-project/commit/75113f3539df03625b43754f17f9a570cc1c2e3b.diff
LOG: [D
Author: Petr Hosek
Date: 2022-07-01T17:24:00Z
New Revision: 6213dba19fc0d65ab8b366b6d78c56cbd63c9d7d
URL:
https://github.com/llvm/llvm-project/commit/6213dba19fc0d65ab8b366b6d78c56cbd63c9d7d
DIFF:
https://github.com/llvm/llvm-project/commit/6213dba19fc0d65ab8b366b6d78c56cbd63c9d7d.diff
LOG: [C
Author: Petr Hosek
Date: 2022-07-02T04:51:16Z
New Revision: 68050c235432eeb5cfe9b58609cecc3efd13f567
URL:
https://github.com/llvm/llvm-project/commit/68050c235432eeb5cfe9b58609cecc3efd13f567
DIFF:
https://github.com/llvm/llvm-project/commit/68050c235432eeb5cfe9b58609cecc3efd13f567.diff
LOG: Re
Author: Petr Hosek
Date: 2022-07-06T17:17:40Z
New Revision: d34ce04f98c387aa86c13cb502e3e2a8a4d8f38b
URL:
https://github.com/llvm/llvm-project/commit/d34ce04f98c387aa86c13cb502e3e2a8a4d8f38b
DIFF:
https://github.com/llvm/llvm-project/commit/d34ce04f98c387aa86c13cb502e3e2a8a4d8f38b.diff
LOG: [C
Author: Petr Hosek
Date: 2022-07-08T22:10:24Z
New Revision: df90d22704d8743746fa00bc6d67e2789ca9ee9e
URL:
https://github.com/llvm/llvm-project/commit/df90d22704d8743746fa00bc6d67e2789ca9ee9e
DIFF:
https://github.com/llvm/llvm-project/commit/df90d22704d8743746fa00bc6d67e2789ca9ee9e.diff
LOG: [C
Author: Petr Hosek
Date: 2022-07-09T17:08:35Z
New Revision: d3dd6e57fe84e90cadcdc78fa71d632f6573f156
URL:
https://github.com/llvm/llvm-project/commit/d3dd6e57fe84e90cadcdc78fa71d632f6573f156
DIFF:
https://github.com/llvm/llvm-project/commit/d3dd6e57fe84e90cadcdc78fa71d632f6573f156.diff
LOG: [F
Author: Petr Hosek
Date: 2022-07-09T18:15:04Z
New Revision: a8e6056e24173167fa8d3a588982f36ba83312bd
URL:
https://github.com/llvm/llvm-project/commit/a8e6056e24173167fa8d3a588982f36ba83312bd
DIFF:
https://github.com/llvm/llvm-project/commit/a8e6056e24173167fa8d3a588982f36ba83312bd.diff
LOG: [C
Author: Petr Hosek
Date: 2022-08-04T17:43:16Z
New Revision: ea50901aa9e58fe3750df3e38471e65b027317fc
URL:
https://github.com/llvm/llvm-project/commit/ea50901aa9e58fe3750df3e38471e65b027317fc
DIFF:
https://github.com/llvm/llvm-project/commit/ea50901aa9e58fe3750df3e38471e65b027317fc.diff
LOG: [c
Author: Petr Hosek
Date: 2022-03-11T15:43:01-08:00
New Revision: 0c0f6cfb7b9fab0ee69ef67ed95c194698c9d794
URL:
https://github.com/llvm/llvm-project/commit/0c0f6cfb7b9fab0ee69ef67ed95c194698c9d794
DIFF:
https://github.com/llvm/llvm-project/commit/0c0f6cfb7b9fab0ee69ef67ed95c194698c9d794.diff
LO
Author: Petr Hosek
Date: 2022-03-11T15:43:01-08:00
New Revision: 0c0f6cfb7b9fab0ee69ef67ed95c194698c9d794
URL:
https://github.com/llvm/llvm-project/commit/0c0f6cfb7b9fab0ee69ef67ed95c194698c9d794
DIFF:
https://github.com/llvm/llvm-project/commit/0c0f6cfb7b9fab0ee69ef67ed95c194698c9d794.diff
LO
Author: Petr Hosek
Date: 2022-03-14T19:21:09-07:00
New Revision: 1b6ff3f4f89e06af17575627fba3e6d90d1abbc5
URL:
https://github.com/llvm/llvm-project/commit/1b6ff3f4f89e06af17575627fba3e6d90d1abbc5
DIFF:
https://github.com/llvm/llvm-project/commit/1b6ff3f4f89e06af17575627fba3e6d90d1abbc5.diff
LO
Author: Petr Hosek
Date: 2022-03-16T10:10:15-07:00
New Revision: 67f53708b273d1665917598ad70f1958045554ee
URL:
https://github.com/llvm/llvm-project/commit/67f53708b273d1665917598ad70f1958045554ee
DIFF:
https://github.com/llvm/llvm-project/commit/67f53708b273d1665917598ad70f1958045554ee.diff
LO
Author: Petr Hosek
Date: 2022-03-18T10:09:13-07:00
New Revision: 0f9a855e7c1a55fee881ec5061c8b139ad45ba4f
URL:
https://github.com/llvm/llvm-project/commit/0f9a855e7c1a55fee881ec5061c8b139ad45ba4f
DIFF:
https://github.com/llvm/llvm-project/commit/0f9a855e7c1a55fee881ec5061c8b139ad45ba4f.diff
LO
Author: Petr Hosek
Date: 2022-03-18T10:09:57-07:00
New Revision: a014cb865042872521ea2dcdf2bb2730de5dadde
URL:
https://github.com/llvm/llvm-project/commit/a014cb865042872521ea2dcdf2bb2730de5dadde
DIFF:
https://github.com/llvm/llvm-project/commit/a014cb865042872521ea2dcdf2bb2730de5dadde.diff
LO
Author: Petr Hosek
Date: 2022-03-21T18:32:03-07:00
New Revision: c624cc252738c30ada3f00a498e971a7a3a84196
URL:
https://github.com/llvm/llvm-project/commit/c624cc252738c30ada3f00a498e971a7a3a84196
DIFF:
https://github.com/llvm/llvm-project/commit/c624cc252738c30ada3f00a498e971a7a3a84196.diff
LO
Author: Petr Hosek
Date: 2022-03-21T18:33:50-07:00
New Revision: 7f7f4be78abcad4558367b22693ea55cfc5bb547
URL:
https://github.com/llvm/llvm-project/commit/7f7f4be78abcad4558367b22693ea55cfc5bb547
DIFF:
https://github.com/llvm/llvm-project/commit/7f7f4be78abcad4558367b22693ea55cfc5bb547.diff
LO
Author: Petr Hosek
Date: 2022-03-22T01:06:30-07:00
New Revision: abe997bb2dd61188784954ae866352740629985d
URL:
https://github.com/llvm/llvm-project/commit/abe997bb2dd61188784954ae866352740629985d
DIFF:
https://github.com/llvm/llvm-project/commit/abe997bb2dd61188784954ae866352740629985d.diff
LO
Author: Petr Hosek
Date: 2022-04-06T22:48:17-07:00
New Revision: ff78d25b8e1c2367a8b06ec40960ce8220c1e2d2
URL:
https://github.com/llvm/llvm-project/commit/ff78d25b8e1c2367a8b06ec40960ce8220c1e2d2
DIFF:
https://github.com/llvm/llvm-project/commit/ff78d25b8e1c2367a8b06ec40960ce8220c1e2d2.diff
LO
Author: Petr Hosek
Date: 2022-04-19T19:27:46-07:00
New Revision: af21445ea87021a1bb0a870a2d63cee27f57b43e
URL:
https://github.com/llvm/llvm-project/commit/af21445ea87021a1bb0a870a2d63cee27f57b43e
DIFF:
https://github.com/llvm/llvm-project/commit/af21445ea87021a1bb0a870a2d63cee27f57b43e.diff
LO
Author: Petr Hosek
Date: 2022-04-26T23:46:56-07:00
New Revision: 19190cc651ef153c308d23fb56f064223b144488
URL:
https://github.com/llvm/llvm-project/commit/19190cc651ef153c308d23fb56f064223b144488
DIFF:
https://github.com/llvm/llvm-project/commit/19190cc651ef153c308d23fb56f064223b144488.diff
LO
Author: Petr Hosek
Date: 2022-04-27T11:24:41-07:00
New Revision: 2d0c897212d0551966b26eae986209ea31c4f032
URL:
https://github.com/llvm/llvm-project/commit/2d0c897212d0551966b26eae986209ea31c4f032
DIFF:
https://github.com/llvm/llvm-project/commit/2d0c897212d0551966b26eae986209ea31c4f032.diff
LO
Author: Petr Hosek
Date: 2022-04-27T11:41:41-07:00
New Revision: 82aa5e2c6fe9ffbd637d421a799deffa0d90d7bf
URL:
https://github.com/llvm/llvm-project/commit/82aa5e2c6fe9ffbd637d421a799deffa0d90d7bf
DIFF:
https://github.com/llvm/llvm-project/commit/82aa5e2c6fe9ffbd637d421a799deffa0d90d7bf.diff
LO
Author: Petr Hosek
Date: 2022-04-29T15:38:51-07:00
New Revision: 4bdb505d62659491b8b935e0c2e19584839eab74
URL:
https://github.com/llvm/llvm-project/commit/4bdb505d62659491b8b935e0c2e19584839eab74
DIFF:
https://github.com/llvm/llvm-project/commit/4bdb505d62659491b8b935e0c2e19584839eab74.diff
LO
Author: Petr Hosek
Date: 2022-05-06T13:27:10-07:00
New Revision: 7f0e741db97c64b4a566d65b878c2e0fe4dabb38
URL:
https://github.com/llvm/llvm-project/commit/7f0e741db97c64b4a566d65b878c2e0fe4dabb38
DIFF:
https://github.com/llvm/llvm-project/commit/7f0e741db97c64b4a566d65b878c2e0fe4dabb38.diff
LO
Author: Petr Hosek
Date: 2022-05-06T16:55:05-07:00
New Revision: 57636c25904e05c6b94370c82e52a89f5baf80f1
URL:
https://github.com/llvm/llvm-project/commit/57636c25904e05c6b94370c82e52a89f5baf80f1
DIFF:
https://github.com/llvm/llvm-project/commit/57636c25904e05c6b94370c82e52a89f5baf80f1.diff
LO
Author: Petr Hosek
Date: 2022-07-11T21:45:42Z
New Revision: 0ed8d8209584daa5ff30aae51b5396d05d7aa997
URL:
https://github.com/llvm/llvm-project/commit/0ed8d8209584daa5ff30aae51b5396d05d7aa997
DIFF:
https://github.com/llvm/llvm-project/commit/0ed8d8209584daa5ff30aae51b5396d05d7aa997.diff
LOG: [D
Author: Petr Hosek
Date: 2022-05-13T10:47:12-07:00
New Revision: 534f6604200137bd4d84d3c91ea7f68bf132197d
URL:
https://github.com/llvm/llvm-project/commit/534f6604200137bd4d84d3c91ea7f68bf132197d
DIFF:
https://github.com/llvm/llvm-project/commit/534f6604200137bd4d84d3c91ea7f68bf132197d.diff
LO
Author: Petr Hosek
Date: 2022-05-18T18:14:42Z
New Revision: e64722f686bd8a6d0c2c099ce6fb90e84f51341d
URL:
https://github.com/llvm/llvm-project/commit/e64722f686bd8a6d0c2c099ce6fb90e84f51341d
DIFF:
https://github.com/llvm/llvm-project/commit/e64722f686bd8a6d0c2c099ce6fb90e84f51341d.diff
LOG: [C
@@ -1621,8 +1621,15 @@ function(add_unittest test_suite test_name)
# The runtime benefits of LTO don't outweight the compile time costs for
tests.
if(LLVM_ENABLE_LTO)
if((UNIX OR MINGW) AND LINKER_IS_LLD)
- set_property(TARGET ${test_name} APPEND_STRING PROPERTY
-
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/80480
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/85891
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
petrhosek wrote:
> @petrhosek Is there a way to pass flags only to the runtimes portion of the
> build within the normal workflow? I know we have
> `-DRUNTIMES_x86_64-unknown-linux-gnu_CMAKE_CXX_COMPILE_FLAGS=` that might
> work, but I don't think this is respected if we're using the `default`
@@ -49,3 +49,62 @@ if ((MINGW OR CYGWIN) AND BUILD_SHARED_LIBS)
# despite potential dllexports.
target_link_options(clangInterpreter PRIVATE LINKER:--export-all-symbols)
endif()
+
+if(MSVC)
+ set_target_properties(clangInterpreter PROPERTIES WINDOWS_EXPORT_ALL_SYMBOLS
1)
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/81207
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -26,9 +30,23 @@ if(LLVM_BUILD_INSTRUMENTED)
message(STATUS "To enable merging PGO data LLVM_PROFDATA has to point to
llvm-profdata")
else()
add_custom_target(generate-profdata
- COMMAND "${Python3_EXECUTABLE}"
${CMAKE_CURRENT_SOURCE_DIR}/perf-helper.py merge
https://github.com/petrhosek updated
https://github.com/llvm/llvm-project/pull/83949
>From 8c5829c6eb9607152b85dd0e99ccb39770d536fd Mon Sep 17 00:00:00 2001
From: Petr Hosek
Date: Mon, 6 Mar 2023 19:31:13 +
Subject: [PATCH] [Fuchsia] Include baremetal ARM builtins and libc
For now we only
@@ -300,10 +300,43 @@ if(FUCHSIA_SDK)
set(LLVM_RUNTIME_MULTILIB_hwasan+noexcept_TARGETS
"aarch64-unknown-fuchsia;riscv64-unknown-fuchsia" CACHE STRING "")
endif()
+foreach(target armv6m-unknown-eabi)
+ list(APPEND BUILTIN_TARGETS "${target}")
+ set(BUILTINS_${target}_CMAK
https://github.com/petrhosek closed
https://github.com/llvm/llvm-project/pull/83949
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
petrhosek wrote:
I agree with @MaskRay that prior to this change the BareMetal driver was using
a logic that was inconsistent with all other drivers and not something we
intend to support. The correct solution is to extend the BareMetal driver to
support `multilib.yaml` for Clang runtime libra
https://github.com/petrhosek updated
https://github.com/llvm/llvm-project/pull/84671
>From 1b71ce0ece77060591edaf69794e184d58ad9b15 Mon Sep 17 00:00:00 2001
From: huqizhi
Date: Sun, 10 Mar 2024 16:11:18 +0800
Subject: [PATCH] [Clang][Sema] Fix a bug on type constraint checking
---
clang/docs/
petrhosek wrote:
> Do you know a libc implementation that actually implements `%k` `%r` and who
> are the potential users? From a quick glance, gcc avr supports fixed-point
> types but avr-libc doesn't seem to support %k %r.
LLVM-libc will support them soon, PR should be coming next week. We h
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/82855
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2981,6 +2981,10 @@ class ASTContext : public RefCountedBase {
// corresponding saturated type for a given fixed point type.
QualType getCorrespondingSaturatedType(QualType Ty) const;
+ // Per ISO N1169, this method accepts fixed point types and returns the
---
https://github.com/petrhosek deleted
https://github.com/llvm/llvm-project/pull/82855
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -2981,6 +2981,10 @@ class ASTContext : public RefCountedBase {
// corresponding saturated type for a given fixed point type.
QualType getCorrespondingSaturatedType(QualType Ty) const;
+ // Per ISO N1169, this method accepts fixed point types and returns the
+ // corre
@@ -1282,8 +1283,14 @@ class SegmentBuilder {
// value for that area.
// We add counts of the regions of the same kind as the active region
// to handle the both situations.
- if (I->Kind == Active->Kind)
-Active->ExecutionCount += I->ExecutionCou
https://github.com/petrhosek created
https://github.com/llvm/llvm-project/pull/83949
For now we only include the armv6m-unknown-eabi target but we plan to include
more targets in the future (including multilibs).
>From 7924ab437a5df81aa5d5481541ad4979335f5a9b Mon Sep 17 00:00:00 2001
From: Pet
@@ -1251,6 +1253,10 @@ elseif(LLVM_ENABLE_LTO)
endif()
endif()
+if(LLVM_ENABLE_FATLTO AND (FUCHSIA OR UNIX))
+append("-ffat-lto-objects" CMAKE_EXE_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS)
petrhosek wrote:
I'd also include the flag in `CMAKE_MODULE_LINKE
@@ -1621,8 +1621,15 @@ function(add_unittest test_suite test_name)
# The runtime benefits of LTO don't outweight the compile time costs for
tests.
if(LLVM_ENABLE_LTO)
if((UNIX OR MINGW) AND LINKER_IS_LLD)
- set_property(TARGET ${test_name} APPEND_STRING PROPERTY
-
@@ -1251,6 +1253,10 @@ elseif(LLVM_ENABLE_LTO)
endif()
endif()
+if(LLVM_ENABLE_FATLTO AND (FUCHSIA OR UNIX))
+append("-ffat-lto-objects" CMAKE_EXE_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS)
petrhosek wrote:
I think you also need to append this flag to `CM
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/80763
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -1,6 +1,10 @@
+include(LLVMExternalProjectUtils)
+
set(CLANG_PGO_TRAINING_DATA "${CMAKE_CURRENT_SOURCE_DIR}" CACHE PATH
"The path to a lit testsuite containing samples for PGO and order file
generation"
)
+set(CLANG_PGO_TRAINING_DATA_SOURCE_DIR OFF CACHE STRING "Path to
@@ -30,26 +30,28 @@ def findFilesWithExtension(path, extension):
def clean(args):
-if len(args) != 2:
+if len(args) < 2:
print(
-"Usage: %s clean \n" % __file__
+"Usage: %s clean \n" % __file__
+ "\tRemoves all files wit
@@ -15,7 +19,7 @@ if(LLVM_BUILD_INSTRUMENTED)
)
petrhosek wrote:
Looks like I added that in https://reviews.llvm.org/D138974 but I'm not aware
of it being used anywhere at the moment. I'd still prefer renaming it to
`CLANG_PGO_TRAINING_DEPS` for consistenc
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/78879
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
petrhosek wrote:
I tried this branch on our Windows builders although I'm not sure if it's
related or not to this patch:
```
# COMPILED WITH
C:/b/s/w/ir/x/w/llvm_build/./bin/clang-cl.exe
C:\b\s\w\ir\x\w\github-H-G-Hristov-llvm-project\libcxx\test\libcxx\fuzzing\random.pass.cpp
--driver-mode=g+
petrhosek wrote:
> @petrhosek @ldionne would it be better detect libunwind in
> LLVM_ENABLE_RUNTIMES?
>
> Asking because we have similar thing in compiler-rt, e.g. for lld, and I am
> not sure which approach is better: There are trade offs:
>
> 1. checking LLVM_ENABLE_RUNTIMES simplify end us
@@ -26,9 +30,23 @@ if(LLVM_BUILD_INSTRUMENTED)
message(STATUS "To enable merging PGO data LLVM_PROFDATA has to point to
llvm-profdata")
else()
add_custom_target(generate-profdata
- COMMAND "${Python3_EXECUTABLE}"
${CMAKE_CURRENT_SOURCE_DIR}/perf-helper.py merge
https://github.com/petrhosek created
https://github.com/llvm/llvm-project/pull/78323
This contains compiler-rt builtins and llvm-libc for baremetal use.
Differential Revision: https://reviews.llvm.org/D155337
>From 900df95c16d8bef6f9758cd53db39bb885097cc7 Mon Sep 17 00:00:00 2001
From: Petr Ho
petrhosek wrote:
This is a reland of 78550bef98347bccbf0e8e5fb66dc59718fc35ec, the
cross-compilation issues should be resolved now.
https://github.com/llvm/llvm-project/pull/78323
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.l
https://github.com/petrhosek closed
https://github.com/llvm/llvm-project/pull/78323
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -37,11 +63,26 @@ set(BOOTSTRAP_CLANG_BOOTSTRAP_TARGETS
# Stage 2 Options
set(STAGE2_PROJECTS "clang")
-if (LLVM_RELEASE_ENABLE_LTO)
+set(STAGE2_RUNTIMES "")
+
+if (LLVM_RELEASE_ENABLE_LTO OR LLVM_RELEASE_ENABLE_PGO)
list(APPEND STAGE2_PROJECTS "lld")
endif()
+
+if (LLVM_
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/78823
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/76950
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
petrhosek wrote:
The `llvm-libc++-static-clangcl.cfg.in ::
std/utilities/format/format.arguments/format.arg/visit.return_type.pass.cpp` is
failing on Windows with the following error:
```
Exit Code: 1
Command Output (stdout):
--
# COMPILED WITH
C:/b/s/w/ir/x/w/llvm_build/./bin/clang-cl.exe
C:
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/78869
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/petrhosek approved this pull request.
https://github.com/llvm/llvm-project/pull/69133
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
petrhosek wrote:
Please ignore 04c85587596ab10d885a957a00c8fa22740f15c1 which addresses a
different issue, this is still broken in tip-of-tree.
https://github.com/llvm/llvm-project/pull/76449
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
htt
petrhosek wrote:
This is still broken so I'm going to revert the change.
https://github.com/llvm/llvm-project/pull/76449
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
petrhosek wrote:
This broke the following tests on Windows:
```
llvm-libc++-static-clangcl.cfg.in ::
libcxx/atomics/diagnose_invalid_memory_order.verify.cpp
llvm-libc++-static-clangcl.cfg.in :: libcxx/fuzzing/random.pass.cpp
llvm-libc++-static-clangcl.cfg.in :: std/depr/depr.c.headers/math_h.pas
@@ -152,6 +180,7 @@ template <> struct
llvm::yaml::MappingTraits {
static void mapping(llvm::yaml::IO &io, MultilibSerialization &V) {
io.mapRequired("Dir", V.Dir);
io.mapRequired("Flags", V.Flags);
+io.mapOptional("ExclusiveGroup", V.ExclusiveGroup);
---
@@ -0,0 +1,69 @@
+# REQUIRES: shell
+# UNSUPPORTED: system-windows
+
+# RUN: rm -rf %t
+
+# RUN: mkdir -p %t/baremetal_multilib/bin
+# RUN: ln -s %clang %t/baremetal_multilib/bin/clang
+
+# RUN: mkdir -p %t/baremetal_multilib/lib/clang-runtimes
+# RUN: ln -s %s %t/baremetal_multil
petrhosek wrote:
We have noticed that after this change, `clang-format` would behave differently
depending on the input formatting.
(I'm using `--style="{BasedOnStyle: google, ColumnLimit: 0}"` in the examples
below.)
For example, if the input is
```
return os << "ClientEnd<"
<< "te
Author: phosek
Date: Thu Aug 29 16:12:06 2019
New Revision: 370421
URL: http://llvm.org/viewvc/llvm-project?rev=370421&view=rev
Log:
[CMake][Fuchsia] Enable experimental pass manager by default
We plan on using experimental new pass manager for Fuchsia toolchain.
Differential Revision: https://r
Author: phosek
Date: Tue Aug 1 12:15:32 2017
New Revision: 309724
URL: http://llvm.org/viewvc/llvm-project?rev=309724&view=rev
Log:
[CMake] Include sancov tool in Fuchsia toolchain
Differential Revision: https://reviews.llvm.org/D35930
Modified:
cfe/trunk/cmake/caches/Fuchsia-stage2.cmake
Author: phosek
Date: Tue Aug 1 18:18:02 2017
New Revision: 309778
URL: http://llvm.org/viewvc/llvm-project?rev=309778&view=rev
Log:
[Driver] Disable static C++ library support on Fuchsia
Don't support or build static C++ libraries for Fuchsia.
Differential Revision: https://reviews.llvm.org/D36
Author: phosek
Date: Tue Aug 1 19:49:09 2017
New Revision: 309786
URL: http://llvm.org/viewvc/llvm-project?rev=309786&view=rev
Log:
[CMake] Include llvm-objcopy tool in Fuchsia toolchain
Differential Revision: https://reviews.llvm.org/D36194
Modified:
cfe/trunk/cmake/caches/Fuchsia-stage2.c
301 - 400 of 933 matches
Mail list logo