2109 Commits

Author SHA1 Message Date
Nico Weber
98d0f8f2ff Revert "[gn build] (manually) port 6fe2beba7d2a (ExceptionTests)"
This reverts commit da47c2719b1094a29427917ddb157c9c716e876d.
6fe2beba7d2a was reverted in 885964046114.
2021-09-03 09:19:11 -04:00
Nico Weber
da47c2719b [gn build] (manually) port 6fe2beba7d2a (ExceptionTests) 2021-09-03 09:01:24 -04:00
LLVM GN Syncbot
53486ea159 [gn build] Port a375bfb5b729 2021-09-03 11:51:19 +00:00
LLVM GN Syncbot
62bbae8407 [gn build] Port 2ed91da0f1f3 2021-09-03 08:53:21 +00:00
LLVM GN Syncbot
6cc5333650 [gn build] Port dad60f8071d5 2021-09-02 22:29:41 +00:00
LLVM GN Syncbot
621a615372 [gn build] Port 0922ce56f4f0 2021-09-01 17:49:53 +00:00
LLVM GN Syncbot
9c37eda6e4 [gn build] Port e983a659e51c 2021-08-31 16:45:24 +00:00
LLVM GN Syncbot
22efb9d364 [gn build] Port 3285c7a4364e 2021-08-31 13:47:38 +00:00
LLVM GN Syncbot
d4d008f7d7 [gn build] Port 54e8cae56529 2021-08-27 17:29:43 +00:00
LLVM GN Syncbot
e57205b555 [gn build] Port c8b14c03ec74 2021-08-27 16:46:52 +00:00
Arthur Eubanks
77b6a4bde4 [gn build] Don't copy xray includes
The gn build doesn't support xray, so there's no reason to make the xray
headers available. Some CMake checks check if xray includes are
available to determine if xray is usable. Since we don't build the xray
runtime, there are link errors.

Reviewed By: thakis

Differential Revision: https://reviews.llvm.org/D108737
2021-08-27 08:51:27 -07:00
LLVM GN Syncbot
f8df807653 [gn build] Port b749ef9e2241 2021-08-27 04:42:51 +00:00
LLVM GN Syncbot
9ade9d9ac1 [gn build] Port ee44dd8062a2 2021-08-26 18:08:07 +00:00
LLVM GN Syncbot
70f3ccb6a2 [gn build] Port 1076082a0d97 2021-08-26 16:28:53 +00:00
LLVM GN Syncbot
6894552a74 [gn build] Port 21b25a1fb32e 2021-08-26 08:14:37 +00:00
LLVM GN Syncbot
fdefde4965 [gn build] Port 3373e845398b 2021-08-26 07:29:05 +00:00
Arthur Eubanks
1bdeafeaf4 [gn build] Unbreak non-clang host builds
eecd5d0a broke non-clang host builds.
Some crt code is not always built with the just-built clang.

0da172b checked if the compiler is clang, not assert that the compiler
is clang.
2021-08-25 16:14:45 -07:00
LLVM GN Syncbot
8e135a6d08 [gn build] Port fe01014faa33 2021-08-25 19:14:11 +00:00
Arthur Eubanks
4b7621c485 [gn build] Add missing dependency required by 832aae73 2021-08-25 10:13:23 -07:00
LLVM GN Syncbot
b0b26ae4b3 [gn build] Port 48958d02d294 2021-08-25 09:02:08 +00:00
Nico Weber
2847b8b6ff [gn build] Manually port dbed061b more 2021-08-24 21:02:13 -04:00
Nico Weber
5f0d265b15 [gn build] (manually) port 87dd51983cf9 2021-08-24 16:40:44 -04:00
Arthur Eubanks
d2e103644b [llvm-reduce] Remove various module data
This removes the data layout, target triple, source filename, and module
identifier when possible.

Reviewed By: swamulism

Differential Revision: https://reviews.llvm.org/D108568
2021-08-24 09:45:31 -07:00
LLVM GN Syncbot
93de779d63 [gn build] Port 7f99337f9bcf 2021-08-21 09:44:22 +00:00
LLVM GN Syncbot
fa4132dc88 [gn build] Port e6407356ba00 2021-08-20 06:14:22 +00:00
LLVM GN Syncbot
9b0f292e82 [gn build] Port 642885710e20 2021-08-20 05:16:08 +00:00
LLVM GN Syncbot
fe658c3f6e [gn build] Port 5fdaaf7fd8f3 2021-08-19 01:52:47 +00:00
LLVM GN Syncbot
a0ed44943a [gn build] Port d8bbfe8a4897 2021-08-18 21:58:30 +00:00
Peter Collingbourne
b2e77cd095 gn build: Build libclang.so and libLTO.so on ELF platforms.
This requires changing the ELF build to enable -fPIC, consistent
with other platforms.

