1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

515 Commits

Author SHA1 Message Date
Nico Weber
9f1b5e2f87 gn build: Give cmake sync script an opt-in --write flag
Differential Revision: https://reviews.llvm.org/D66101

llvm-svn: 368667
2019-08-13 11:32:45 +00:00
Nico Weber
5b33b4788c gn build: Make sync script group output by revision
Differential Revision: https://reviews.llvm.org/D66090

llvm-svn: 368665
2019-08-13 11:24:20 +00:00
Nico Weber
d62cc7d7eb gn build: Merge r368592
llvm-svn: 368601
2019-08-12 18:33:10 +00:00
Peter Collingbourne
90930e7653 gn build: Merge r368432.
llvm-svn: 368470
2019-08-09 19:28:53 +00:00
Peter Collingbourne
db8f871348 gn build: Merge r368439.
llvm-svn: 368469
2019-08-09 19:28:44 +00:00
Peter Collingbourne
804d13f741 gn build: Merge r368402.
llvm-svn: 368468
2019-08-09 19:28:35 +00:00
Peter Collingbourne
5d016b9fba gn build: Merge r368392.
llvm-svn: 368467
2019-08-09 19:28:26 +00:00
Peter Collingbourne
442486b0ef gn build: Merge r368358.
llvm-svn: 368466
2019-08-09 19:28:17 +00:00
Peter Collingbourne
26f161bd79 gn build: Merge r368331.
llvm-svn: 368333
2019-08-08 20:11:23 +00:00
Nico Weber
0ddc85d9b7 gn build: Merge r368158
llvm-svn: 368179
2019-08-07 15:30:44 +00:00
Nico Weber
d47ea92928 gn build: Merge r368119
llvm-svn: 368178
2019-08-07 15:29:01 +00:00
Peter Collingbourne
d3aa443a82 gn build: Merge r368065.
llvm-svn: 368099
2019-08-06 21:48:06 +00:00
Peter Collingbourne
1c58420d1f gn build: Merge r368052.
llvm-svn: 368098
2019-08-06 21:47:55 +00:00
Peter Collingbourne
139186c8d3 gn build: Merge r368054.
llvm-svn: 368097
2019-08-06 21:47:46 +00:00
Peter Collingbourne
6c55a16a1a gn build: Merge r368086.
llvm-svn: 368096
2019-08-06 21:47:37 +00:00
Peter Collingbourne
c9cbd216ba gn build: Merge r368070.
llvm-svn: 368095
2019-08-06 21:47:27 +00:00
Dmitri Gribenko
347f139bfb Revert "gn build: Merge r368021"
This reverts commit r368025, which depends on r368021, which needs to be
reverted.

llvm-svn: 368034
2019-08-06 13:39:27 +00:00
Nico Weber
bfa93c5adf gn build: Merge r368024
llvm-svn: 368027
2019-08-06 13:12:26 +00:00
Nico Weber
c840b47a3f gn build: Merge r368021
llvm-svn: 368025
2019-08-06 13:08:54 +00:00
Nico Weber
901421f1f7 gn build: Add AMDGPU target
Differential Revision: https://reviews.llvm.org/D65767

llvm-svn: 367972
2019-08-06 02:25:49 +00:00
Nico Weber
384d4e4a01 gn build: Leave a comment why "-gen-searchable-table" tablegen()s are not called FooGenSearchableTable
llvm-svn: 367971
2019-08-06 02:21:50 +00:00
Nico Weber
c42f95186d gn build: Merge r367917
llvm-svn: 367970
2019-08-06 02:17:05 +00:00
Nico Weber
f0c849a9db gn build: run "gn format"
llvm-svn: 367890
2019-08-05 16:55:04 +00:00
Nico Weber
4c5858be5f gn build: Merge r367864
llvm-svn: 367868
2019-08-05 14:22:21 +00:00
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