Nico Weber
5e1657132b
gn build: Merge r367839
...
llvm-svn: 367844
2019-08-05 12:44:53 +00:00
Nico Weber
abe4eebcd0
gn build: Merge r367756
...
llvm-svn: 367795
2019-08-04 23:34:27 +00:00
Peter Collingbourne
53643d6c06
gn build: Merge r367667.
...
llvm-svn: 367692
2019-08-02 17:02:05 +00:00
Nico Weber
984f7cb446
gn build: Merge r367463
...
llvm-svn: 367464
2019-07-31 18:56:49 +00:00
Nico Weber
d2c9e74ca9
compiler-rt: Rename .cc file in lib/profile to .cpp
...
See https://reviews.llvm.org/D58620 for discussion.
Note how the comment in the file already said ".cpp" :)
llvm-svn: 367460
2019-07-31 18:21:08 +00:00
Nico Weber
66d406df1a
gn build: Merge r367456
...
llvm-svn: 367457
2019-07-31 18:04:03 +00:00
Nico Weber
ebd970a43f
gn build: Merge r367452 and add standalone sources
...
llvm-svn: 367454
2019-07-31 17:56:45 +00:00
Nico Weber
f7f4b8ef51
gn build: Add build files for compiler-rt/lib/profile
...
Differential Revision: https://reviews.llvm.org/D65518
llvm-svn: 367450
2019-07-31 17:15:32 +00:00
Nico Weber
4e2af2516a
gn build: Make builtin library build on macOS
...
For now, it only builds the x86_64 slice.
Differential Revision: https://reviews.llvm.org/D65513
llvm-svn: 367449
2019-07-31 17:12:33 +00:00
Nico Weber
1734130bb2
gn build: Fix redundant object files in builtin lib.
...
compiler-rt's builtin library has generic implementations of many
functions, and then per-arch optimized implementations of some.
In the CMake build, both filter_builtin_sources() and an explicit loop
at the end of the build file (see D37166) filter out the generic
versions if a per-arch file is present.
The GN build wasn't doing this filtering. Just do the filtering manually
and explicitly, instead of being clever.
While here, also remove files from the mingw/arm build that are
redundantly listed after D39938 / r318139 (both from the CMake and the
GN build).
While here, also fix a target_os -> target_cpu typo.
Differential Revision: https://reviews.llvm.org/D65512
llvm-svn: 367448
2019-07-31 17:08:34 +00:00
Nico Weber
b70b9c09ff
gn build: Merge r367393
...
llvm-svn: 367422
2019-07-31 12:19:28 +00:00
Nico Weber
1faeab5e2c
gn build: Merge r367364
...
llvm-svn: 367366
2019-07-30 23:38:09 +00:00
Nico Weber
a23b637475
gn build: Update comment I failed to update in r367340 / D65462
...
llvm-svn: 367341
2019-07-30 18:19:13 +00:00
Nico Weber
10370b6869
gn build: Fix check-clang-tools after r362702.
...
r362702 added a test that requires clang-tidy to be linked
into libclang, so add that to the gn build.
Differential Revision: https://reviews.llvm.org/D65462
llvm-svn: 367340
2019-07-30 18:16:55 +00:00
Hans Wennborg
5d3de3b986
gn build: Use rebase_path on filename args to libcxx/utils/gen_link_script.py
...
$ ninja -j800
[1/5] ACTION //libcxx/src:cxx_linker_script(//llvm/utils/gn/build/toolchain:stage2_unix)
FAILED: lib/libc++.so
python ../libcxx/utils/gen_link_script.py --input //build.gn/lib/libc++.so.0 --output //build.gn/lib/libc++.so c++abi unwind
GENERATING SCRIPT: 'INPUT(libc++.so.0 -lc++abi -lunwind)' as file //build.gn/lib/libc++.so
Traceback (most recent call last):
File "../libcxx/utils/gen_link_script.py", line 57, in <module>
sys.exit(main())
File "../libcxx/utils/gen_link_script.py", line 50, in main
with open(args.output, 'w') as f:
IOError: [Errno 2] No such file or directory: '//build.gn/lib/libc++.so'
ninja: build stopped: subcommand failed.
Differential revision: https://reviews.llvm.org/D65449
llvm-svn: 367314
2019-07-30 14:17:58 +00:00
Eric Fiselier
118cb6c2ad
[clang-tidy]: Google: new check 'google-upgrade-googletest-case'
...
Introduce a new check to upgrade user code based on API changes in Googletest.
The check finds uses of old Googletest APIs with "case" in their name and replaces them with the new APIs named with "suite".
Patch by Alex Strelnikov (strel@google.com )
Reviewed as D62977.
llvm-svn: 367263
2019-07-29 21:38:56 +00:00
Vitaly Buka
08e492dcba
gn build: Merge r367071
...
> llvm-svn: 366289
llvm-svn: 367245
2019-07-29 17:48:02 +00:00
Nico Weber
1d47a84969
gn build: Merge r367043
...
llvm-svn: 367109
2019-07-26 13:27:19 +00:00
Nico Weber
89ea3e4687
gn build: Merge r366956
...
llvm-svn: 367108
2019-07-26 13:24:56 +00:00
Nico Weber
2092468e87
gn build: Merge r366919
...
llvm-svn: 366927
2019-07-24 17:04:44 +00:00
Nico Weber
e5b728a4ae
gn build: Merge r366832
...
llvm-svn: 366837
2019-07-23 19:02:47 +00:00
Nico Weber
5e543873e5
gn build: Wrap two comments to 80 columns
...
llvm-svn: 366763
2019-07-22 23:23:38 +00:00
Nico Weber
f25a994803
gn build: Merge r366622
...
llvm-svn: 366646
2019-07-21 00:03:55 +00:00
Nico Weber
ab9357c357
gn build: Set +x on symlink_or_copy.py
...
llvm-svn: 366576
2019-07-19 13:40:54 +00:00
Peter Collingbourne
ee2211c63a
gn build: Merge r366458.
...
llvm-svn: 366487
2019-07-18 20:14:16 +00:00
Hans Wennborg
e94ea4cdc9
Bump the trunk version to 10.0.0svn
...
and clear the release notes.
llvm-svn: 366427
2019-07-18 11:51:05 +00:00
Peter Collingbourne
e1541dbc16
gn build: Merge r366361.
...
llvm-svn: 366380
2019-07-17 21:45:34 +00:00
Nico Weber
8480b6dae9
gn build: Merge r366265
...
llvm-svn: 366289
2019-07-17 01:21:14 +00:00
Nico Weber
ac6af771eb
gn build: Merge r366216
...
llvm-svn: 366288
2019-07-17 01:19:30 +00:00
Nico Weber
976fc4cd8f
Teach llvm-pdbutil pretty -native
about -injected-sources
...
`pretty -native -injected-sources -injected-source-content` works with
this patch, and produces identical output to the dia version.
Differential Revision: https://reviews.llvm.org/D64428
llvm-svn: 366236
2019-07-16 18:04:26 +00:00
Nico Weber
dd84d5a9be
gn build: Add a note on how to locally tell git to ignore build dir
...
llvm-svn: 366072
2019-07-15 15:14:09 +00:00
Bryant Wong
33a7a98680
[gn] Tag unneeded variable.
...
When only building targets without assembly parsers (e.g. `llvm_targets_to_build
= ["NVPTX"]`), `all_targets` is empty and causes GN to warn about an
assigned-but-unused variable.
Differential Revision: https://reviews.llvm.org/D31727
llvm-svn: 365897
2019-07-12 13:09:39 +00:00
Nico Weber
08e1afb147
gn build: Merge r365792
...
llvm-svn: 365795
2019-07-11 17:09:35 +00:00
Nico Weber
c5b35e725d
gn build: Merge r365773
...
llvm-svn: 365787
2019-07-11 15:01:50 +00:00
Nico Weber
6a298ee9be
gn build: Merge r365687
...
llvm-svn: 365689
2019-07-10 19:20:17 +00:00
Nico Weber
1ee7419685
gn build: Merge r365585
...
llvm-svn: 365633
2019-07-10 14:05:13 +00:00
Peter Collingbourne
669d4d285e
gn build: Merge r365536.
...
llvm-svn: 365572
2019-07-09 22:37:51 +00:00
Peter Collingbourne
d7ef3344f6
gn build: Merge r365532.
...
llvm-svn: 365571
2019-07-09 22:37:41 +00:00
Peter Collingbourne
5068264988
gn build: Merge r365541.
...
llvm-svn: 365570
2019-07-09 22:37:25 +00:00
Peter Collingbourne
08d71eb91b
gn build: Merge r365531.
...
llvm-svn: 365569
2019-07-09 22:37:09 +00:00
Peter Collingbourne
104bdbcb6c
gn build: Merge r365503.
...
llvm-svn: 365530
2019-07-09 18:30:38 +00:00
Nico Weber
6ad5adc11a
gn build: Merge r365453
...
llvm-svn: 365481
2019-07-09 13:58:18 +00:00
Vitaly Buka
11bc9e0329
Update gn files
...
llvm-svn: 365361
2019-07-08 17:50:22 +00:00
Vitaly Buka
394ff1872f
Update gn files
...
llvm-svn: 365354
2019-07-08 17:15:57 +00:00
Nico Weber
e2467e90d2
gn build: Merge r355546
...
Found by inspection; the sync script doesn't sync .ipp files.
llvm-svn: 365280
2019-07-07 16:49:44 +00:00
Nico Weber
dfc0406e0c
gn build: Merge r365273
...
llvm-svn: 365279
2019-07-07 16:44:07 +00:00
Nico Weber
eef490604b
gn build: Sort sync script output
...
llvm-svn: 365278
2019-07-07 16:40:29 +00:00
Nico Weber
8068f51abb
gn build: Sort cxx_sources in libcxx build file
...
Since these are in a custom list, `gn format` doesn't automatically sort
them.
Now their order matches the CMake build.
No additions or deletions, this just sorts the files that are there.
llvm-svn: 365277
2019-07-07 16:36:11 +00:00
Nico Weber
bd74264c7d
gn build: Merge r365258 and follow-ups r365263, r365264
...
llvm-svn: 365276
2019-07-07 15:43:32 +00:00
Nico Weber
a963a94a23
gn build: Merge r365203
...
llvm-svn: 365213
2019-07-05 15:14:06 +00:00