[clang] f39000b - [Driver] Delete CC1 -fxray-function-index and clean up some tests

2020-06-17 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-06-17T13:00:22-07:00 New Revision: f39000b4505bcfe3d2fcf23487096fb4703082bd URL: https://github.com/llvm/llvm-project/commit/f39000b4505bcfe3d2fcf23487096fb4703082bd DIFF: https://github.com/llvm/llvm-project/commit/f39000b4505bcfe3d2fcf23487096fb4703082bd.diff

[clang] aed6a1b - Add tests for clang -fno-zero-initialized-in-bss and llc -nozero-initialized-in-bss

2020-07-04 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-07-04T23:26:57-07:00 New Revision: aed6a1b137dc17426e3da8b85e1f9966c8229c05 URL: https://github.com/llvm/llvm-project/commit/aed6a1b137dc17426e3da8b85e1f9966c8229c05 DIFF: https://github.com/llvm/llvm-project/commit/aed6a1b137dc17426e3da8b85e1f9966c8229c05.diff

[clang] b0b5162 - [Driver] Pass -gno-column-info instead of -dwarf-column-info

2020-07-05 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-07-05T11:50:38-07:00 New Revision: b0b5162fc23c55906a461366f8acef2431d951c5 URL: https://github.com/llvm/llvm-project/commit/b0b5162fc23c55906a461366f8acef2431d951c5 DIFF: https://github.com/llvm/llvm-project/commit/b0b5162fc23c55906a461366f8acef2431d951c5.diff

[clang] c025bdf - Revert D83013 "[LPM] Port CGProfilePass from NPM to LPM"

2020-07-09 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-07-09T13:34:04-07:00 New Revision: c025bdf25a59a79d60a2e99962c8653547a825d8 URL: https://github.com/llvm/llvm-project/commit/c025bdf25a59a79d60a2e99962c8653547a825d8 DIFF: https://github.com/llvm/llvm-project/commit/c025bdf25a59a79d60a2e99962c8653547a825d8.diff

[clang] d8c9729 - [docs] Regenerate clang/docs/ClangCommandLineReference.rst

2020-06-18 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-06-18T14:52:39-07:00 New Revision: d8c9729216032e82adeb4965ae4e118c01f6b321 URL: https://github.com/llvm/llvm-project/commit/d8c9729216032e82adeb4965ae4e118c01f6b321 DIFF: https://github.com/llvm/llvm-project/commit/d8c9729216032e82adeb4965ae4e118c01f6b321.diff

[clang] 6330653 - [unittest] Fix FrontendTests CanGenerateCC1CommandLineFlag when LLVM_DEFAULT_TARGET_TRIPLE is not normalized after D79796

2020-06-24 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-06-24T16:18:58-07:00 New Revision: 6330653547f492646c92553738dab6a99d7d9710 URL: https://github.com/llvm/llvm-project/commit/6330653547f492646c92553738dab6a99d7d9710 DIFF: https://github.com/llvm/llvm-project/commit/6330653547f492646c92553738dab6a99d7d9710.diff

[clang] 772f482 - Change while to do-while

2020-06-25 Thread Fangrui Song via cfe-commits
Author: Seija Kijin Date: 2020-06-25T09:30:30-07:00 New Revision: 772f4826465de80d8c7f11b2fb35b92f9fe58f45 URL: https://github.com/llvm/llvm-project/commit/772f4826465de80d8c7f11b2fb35b92f9fe58f45 DIFF: https://github.com/llvm/llvm-project/commit/772f4826465de80d8c7f11b2fb35b92f9fe58f45.diff L

[clang] 8d45d6e - [Frontend] Drop unneeded CC1 options

2020-04-21 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-04-21T19:59:28-07:00 New Revision: 8d45d6e39d5cfd1196b8601704ff8066b809e3c7 URL: https://github.com/llvm/llvm-project/commit/8d45d6e39d5cfd1196b8601704ff8066b809e3c7 DIFF: https://github.com/llvm/llvm-project/commit/8d45d6e39d5cfd1196b8601704ff8066b809e3c7.diff

[clang] 14aaf44 - [Sema] Split off warn_impcast_integer_float_precision_constant into -Wimplicit-const-int-float-conversion

2020-04-23 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-04-23T18:26:06-07:00 New Revision: 14aaf4457c641bd5130072ba2a035e254b92fad3 URL: https://github.com/llvm/llvm-project/commit/14aaf4457c641bd5130072ba2a035e254b92fad3 DIFF: https://github.com/llvm/llvm-project/commit/14aaf4457c641bd5130072ba2a035e254b92fad3.diff

[clang] 2c3ee88 - [Sema][test] Fix implicit-int-float-conversion.c on Windows

2020-04-23 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-04-23T18:52:04-07:00 New Revision: 2c3ee8812c14ab13203de22e0d0ece90f4a8291e URL: https://github.com/llvm/llvm-project/commit/2c3ee8812c14ab13203de22e0d0ece90f4a8291e DIFF: https://github.com/llvm/llvm-project/commit/2c3ee8812c14ab13203de22e0d0ece90f4a8291e.diff

[clang] 6395980 - [Driver] Move GCC multilib/multiarch paths support from Linux.cpp to Gnu.cpp

2020-04-24 Thread Fangrui Song via cfe-commits
Author: Samuel Thibault Date: 2020-04-24T09:33:19-07:00 New Revision: 63959803702c66cbd72f6526f43914039c1a027b URL: https://github.com/llvm/llvm-project/commit/63959803702c66cbd72f6526f43914039c1a027b DIFF: https://github.com/llvm/llvm-project/commit/63959803702c66cbd72f6526f43914039c1a027b.dif

[clang] 0852bab - Fix test/Misc/warning-flags.c after 5c03beefa720bddb3e3f53c595a76bce7ad50f37

