LLVM GN Syncbot
9af0184842
[gn build] Port 8cadac41e9
2022-10-19 12:45:01 +00:00
LLVM GN Syncbot
0bfd900150
[gn build] Port 594fa1474f
2022-10-18 19:15:31 +00:00
Arthur Eubanks
743087fb63
Port print-cfg-sccs to new pass manager
...
This is actually used, see https://discourse.llvm.org/t/use-print-callgrapg-sccs-from-opt/65782 .
Reviewed By: asbirlea
Differential Revision: https://reviews.llvm.org/D135718
2022-10-18 08:47:08 -07:00
Nico Weber
2ea39330ba
[gn build] port fe7a3cedf7
(llvm-debuginfo-analyzer)
2022-10-18 06:34:53 -04:00
Fangrui Song
3baadff896
[CMake] Remove CLANG_DEFAULT_STD_C/CLANG_DEFAULT_STD_CXX
...
When Clang is used as a cross compiler, it should respect the target
platform default. Defaulting to a configure-time CLANG_DEFAULT_STD_C/CLANG_DEFAULT_STD_CXX
does not make much sense.
When Clang is used as a single-platform compiler, we should use Clang
configuration file (https://discourse.llvm.org/t/configuration-files/42529
https://clang.llvm.org/docs/UsersManual.html#configuration-files ).
The Gentoo needs from D34365 has been satisfied by a configuration file.
Reviewed By: mgorny
Differential Revision: https://reviews.llvm.org/D133375
2022-10-16 13:15:44 -07:00
Nico Weber
edfd8c66bc
[gn build] port 0cfa50154a
2022-10-14 15:07:56 -04:00
Nico Weber
a191fc8fc6
[gn build] Remove unused tablegen.gni imports
...
Found via
for f in $(rg -l tablegen.gni llvm/utils/gn); do
if ! rg -q 'tablegen\(' $f; then
echo $f
fi
done
after seeing it randomly in one of the files.
2022-10-14 15:03:41 -04:00
Nico Weber
37c693d8da
[gn build] port 911d2dc230
(LLVMFrontendHLSL)
2022-10-14 14:59:41 -04:00
Nico Weber
71d331ca22
[gn build] port 6ce8727248
2022-10-14 14:33:33 -04:00
Nico Weber
aaecabe68b
[gn build] port 1fda6f6859
(lld driver_executable)
2022-10-13 19:56:42 -04:00
Philip Reames
fe755af3a9
Revert "Remove PlaceSafepoints pass"
...
This reverts commit cb66e123c6
. It was reported via https://reviews.llvm.org/rGcb66e123c6bc82a793300b6fb3ecbed79c58f557#1132969 that the Microsoft.NET compiler is still using this pass.
2022-10-13 07:17:25 -07:00
LLVM GN Syncbot
caa41a78f1
[gn build] Port 573a5de755
2022-10-13 00:34:23 +00:00
Arthur Eubanks
eca6352a9c
[gn build] Set _LIBCPP_ABI_NAMESPACE to __$libcxx_abi_version
...
Matches CMake build.
Otherwise currently everything is literally std::_LIBCPP_ABI_NAMESPACE::foo.
2022-10-12 11:59:12 -07:00
Nico Weber
532c206141
[gn build] Reformat all build files
...
Ran:
git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format
2022-10-11 11:04:43 -04:00
Nico Weber
7fbab6a580
[gn build] port 243da90ea5
more
2022-10-11 10:29:26 -04:00
Nico Weber
ca76759b05
[gn build] (semi-automatically) port 243da90ea5
2022-10-11 10:24:28 -04:00
Arthur Eubanks
b8e71766c8
Revert "[gn build] Don't set LLVM_UNREACHABLE_OPTIMIZE when llvm_enable_assertions"
...
This reverts commit 0f19c60342
.
This didn't actually do anything. llvm_unreachable() under `#ifndef NDEBUG` is always supposed to report an error regardless of LLVM_UNREACHABLE_OPTIMIZE. I can't reproduce the issue I was originally seeing with this reverted, not sure what was happening back then, manually verified by messing around with various binaries/configurations.
2022-10-10 15:20:53 -07:00
Nico Weber
b494a56543
[gn build] port bc839b4b4e
2022-10-10 09:19:12 -04:00
LLVM GN Syncbot
101799ba17
[gn build] Port 1ae33bf426
2022-10-10 07:30:41 +00:00
LLVM GN Syncbot
da064c956b
[gn build] Port a2c6a1193f
2022-10-09 07:11:39 +00:00
Arthur Eubanks
c966da35df
[opt] Remove legacy -print-dom-info pass
...
This was specific to `opt` for some reason.
There's already a new pass manager pass `print<domtree>` which does the same.
2022-10-07 13:50:16 -07:00
Philip Reames
cb66e123c6
Remove PlaceSafepoints pass
...
This patch was added way back in the beginning of the work which became the statepoint infrastructure. The idea was that safepoints could be inserted late in the optimization pipeline. This is true if the only concern is garbage collection, but this approach turned out to be incompatible with the requirement to also support deoptimization at safepoints.
In theory, this pass would still be quite useful for an AOT compiled language which wants to support garbage collection, but we have no known users, and haven't for over 5 years. Time to remove unused code. If someone wants to use this, restoring it would not be hard. The immediate motivation for removal is that this is one of the last passes remaining which hasn't been ported to the new pass manager and the (straight forward) work to do so is not justified for unused code.
Differential Revision: https://reviews.llvm.org/D135371
2022-10-07 11:51:00 -07:00
Peter Collingbourne
e88e149fe4
gn build: s/target_os/current_os/g
2022-10-06 20:57:45 -07:00
Peter Collingbourne
72cac51779
gn build: Do not build libunwind.so for Android.
...
Android does not use a shared libunwind.so and its presence in the build
directory can be harmful, for example it can end up being dynamically
linked against while not being present on the device.
2022-10-06 20:53:15 -07:00
LLVM GN Syncbot
76ac3b8917
[gn build] Port 96a509bca2
2022-10-06 22:03:16 +00:00
LLVM GN Syncbot
0150c192a7
[gn build] Port 2c799b7793
2022-10-06 21:24:57 +00:00
LLVM GN Syncbot
57b9985653
[gn build] Port 79df8e19be
2022-10-06 16:02:20 +00:00
Nico Weber
3dfa3a12ba
[gn build] port d1f13c54f1
(Inclusions/Stdlib)
2022-10-06 09:41:27 -04:00
Nico Weber
e2378d3438
[gn build] port d785a8eaa2
2022-10-06 07:31:06 -04:00
Alex Brachet
d5090cd94a
[llvm-driver] Add various tools to the llvm-driver
...
The llvm-driver, enabled with LLVM_TOOL_LLVM_DRIVER_BUILD combines many llvm executables
into one to save overall toolchain size. This patch adds a few more llvm tools to the
llvm-driver.
Differential Revision: https://reviews.llvm.org/D135281
2022-10-06 05:16:13 +00:00
LLVM GN Syncbot
b1bdcd4d5c
[gn build] Port f0f474dfd0
2022-10-05 09:44:51 +00:00
Nico Weber
3d4f116956
[gn build] port 77945a344c
2022-10-04 16:40:38 -04:00
LLVM GN Syncbot
1303abe658
[gn build] Port 6d9eb53329
2022-10-04 07:16:10 +00:00
LLVM GN Syncbot
3688102aab
[gn build] Port d3d9f7caf9
2022-10-04 02:36:02 +00:00
Nico Weber
fb5a63e9af
[gn build] port d033ece0c9
for now
2022-10-03 19:50:21 -04:00
Nico Weber
d55dd57124
[gn build] port 5585d99835
2022-10-03 18:48:30 -04:00
LLVM GN Syncbot
2d27b56be5
[gn build] Port 71410fd2c0
2022-10-03 01:41:14 +00:00
LLVM GN Syncbot
7578d337b5
[gn build] Port a6e1080b87
2022-10-02 23:53:57 +00:00
LLVM GN Syncbot
facfdbe25b
[gn build] Port 005916de58
2022-10-02 00:35:45 +00:00
LLVM GN Syncbot
38a636a5f2
[gn build] Port 099384dcea
2022-10-01 13:18:43 +00:00
LLVM GN Syncbot
5b4623831b
[gn build] Port 5b26f4f042
2022-09-30 21:31:59 +00:00
Peter Collingbourne
b1985dd74d
gn build: Fix formatting in gen_version_script.gni.
2022-09-30 13:47:08 -07:00
Peter Collingbourne
fa690c2212
gn build: Speculative Windows build fix.
2022-09-30 13:46:52 -07:00
Peter Collingbourne
25eabbc802
gn build: Re-add preinit file to static ubsan library.
2022-09-30 13:36:12 -07:00
Peter Collingbourne
bae0d30491
gn build: Move bfloat16 source files to x86-specific block.
...
bfloat16 is currently only supported by default on x86.
Differential Revision: https://reviews.llvm.org/D134937
2022-09-30 12:33:23 -07:00
Peter Collingbourne
0f9f95fe93
gn build: Add support for building the standalone ubsan runtime as a shared library on non-Mac.
...
Differential Revision: https://reviews.llvm.org/D127556
2022-09-30 12:33:23 -07:00
LLVM GN Syncbot
682c95672b
[gn build] Port 91c96a806c
2022-09-30 01:33:02 +00:00
LLVM GN Syncbot
7cc39b45fe
[gn build] Port 8f4f26ba5b
2022-09-29 22:13:14 +00:00
LLVM GN Syncbot
c4d9b40574
[gn build] Port 63accaf46f
2022-09-29 17:15:28 +00:00
LLVM GN Syncbot
1e818cd8e2
[gn build] Port e61d89efd7
2022-09-28 20:36:01 +00:00