Differential Revision: https://reviews.llvm.org/D108223
2021-08-18 13:48:33 -07:00
LLVM GN Syncbot
0dfce025c4 [gn build] Port 38812f4ac122 2021-08-18 14:02:48 +00:00
LLVM GN Syncbot
26da53f5b6 [gn build] Port 45ac5f544181 2021-08-18 10:43:22 +00:00
LLVM GN Syncbot
f58c0a962c [gn build] Port d1ec581ebfca 2021-08-18 08:10:40 +00:00
LLVM GN Syncbot
6724d82ee2 [gn build] Port e256445bfff1 2021-08-18 05:02:05 +00:00
Nico Weber
20170447b0 [gn build] (manually) port 957334382cd1 2021-08-15 13:21:36 -04:00
LLVM GN Syncbot
a00eb48059 [gn build] Port df324bba5c4c 2021-08-13 18:34:09 +00:00
LLVM GN Syncbot
95795e9d6e [gn build] Port 7b20e05c714e 2021-08-13 18:34:09 +00:00
LLVM GN Syncbot
76beb4184c [gn build] Port 2ff7ca98a99b 2021-08-13 01:31:18 +00:00
Nico Weber
1899112037 [gn build] manually port 18f9e25ce1fa43 (AttrDocTable)
Also clang ClangAttrEmitter for -gen-clang-attr-doc-table to be
like all other tablegen: Produce a .inc file with the generated bits
and put the static parts into a regular .cpp file that includes the
.inc file.
2021-08-12 21:30:59 -04:00
LLVM GN Syncbot
f5d32c56ee [gn build] Port 4ac87e33785e 2021-08-12 17:16:05 +00:00
LLVM GN Syncbot
876664317a [gn build] Port d2c5cbc3a856 2021-08-12 15:33:09 +00:00
LLVM GN Syncbot
62c08c021d [gn build] Port 89a7bdb1f37a 2021-08-11 14:16:15 +00:00
LLVM GN Syncbot
f6425dfcbe [gn build] Port 2021-08-11 08:16:37 +00:00
LLVM GN Syncbot
d41de8ed26 [gn build] Port 58915667d0b9 2021-08-11 02:07:04 +00:00
LLVM GN Syncbot
c84c5d0520 [gn build] Port f9e58f35e905 2021-08-10 23:45:53 +00:00
LLVM GN Syncbot
93aa1c71d5 [gn build] Port 6f7f5b54c81b 2021-08-10 04:47:01 +00:00
LLVM GN Syncbot
2708ccaa9a [gn build] Port 9d982c67ba01 2021-08-09 22:10:24 +00:00
LLVM GN Syncbot
772d2093fc [gn build] Port 4ad9ec8a328c 2021-08-06 16:59:24 +00:00
Reshabh Sharma
5173854f19 [AMDGPU] Handle functions in llvm's global ctors and dtors list
This patch introduces a new code object metadata field, ".kind"
which is used to add support for init and fini kernels.

HSAStreamer will use function attributes, "device-init" and
"device-fini" to distinguish between init and fini kernels from
the regular kernels and will emit metadata with ".kind" set to
"init" and "fini" respectively.

To reduce the number of init and fini kernels, the ctors and
dtors present in the llvm's global.ctors and global.dtors lists
are called from a single init and fini kernel respectively.

Reviewed by: yaxunl

Differential Revision: https://reviews.llvm.org/D105682
2021-08-06 15:53:33 +05:30
Nico Weber
ddb26e2e00 [gn build] manually port 4d293f215dfb (LLVMDiff lib) 2021-08-05 22:09:02 +02:00
Fangrui Song
7a6482216f [CMake][gn] lldMachO=>lldMachOOld, lldMachO2=>lldMachO
Now that D95204 switched default to new Darwin backend, rename some CMake
targets to match.

Reviewed By: #lld-macho, smeenai, int3

Differential Revision: https://reviews.llvm.org/D107516
2021-08-04 18:52:41 -07:00