2020-04-27 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-04-27T10:18:48-07:00 New Revision: 0852babc3052b39a99be86c7075d975e1e89e5c2 URL: https://github.com/llvm/llvm-project/commit/0852babc3052b39a99be86c7075d975e1e89e5c2 DIFF: https://github.com/llvm/llvm-project/commit/0852babc3052b39a99be86c7075d975e1e89e5c2.diff

[clang] fcf8ada - [Driver] Render -e for Gnu.cpp

2020-07-30 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-07-30T23:49:32-07:00 New Revision: fcf8ada18f9cfb1261262e4b0399ae9ab40451f8 URL: https://github.com/llvm/llvm-project/commit/fcf8ada18f9cfb1261262e4b0399ae9ab40451f8 DIFF: https://github.com/llvm/llvm-project/commit/fcf8ada18f9cfb1261262e4b0399ae9ab40451f8.diff

[clang] c06e22f - [Driver] Exclude options::LinkerInput for GCC linking

2020-07-31 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-07-31T00:04:09-07:00 New Revision: c06e22fe07aa5eb8a9f8ce824cbab1bfe5a96581 URL: https://github.com/llvm/llvm-project/commit/c06e22fe07aa5eb8a9f8ce824cbab1bfe5a96581 DIFF: https://github.com/llvm/llvm-project/commit/c06e22fe07aa5eb8a9f8ce824cbab1bfe5a96581.diff

[clang] c41a18c - [CMake] Default ENABLE_X86_RELAX_RELOCATIONS to ON

2020-08-02 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-08-02T23:06:31-07:00 New Revision: c41a18cf61790fc898dcda1055c3efbf442c14c0 URL: https://github.com/llvm/llvm-project/commit/c41a18cf61790fc898dcda1055c3efbf442c14c0 DIFF: https://github.com/llvm/llvm-project/commit/c41a18cf61790fc898dcda1055c3efbf442c14c0.diff

[clang] 7cf4603 - Reland D61689 Change -gz and -Wa,--compress-debug-sections to use gABI compression (SHF_COMPRESSED) with integrated assembler

2020-08-03 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-08-03T15:12:01-07:00 New Revision: 7cf4603faee366a6e5860b6fdbedadd91872e231 URL: https://github.com/llvm/llvm-project/commit/7cf4603faee366a6e5860b6fdbedadd91872e231 DIFF: https://github.com/llvm/llvm-project/commit/7cf4603faee366a6e5860b6fdbedadd91872e231.diff

[clang] 57a1c1b - [Sema] Allow function attribute patchable_function_entry on aarch64_be

2020-05-06 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-05-06T10:10:25-07:00 New Revision: 57a1c1be53aeea521747dd2f4b0097831341bea5 URL: https://github.com/llvm/llvm-project/commit/57a1c1be53aeea521747dd2f4b0097831341bea5 DIFF: https://github.com/llvm/llvm-project/commit/57a1c1be53aeea521747dd2f4b0097831341bea5.diff

[clang] e1815eb - [Driver] Reorganize --coverage -ftest-coverage -fprofile-arcs related tests

2020-05-08 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-05-08T16:06:33-07:00 New Revision: e1815eb2e1016d74ed8f8e2f459182886cacf733 URL: https://github.com/llvm/llvm-project/commit/e1815eb2e1016d74ed8f8e2f459182886cacf733 DIFF: https://github.com/llvm/llvm-project/commit/e1815eb2e1016d74ed8f8e2f459182886cacf733.diff

[clang] 0d4a33b - [Driver] Don't warn -Wunused-command-line-argument for --coverage -ftest-coverage -fprofile-arcs

2020-05-08 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-05-08T16:31:15-07:00 New Revision: 0d4a33ba61b7f1622eda4ec60c74a7eb7b1fcbcf URL: https://github.com/llvm/llvm-project/commit/0d4a33ba61b7f1622eda4ec60c74a7eb7b1fcbcf DIFF: https://github.com/llvm/llvm-project/commit/0d4a33ba61b7f1622eda4ec60c74a7eb7b1fcbcf.diff

[clang] 9a11174 - [Driver] Add -fno-test-coverage

2020-05-08 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-05-08T17:01:53-07:00 New Revision: 9a11174287c78e6f807823fdfbdf4c27c0cad3d9 URL: https://github.com/llvm/llvm-project/commit/9a11174287c78e6f807823fdfbdf4c27c0cad3d9 DIFF: https://github.com/llvm/llvm-project/commit/9a11174287c78e6f807823fdfbdf4c27c0cad3d9.diff

[clang] 6bf0ad7 - [Driver] Don't pass -u__llvm_profile_runtime for clang -fprofile-arcs a.o

2020-05-08 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-05-08T23:36:29-07:00 New Revision: 6bf0ad78dc01020c9036ad49de2e0f4d59b6def9 URL: https://github.com/llvm/llvm-project/commit/6bf0ad78dc01020c9036ad49de2e0f4d59b6def9 DIFF: https://github.com/llvm/llvm-project/commit/6bf0ad78dc01020c9036ad49de2e0f4d59b6def9.diff

[clang] 13a633b - [gcov] Delete CC1 option -coverage-no-function-names-in-data

2020-05-10 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-05-10T12:37:44-07:00 New Revision: 13a633b438b6500ecad9e4f936ebadf3411d0f44 URL: https://github.com/llvm/llvm-project/commit/13a633b438b6500ecad9e4f936ebadf3411d0f44 DIFF: https://github.com/llvm/llvm-project/commit/13a633b438b6500ecad9e4f936ebadf3411d0f44.diff

[clang] 25544ce - [gcov] Default coverage version to '407*' and delete CC1 option -coverage-cfg-checksum

2020-05-10 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-05-10T16:14:07-07:00 New Revision: 25544ce2df0daa4304c07e64b9c8b0f7df60c11d URL: https://github.com/llvm/llvm-project/commit/25544ce2df0daa4304c07e64b9c8b0f7df60c11d DIFF: https://github.com/llvm/llvm-project/commit/25544ce2df0daa4304c07e64b9c8b0f7df60c11d.diff

[clang] b56b1e6 - [gcov] Default coverage version to '408*' and delete CC1 option -coverage-exit-block-before-body

2020-05-12 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-05-12T09:14:03-07:00 New Revision: b56b1e67e38e5f18318b411587a952bc7c586ac4 URL: https://github.com/llvm/llvm-project/commit/b56b1e67e38e5f18318b411587a952bc7c586ac4 DIFF: https://github.com/llvm/llvm-project/commit/b56b1e67e38e5f18318b411587a952bc7c586ac4.diff

[clang] 25a95f4 - [gcov][test] Fix clang test

2020-05-12 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-05-12T09:21:19-07:00 New Revision: 25a95f49b07ff5796f4dfc3d4c05e4c09c6bef4d URL: https://github.com/llvm/llvm-project/commit/25a95f49b07ff5796f4dfc3d4c05e4c09c6bef4d DIFF: https://github.com/llvm/llvm-project/commit/25a95f49b07ff5796f4dfc3d4c05e4c09c6bef4d.diff

[clang] 5ecb514 - [Driver] Pass -plugin-opt=O2 for -Os -Oz and -plugin-opt=O1 for -Og

2020-05-14 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-05-14T10:37:33-07:00 New Revision: 5ecb51414637402b0f89a96924ac7b015d23bcfa URL: https://github.com/llvm/llvm-project/commit/5ecb51414637402b0f89a96924ac7b015d23bcfa DIFF: https://github.com/llvm/llvm-project/commit/5ecb51414637402b0f89a96924ac7b015d23bcfa.diff

[clang] 3841ed4 - [Driver] Render -T for Gnu.cpp

2020-05-16 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-05-16T23:54:31-07:00 New Revision: 3841ed4104ac32eae7305d07e4558ea607fa69f3 URL: https://github.com/llvm/llvm-project/commit/3841ed4104ac32eae7305d07e4558ea607fa69f3 DIFF: https://github.com/llvm/llvm-project/commit/3841ed4104ac32eae7305d07e4558ea607fa69f3.diff

[clang] 8290440 - Map -O to -O1 instead of -O2

2020-05-18 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2020-05-18T15:53:41-07:00 New Revision: 82904401e3278c3f3a54481d6cd06cc43b801e3b URL: https://github.com/llvm/llvm-project/commit/82904401e3278c3f3a54481d6cd06cc43b801e3b DIFF: https://github.com/llvm/llvm-project/commit/82904401e3278c3f3a54481d6cd06cc43b801e3b.diff

[clang] a284f9f - [Driver] Don't pass --enable-new-dtags to ld for Android/openSUSE

2022-08-28 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-08-28T11:38:40-07:00 New Revision: a284f9febd9b8d7b2261f6c1db658292d03490a0 URL: https://github.com/llvm/llvm-project/commit/a284f9febd9b8d7b2261f6c1db658292d03490a0 DIFF: https://github.com/llvm/llvm-project/commit/a284f9febd9b8d7b2261f6c1db658292d03490a0.diff

[clang] 95dcaef - [Driver][Linux] Pass --hash-style=gnu to ld unless special cased

2022-08-28 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-08-28T12:13:01-07:00 New Revision: 95dcaef00379e893dabc61cf598fe51c9d03414e URL: https://github.com/llvm/llvm-project/commit/95dcaef00379e893dabc61cf598fe51c9d03414e DIFF: https://github.com/llvm/llvm-project/commit/95dcaef00379e893dabc61cf598fe51c9d03414e.diff

[clang] 66f3e90 - [Driver][test] Test -dumpmachine

2022-08-31 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-08-31T10:31:45-07:00 New Revision: 66f3e90cf8225333273bfaddc1a7f832fe0c263d URL: https://github.com/llvm/llvm-project/commit/66f3e90cf8225333273bfaddc1a7f832fe0c263d DIFF: https://github.com/llvm/llvm-project/commit/66f3e90cf8225333273bfaddc1a7f832fe0c263d.diff

[clang] 98615fd - [Driver] Remove Joined -X

2022-08-31 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-08-31T17:30:51-07:00 New Revision: 98615fd376cea15af21e120e0e3ffa5ba68c2b6d URL: https://github.com/llvm/llvm-project/commit/98615fd376cea15af21e120e0e3ffa5ba68c2b6d DIFF: https://github.com/llvm/llvm-project/commit/98615fd376cea15af21e120e0e3ffa5ba68c2b6d.diff

[clang] 23ce683 - [Driver] Remove Joined -Z and err_drv_use_of_Z_option

2022-08-31 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-08-31T17:58:04-07:00 New Revision: 23ce683eea358f0cf82ef51692bba6c86ffcf4a8 URL: https://github.com/llvm/llvm-project/commit/23ce683eea358f0cf82ef51692bba6c86ffcf4a8 DIFF: https://github.com/llvm/llvm-project/commit/23ce683eea358f0cf82ef51692bba6c86ffcf4a8.diff

[clang] 58a4b4f - [Driver][test] Fix incorrect -arch= -amx-int8

2022-08-31 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-08-31T18:13:16-07:00 New Revision: 58a4b4fcebf45eecafab00d006de019d76f828d8 URL: https://github.com/llvm/llvm-project/commit/58a4b4fcebf45eecafab00d006de019d76f828d8 DIFF: https://github.com/llvm/llvm-project/commit/58a4b4fcebf45eecafab00d006de019d76f828d8.diff

[clang] 08d9912 - [Driver] Remove unimplemented Joined -a / --profile-blocks

2022-08-31 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-08-31T18:13:16-07:00 New Revision: 08d9912d1c599b5d79d4f2cd6f6be2cdb2bbfa83 URL: https://github.com/llvm/llvm-project/commit/08d9912d1c599b5d79d4f2cd6f6be2cdb2bbfa83 DIFF: https://github.com/llvm/llvm-project/commit/08d9912d1c599b5d79d4f2cd6f6be2cdb2bbfa83.diff

[clang] e05edb1 - [Driver] Unsupport --print-multiarch

2022-09-02 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-02T09:51:02-07:00 New Revision: e05edb19adbfd1b24f58d583e4b5b4d742f982ee URL: https://github.com/llvm/llvm-project/commit/e05edb19adbfd1b24f58d583e4b5b4d742f982ee DIFF: https://github.com/llvm/llvm-project/commit/e05edb19adbfd1b24f58d583e4b5b4d742f982ee.diff

[clang] 1a4d851 - [MinGW] Ignore -fvisibility/-fvisibility-inlines-hidden for dllexport

2022-09-02 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-02T09:59:16-07:00 New Revision: 1a4d851d272d141fb39ff9a0b2572dfa4411c5c5 URL: https://github.com/llvm/llvm-project/commit/1a4d851d272d141fb39ff9a0b2572dfa4411c5c5 DIFF: https://github.com/llvm/llvm-project/commit/1a4d851d272d141fb39ff9a0b2572dfa4411c5c5.diff

[clang] a931edd - [docs] Regenerate clang/docs/ClangCommandLineReference.rst

2022-09-02 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-02T10:29:38-07:00 New Revision: a931eddd09145c340966db0561159a8e7cdb212e URL: https://github.com/llvm/llvm-project/commit/a931eddd09145c340966db0561159a8e7cdb212e DIFF: https://github.com/llvm/llvm-project/commit/a931eddd09145c340966db0561159a8e7cdb212e.diff

[clang] 8899c3c - [docs] -fivisibility= allows protected and internal

2022-09-02 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-02T10:49:10-07:00 New Revision: 8899c3c4e15ea3681b0c423b44313163f5370abd URL: https://github.com/llvm/llvm-project/commit/8899c3c4e15ea3681b0c423b44313163f5370abd DIFF: https://github.com/llvm/llvm-project/commit/8899c3c4e15ea3681b0c423b44313163f5370abd.diff

[clang] 1491282 - [clang] Change cc1 -fvisibility's canonical spelling to -fvisibility=

2022-09-02 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-02T11:49:38-07:00 New Revision: 1491282165bfb87b15bd806ab53b3e9910ee7b29 URL: https://github.com/llvm/llvm-project/commit/1491282165bfb87b15bd806ab53b3e9910ee7b29 DIFF: https://github.com/llvm/llvm-project/commit/1491282165bfb87b15bd806ab53b3e9910ee7b29.diff

[clang] 7474214 - [test] Change cc1 -fvisibility to -fvisibility=

2022-09-02 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-02T12:36:44-07:00 New Revision: 74742147ee27659dc3b0bc713d61ea9218bf29d0 URL: https://github.com/llvm/llvm-project/commit/74742147ee27659dc3b0bc713d61ea9218bf29d0 DIFF: https://github.com/llvm/llvm-project/commit/74742147ee27659dc3b0bc713d61ea9218bf29d0.diff

[clang] 2f7da9d - [Driver] Remove cc1 Separate form -fvisibility

2022-09-02 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-02T12:40:00-07:00 New Revision: 2f7da9d317c9e390aee1f68cdcf4da48e180aec4 URL: https://github.com/llvm/llvm-project/commit/2f7da9d317c9e390aee1f68cdcf4da48e180aec4 DIFF: https://github.com/llvm/llvm-project/commit/2f7da9d317c9e390aee1f68cdcf4da48e180aec4.diff

[clang] a2ef765 - [Driver] Change some cc1 only JoinedOrSeparate long options to Separate

2022-09-03 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-03T10:45:30-07:00 New Revision: a2ef7654ec2e907f84a876b1cf5d37fc87754de7 URL: https://github.com/llvm/llvm-project/commit/a2ef7654ec2e907f84a876b1cf5d37fc87754de7 DIFF: https://github.com/llvm/llvm-project/commit/a2ef7654ec2e907f84a876b1cf5d37fc87754de7.diff

[clang] 89df4e4 - [Driver] Remove unused -Ttext -Tdata -Tbss

2022-09-03 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-03T10:57:29-07:00 New Revision: 89df4e4825ee6136bebbe5f70de29eb80456aaa4 URL: https://github.com/llvm/llvm-project/commit/89df4e4825ee6136bebbe5f70de29eb80456aaa4 DIFF: https://github.com/llvm/llvm-project/commit/89df4e4825ee6136bebbe5f70de29eb80456aaa4.diff

[clang] 83ea47a - [test] Make tests pass regardless of gnu++14/gnu++17 default

2022-09-03 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-04T05:29:32Z New Revision: 83ea47acd7116bf50274534ba9b3bd3035c01da6 URL: https://github.com/llvm/llvm-project/commit/83ea47acd7116bf50274534ba9b3bd3035c01da6 DIFF: https://github.com/llvm/llvm-project/commit/83ea47acd7116bf50274534ba9b3bd3035c01da6.diff LOG:

[clang] 36a1ca5 - [ASTReader] Fix -Wunused-private-field in non-assertion builds after D128490. NFC

2022-09-04 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-04T23:48:55-07:00 New Revision: 36a1ca5835e0f7e0e02899d97cd2e4c7bf704361 URL: https://github.com/llvm/llvm-project/commit/36a1ca5835e0f7e0e02899d97cd2e4c7bf704361 DIFF: https://github.com/llvm/llvm-project/commit/36a1ca5835e0f7e0e02899d97cd2e4c7bf704361.diff

[clang] 91d8324 - [MinGW] Reject explicit non-default visibility applied to dllexport/dllimport declaration

2022-09-05 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-05T10:17:19-07:00 New Revision: 91d8324366f405e871aa8174ab61fc66912964dd URL: https://github.com/llvm/llvm-project/commit/91d8324366f405e871aa8174ab61fc66912964dd DIFF: https://github.com/llvm/llvm-project/commit/91d8324366f405e871aa8174ab61fc66912964dd.diff

[clang] e321c8d - C++/ObjC++: switch to gnu++17 as the default standard

2022-09-07 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-07T14:17:52-07:00 New Revision: e321c8dd2cea8365045ed44ae1c3c00c6a977d2e URL: https://github.com/llvm/llvm-project/commit/e321c8dd2cea8365045ed44ae1c3c00c6a977d2e DIFF: https://github.com/llvm/llvm-project/commit/e321c8dd2cea8365045ed44ae1c3c00c6a977d2e.diff

[clang] bc502d9 - Revert D133266 "[MinGW] Reject explicit non-default visibility applied to dllexport/dllimport declaration"

2022-09-07 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-07T16:06:19-07:00 New Revision: bc502d9c24f8fce3b90e3fe8a8a9ca18894e68cb URL: https://github.com/llvm/llvm-project/commit/bc502d9c24f8fce3b90e3fe8a8a9ca18894e68cb DIFF: https://github.com/llvm/llvm-project/commit/bc502d9c24f8fce3b90e3fe8a8a9ca18894e68cb.diff

[clang] 3e99b8d - C++/ObjC++: switch to gnu++17 as the default standard

2022-09-08 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-08T08:22:04Z New Revision: 3e99b8d947ac024831e59be2b604ac67a24fed94 URL: https://github.com/llvm/llvm-project/commit/3e99b8d947ac024831e59be2b604ac67a24fed94 DIFF: https://github.com/llvm/llvm-project/commit/3e99b8d947ac024831e59be2b604ac67a24fed94.diff LOG:

[clang] a0365ab - [Driver] Support -gz=zstd

2022-09-08 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-08T01:39:06-07:00 New Revision: a0365abad8113d7e60294c5e581c24ec06ba037e URL: https://github.com/llvm/llvm-project/commit/a0365abad8113d7e60294c5e581c24ec06ba037e DIFF: https://github.com/llvm/llvm-project/commit/a0365abad8113d7e60294c5e581c24ec06ba037e.diff

[clang] 49c2898 - [AST/Interp] Fix latent unitialized use of memory bug in D64146

2022-09-08 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-08T13:39:30-07:00 New Revision: 49c289879c7aa9737429f7342c7149a8ba958667 URL: https://github.com/llvm/llvm-project/commit/49c289879c7aa9737429f7342c7149a8ba958667 DIFF: https://github.com/llvm/llvm-project/commit/49c289879c7aa9737429f7342c7149a8ba958667.diff

[clang] 2f23dc9 - [AST/Interp] Fix left shift overflow bug in D64146

2022-09-08 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-08T13:49:07-07:00 New Revision: 2f23dc9127e6c0ef392f163cbaa58afcb7b61a09 URL: https://github.com/llvm/llvm-project/commit/2f23dc9127e6c0ef392f163cbaa58afcb7b61a09 DIFF: https://github.com/llvm/llvm-project/commit/2f23dc9127e6c0ef392f163cbaa58afcb7b61a09.diff

[clang] 48203b3 - Revert D130308 "[clang] extend getCommonSugaredType to merge sugar nodes"

2022-09-08 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-08T15:09:39-07:00 New Revision: 48203b327d8ddf2cb785a1ac30b3cd9fa1e54b44 URL: https://github.com/llvm/llvm-project/commit/48203b327d8ddf2cb785a1ac30b3cd9fa1e54b44 DIFF: https://github.com/llvm/llvm-project/commit/48203b327d8ddf2cb785a1ac30b3cd9fa1e54b44.diff

[clang] 781dea0 - [Support] Rename DebugCompressionType::Z to Zlib

2022-09-08 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-08T16:11:29-07:00 New Revision: 781dea021a4a38aed89ea0cbf8c0d3641b16d56d URL: https://github.com/llvm/llvm-project/commit/781dea021a4a38aed89ea0cbf8c0d3641b16d56d DIFF: https://github.com/llvm/llvm-project/commit/781dea021a4a38aed89ea0cbf8c0d3641b16d56d.diff

[clang] 4d4ca6c - [Driver] Rename Z to Zlib

2022-09-08 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-08T16:14:31-07:00 New Revision: 4d4ca6c9d036a06bf0723786112dd17e491b2f53 URL: https://github.com/llvm/llvm-project/commit/4d4ca6c9d036a06bf0723786112dd17e491b2f53 DIFF: https://github.com/llvm/llvm-project/commit/4d4ca6c9d036a06bf0723786112dd17e491b2f53.diff

[clang] 1f6a86b - [cc1as] Support --compress-debug-sections=zstd

2022-09-08 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-08T16:31:45-07:00 New Revision: 1f6a86b3097855d321438718daa8b98c58db8137 URL: https://github.com/llvm/llvm-project/commit/1f6a86b3097855d321438718daa8b98c58db8137 DIFF: https://github.com/llvm/llvm-project/commit/1f6a86b3097855d321438718daa8b98c58db8137.diff

[clang] d8c09b7 - Revert D111509 "[clang] use getCommonSugar in an assortment of places"

2022-09-08 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-08T17:09:18-07:00 New Revision: d8c09b7bbc09ca5c08299edbf7d32631d3e5bcb8 URL: https://github.com/llvm/llvm-project/commit/d8c09b7bbc09ca5c08299edbf7d32631d3e5bcb8 DIFF: https://github.com/llvm/llvm-project/commit/d8c09b7bbc09ca5c08299edbf7d32631d3e5bcb8.diff

[clang] 6f9c485 - [MinGW] Reject explicit hidden visibility applied to dllexport and hidden/protected applied to dllimport

2022-09-12 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2022-09-12T15:56:36-07:00 New Revision: 6f9c4851ab7c729812bc8f48b19de3f84a64f6f0 URL: https://github.com/llvm/llvm-project/commit/6f9c4851ab7c729812bc8f48b19de3f84a64f6f0 DIFF: https://github.com/llvm/llvm-project/commit/6f9c4851ab7c729812bc8f48b19de3f84a64f6f0.diff

[mlir] [flang] [lld] [llvm] [clang] [ELF] Merge exportDynamic into versionId (PR #71272)

2023-11-06 Thread Fangrui Song via cfe-commits
@@ -316,9 +308,25 @@ class Symbol { // This field is a index to the symbol's version definition. uint16_t verdefIndex; - // Version definition index. - uint16_t versionId; + // Used by a Defined symbol with protected or default visibility, to record + // the verdef ind

[clang] [mlir] [lld] [flang] [llvm] [ELF] Merge exportDynamic into versionId (PR #71272)

2023-11-06 Thread Fangrui Song via cfe-commits
MaskRay wrote: > I think it makes sense to reuse the field if we can save a flag. The > potential for someone to use the versionId as an index, or otherwise misuse > it in the future makes me a bit nervous. > > A possible alternative is to use a different name for the versionId, say > dynamicV

[clang] Driver: Accept the --gcc-install-dir option multiple times (PR #71446)

2023-11-06 Thread Fangrui Song via cfe-commits
MaskRay wrote: > The downside of the --gcc-install-dir is that you are required to specify a > path that includes the gcc major version. This makes it hard to use for > distributions in configuration files, because an upgrade of gcc would cause > clang to stop working. --gcc-install-dir speci

[clang] [Driver][BoundsSafety] Add -fbounds-safety-experimental flag (PR #70480)

2023-11-06 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay requested changes to this pull request. https://github.com/llvm/llvm-project/pull/70480 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver][BoundsSafety] Add -fbounds-safety-experimental flag (PR #70480)

2023-11-06 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/70480 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver][BoundsSafety] Add -fbounds-safety-experimental flag (PR #70480)

2023-11-06 Thread Fangrui Song via cfe-commits
@@ -3618,6 +3618,27 @@ void CompilerInvocationBase::GenerateLangArgs(const LangOptions &Opts, GenerateArg(Consumer, OPT_frandomize_layout_seed_EQ, Opts.RandstructSeed); } +static void CheckBoundsSafetyLang(InputKind IK, DiagnosticsEngine &Diags) { MaskRay

[clang] [Driver][BoundsSafety] Add -fbounds-safety-experimental flag (PR #70480)

2023-11-06 Thread Fangrui Song via cfe-commits
@@ -1412,6 +1412,9 @@ def FunctionMultiVersioning def NoDeref : DiagGroup<"noderef">; +// Bounds safety specific warnings +def IgnoredBoundsSafety : DiagGroup<"ignored-bounds-safety">; MaskRay wrote: This is `-Wignored-bounds-safety` is not used. https://gi

[clang] [Driver][BoundsSafety] Add -fbounds-safety-experimental flag (PR #70480)

2023-11-06 Thread Fangrui Song via cfe-commits
MaskRay wrote: > [Driver][BoundsSafety] Add -fbounds-safety-experimental flag #70480 The patch implements `-fexperimental-bounds-safety` https://github.com/llvm/llvm-project/pull/70480 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://li

[clang] Driver: Accept the --gcc-install-dir option multiple times (PR #71446)

2023-11-06 Thread Fangrui Song via cfe-commits
MaskRay wrote: I think I have expressed I wanted to say... The new probing semantics seems really unusual to me. I do not feel that how path-related options usually behave. https://github.com/llvm/llvm-project/pull/71446 ___ cfe-commits mailing list

[flang] [mlir] [clang] [lld] [llvm] [ELF] Merge exportDynamic into versionId (PR #71272)

2023-11-07 Thread Fangrui Song via cfe-commits
@@ -2518,9 +2521,9 @@ static void combineVersionedSymbol(Symbol &sym, sym.symbolKind = Symbol::PlaceholderKind; sym.isUsedInRegularObj = false; } else if (auto *sym1 = dyn_cast(&sym)) { -if (sym2->versionId > VER_NDX_GLOBAL -? config->versionDefinition

[clang] [clang] Enable --gcc-install-dir for RISCV baremetal toolchains (PR #71803)

2023-11-09 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay requested changes to this pull request. . https://github.com/llvm/llvm-project/pull/71803 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Enable --gcc-install-dir for RISCV baremetal toolchains (PR #71803)

2023-11-09 Thread Fangrui Song via cfe-commits
MaskRay wrote: A user has recently asked me about `RISCVToolChain` and I am puzzled by its behavior. Why is the return value of `RISCVToolChain::hasGCCToolchain` used to choose `toolchains::RISCVToolChain` or `toolchains::BareMetal`? The logic should be decided by the target triple, not wheth

[clang] [clang] Enable --gcc-install-dir for RISCV baremetal toolchains (PR #71803)

2023-11-09 Thread Fangrui Song via cfe-commits
MaskRay wrote: I am not familiar with RISC-V baremetal toolchains, but this toolchain gave me a feeling of "there is a lot of fragmentation in this area. However, we as a vendor upstreamed first what we did to clang/lib/Driver/ToolChains/RISCVToolchain.cpp and made it apply to all target trip

[clang] [clang] Add information about lld presence in RISCVToolchain. (PR #68904)

2023-11-09 Thread Fangrui Song via cfe-commits
MaskRay wrote: > @MaskRay, could you please look into this? Sorry for my late reply. I am still adapting to the github pr workflow. Related to the linker question you have, I am puzzled by RISCVToolChain's choices: https://github.com/llvm/llvm-project/pull/71803#issuecomment-180464 https:

[clang] [CodeGen] -fsanitize=alignment: add cl::opt sanitize-alignment-builtin to disable memcpy instrumentation (PR #69240)

2023-11-09 Thread Fangrui Song via cfe-commits
MaskRay wrote: I plan to revert this workaround soon. https://github.com/llvm/llvm-project/pull/69240 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Driver][BoundsSafety] Add -fexperimental-bounds-safety flag (PR #70480)

2023-11-09 Thread Fangrui Song via cfe-commits
MaskRay wrote: It depends whether an option leads to a warning or is silently ignored for a language that is not implemented. Many options are silently ignored. For example, -faligned-new and -fexceptions are silently ignored. Sometimes, it is useful report a warning/error to prevent misuses.

[compiler-rt] [mlir] [llvm] [clang] [clang-tools-extra] [flang] [lldb] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-09 Thread Fangrui Song via cfe-commits
@@ -0,0 +1,9 @@ +// RUN: %clang_cc1 -fprofile-instrument=clang -fcoverage-mapping -emit-llvm -o - %s | FileCheck %s +// RUN: %clang_cc1 -mllvm -profile-correlate=binary -fprofile-instrument=clang -fcoverage-mapping -emit-llvm -o - %s | FileCheck %s --check-prefix=BIN-CORRELATE

[flang] [compiler-rt] [lldb] [clang] [llvm] [mlir] [clang-tools-extra] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-09 Thread Fangrui Song via cfe-commits
@@ -195,8 +195,14 @@ OPTIONS .. option:: --debug-info= Specify the executable or ``.dSYM`` that contains debug info for the raw profile. - When ``-debug-info-correlate`` was used for instrumentation, use this option - to correlate the raw profile. + When ``-profile-correlate

[clang-tools-extra] [llvm] [lldb] [flang] [mlir] [clang] [compiler-rt] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-09 Thread Fangrui Song via cfe-commits
@@ -1341,20 +1344,26 @@ void InstrProfiling::createDataVariable(InstrProfCntrInstBase *Inc, } auto *Data = new GlobalVariable(*M, DataTy, false, Linkage, nullptr, DataVarName); - // Reference the counter variable with a label difference (link-time - // constant). -

[clang-tools-extra] [compiler-rt] [flang] [llvm] [lldb] [mlir] [clang] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-09 Thread Fangrui Song via cfe-commits
@@ -1829,6 +1833,22 @@ void CoverageMappingModuleGen::emit() { llvm::GlobalValue::InternalLinkage, NamesArrVal, llvm::getCoverageUnusedNamesVarName()); } + const StringRef VarName(INSTR_PROF_QUOTE(INSTR_PROF_RAW_VERSI

[clang-tools-extra] [compiler-rt] [flang] [llvm] [lldb] [mlir] [clang] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-09 Thread Fangrui Song via cfe-commits
@@ -1331,6 +1336,18 @@ static int merge_main(int argc, const char *argv[]) { "(default: 1)")); cl::ParseCommandLineOptions(argc, argv, "LLVM profile data merger\n"); + if (!DebugInfoFilename.empty() && !BinaryFilename.empty()) { +exitWithError("Expect

[compiler-rt] [clang-tools-extra] [lldb] [clang] [flang] [mlir] [llvm] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-09 Thread Fangrui Song via cfe-commits
@@ -0,0 +1,11 @@ +; RUN: opt < %s -passes=instrprof -profile-correlate=binary -S | FileCheck %s MaskRay wrote: This isn't clear how `__profd_foo` is different from `-profile-correlate=none`. This test can be added to `coverage.ll` as a new RUN line https://gith

[compiler-rt] [lldb] [llvm] [flang] [clang] [mlir] [clang-tools-extra] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-09 Thread Fangrui Song via cfe-commits
@@ -1331,6 +1336,18 @@ static int merge_main(int argc, const char *argv[]) { "(default: 1)")); cl::ParseCommandLineOptions(argc, argv, "LLVM profile data merger\n"); + if (!DebugInfoFilename.empty() && !BinaryFilename.empty()) { +exitWithError("Expect

[compiler-rt] [llvm] [flang] [clang-tools-extra] [mlir] [lldb] [clang] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-09 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay commented: The comment `The data and names sections are omitted in lightweight mode.` in compiler-rt should be updated since binary correlation is different from the lightweight mode https://github.com/llvm/llvm-project/pull/69493

[clang-tools-extra] [clang] [lldb] [compiler-rt] [flang] [mlir] [llvm] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-09 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/69493 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[flang] [clang] [mlir] [lldb] [clang-tools-extra] [llvm] [compiler-rt] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-09 Thread Fangrui Song via cfe-commits
@@ -46,14 +73,38 @@ const char *InstrProfCorrelator::NumCountersAttributeName = "Num Counters"; llvm::Expected> InstrProfCorrelator::Context::get(std::unique_ptr Buffer, - const object::ObjectFile &Obj) { + con

[lldb] [compiler-rt] [flang] [llvm] [clang] [clang-tools-extra] [mlir] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-09 Thread Fangrui Song via cfe-commits
@@ -0,0 +1,46 @@ +// REQUIRES: linux || windows +// Default +// RUN: %clang -o %t.normal -fprofile-instr-generate -fcoverage-mapping -fuse-ld=lld %S/Inputs/instrprof-debug-info-correlate-main.cpp %S/Inputs/instrprof-debug-info-correlate-foo.cpp +// RUN: env LLVM_PROFILE_FILE=%t.

[lldb] [clang-tools-extra] [flang] [mlir] [clang] [llvm] [compiler-rt] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-09 Thread Fangrui Song via cfe-commits
@@ -0,0 +1,46 @@ +// REQUIRES: linux || windows MaskRay wrote: Add `// REQUIRES: lld-available` https://github.com/llvm/llvm-project/pull/69493 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm

[lldb] [clang-tools-extra] [flang] [mlir] [clang] [llvm] [compiler-rt] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-09 Thread Fangrui Song via cfe-commits
MaskRay wrote: The patch does not apply cleanly at HEAD. The fix-up commit `resolve conflict` contains the rebased part and a lot of unrelated changes. I think in this case, it's cleaner to squash all the commits and force push to `binary-correlate`. (Force push is fine with me: https://disco

[clang] [clang-tools-extra] [mlir] [lldb] [llvm] [flang] [compiler-rt] [Profile] Add binary profile correlation to offload profile metadata at runtime. (PR #69493)

2023-11-09 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/69493 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] 557b064 - Reorder HipStdPar.h after D155856. NFC

2023-11-09 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2023-11-09T23:10:49-08:00 New Revision: 557b064dbfb6da837e1aa40fd481ed6e71e29f2c URL: https://github.com/llvm/llvm-project/commit/557b064dbfb6da837e1aa40fd481ed6e71e29f2c DIFF: https://github.com/llvm/llvm-project/commit/557b064dbfb6da837e1aa40fd481ed6e71e29f2c.diff

[clang] 50a48d8 - CodeGenPGO: simplify. NFC

2023-11-09 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2023-11-09T23:24:51-08:00 New Revision: 50a48d8c26e8a46d2a3ce5ffdda060e851d65dc4 URL: https://github.com/llvm/llvm-project/commit/50a48d8c26e8a46d2a3ce5ffdda060e851d65dc4 DIFF: https://github.com/llvm/llvm-project/commit/50a48d8c26e8a46d2a3ce5ffdda060e851d65dc4.diff

[libc] [lldb] [compiler-rt] [clang-tools-extra] [flang] [lld] [libcxx] [llvm] [clang] [asan] Report executable/DSO name for report_globals=2 and odr-violation checking (PR #71879)

2023-11-10 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/71879 >From 573a5c0ea74284f572cb1cff7e8d3e2d9cac210b Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 9 Nov 2023 15:17:25 -0800 Subject: [PATCH 1/3] [asan] Report executable/DSO name for report_globals=2 and odr

[llvm] [compiler-rt] [clang] [Profile] Refactor profile correlation. (PR #70856)

2023-11-10 Thread Fangrui Song via cfe-commits
MaskRay wrote: I am nervous with new `if (hasCorrelation())` conditions as well. If you use the same name for a non-SHF_ALLOC section and a SHF_ALLOC section, the linked output has the SHF_ALLOC flag and you cannot tell what components were non-SHF_ALLOC. ``` .section aa,"",@progbits,unique,1

[clang-tools-extra] [libcxx] [lldb] [flang] [lld] [llvm] [libc] [clang] [compiler-rt] [asan] Report executable/DSO name for report_globals=2 and odr-violation checking (PR #71879)

2023-11-10 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay closed https://github.com/llvm/llvm-project/pull/71879 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Enable --gcc-install-dir for RISCV baremetal toolchains (PR #71803)

2023-11-11 Thread Fangrui Song via cfe-commits
MaskRay wrote: Thanks for the pointer. However, the description doesn't appear to have sufficient information to justify the `--gcc-toolchain=` dependent decision. A toolchain should be selected completely from the target triple. I think `RISCVToolChain` should be adjusted to either select a d

[clang] [compiler-rt] [llvm] [lld] [libc] [clang-tools-extra] [flang] [lldb] [libcxx] MapVector: add C++17-style try_emplace and insert_or_assign (PR #71969)

2023-11-12 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay updated https://github.com/llvm/llvm-project/pull/71969 >From ceb7d2236df5ffedcddc2c5b0bbed1c3d0db7c43 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 9 Nov 2023 23:51:54 -0800 Subject: [PATCH 1/4] MapVector: add C++17-style try_emplace and insert_or_assign T

[flang] [lldb] [compiler-rt] [libcxx] [clang-tools-extra] [lld] [libc] [clang] [llvm] MapVector: add C++17-style try_emplace and insert_or_assign (PR #71969)

2023-11-12 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay edited https://github.com/llvm/llvm-project/pull/71969 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[libcxx] [lld] [lldb] [clang-tools-extra] [compiler-rt] [llvm] [libc] [flang] [clang] MapVector: add C++17-style try_emplace and insert_or_assign (PR #71969)

2023-11-12 Thread Fangrui Song via cfe-commits
https://github.com/MaskRay closed https://github.com/llvm/llvm-project/pull/71969 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] abeffc9 - [test] Test #pragma GCC visibility interaction with explicit instantiations

2023-11-12 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2023-11-12T21:29:03-08:00 New Revision: abeffc9fd6b0cd8f6f25f854e97cd73310c8a7e5 URL: https://github.com/llvm/llvm-project/commit/abeffc9fd6b0cd8f6f25f854e97cd73310c8a7e5 DIFF: https://github.com/llvm/llvm-project/commit/abeffc9fd6b0cd8f6f25f854e97cd73310c8a7e5.diff

[clang] 65f2cf2 - Revert "[CodeGen] -fsanitize=alignment: add cl::opt sanitize-alignment-builtin to disable memcpy instrumentation (#69240)"

2023-11-12 Thread Fangrui Song via cfe-commits
Author: Fangrui Song Date: 2023-11-12T22:26:27-08:00 New Revision: 65f2cf25c36d8fd349405f83c65f7530c6fb2bb2 URL: https://github.com/llvm/llvm-project/commit/65f2cf25c36d8fd349405f83c65f7530c6fb2bb2 DIFF: https://github.com/llvm/llvm-project/commit/65f2cf25c36d8fd349405f83c65f7530c6fb2bb2.diff

<    1   2   3   4   5   6   7   8   9   10   >