[clang] 0fbafb5 - [test] Fix memory leak in validateTargetProfile

2022-07-16 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-07-16T16:47:50-07:00 New Revision: 0fbafb5a1c4381ded4bc7f59a5a6091c229faed7 URL: https://github.com/llvm/llvm-project/commit/0fbafb5a1c4381ded4bc7f59a5a6091c229faed7 DIFF: https://github.com/llvm/llvm-project/commit/0fbafb5a1c4381ded4bc7f59a5a6091c229faed7.diff L

[clang] 96c6349 - [hwasan] Use stack safety analysis.

2021-07-22 Thread Vitaly Buka via cfe-commits
Author: Florian Mayer Date: 2021-07-22T16:20:27-07:00 New Revision: 96c63492cb952431fd9732146663fe227f8c52c1 URL: https://github.com/llvm/llvm-project/commit/96c63492cb952431fd9732146663fe227f8c52c1 DIFF: https://github.com/llvm/llvm-project/commit/96c63492cb952431fd9732146663fe227f8c52c1.diff

[clang] 36c9f5a - [NFC][OpenMP] Simplify 2f9be69d843

2022-08-17 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-17T18:59:48-07:00 New Revision: 36c9f5a58b8644389385a87e3ea43805a3b24665 URL: https://github.com/llvm/llvm-project/commit/36c9f5a58b8644389385a87e3ea43805a3b24665 DIFF: https://github.com/llvm/llvm-project/commit/36c9f5a58b8644389385a87e3ea43805a3b24665.diff L

[clang] 3f5f290 - [test] Propagate HWASAN_OPTIONS

2022-08-17 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-17T18:59:49-07:00 New Revision: 3f5f2905c48fb13275fd74048fb07c5676e86d94 URL: https://github.com/llvm/llvm-project/commit/3f5f2905c48fb13275fd74048fb07c5676e86d94 DIFF: https://github.com/llvm/llvm-project/commit/3f5f2905c48fb13275fd74048fb07c5676e86d94.diff L

[clang] 4ceff69 - [test][Sema] Ignore stderr in test

2022-08-17 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-17T23:50:35-07:00 New Revision: 4ceff69636e63fcfd5180f2edb88288b4a5cf278 URL: https://github.com/llvm/llvm-project/commit/4ceff69636e63fcfd5180f2edb88288b4a5cf278 DIFF: https://github.com/llvm/llvm-project/commit/4ceff69636e63fcfd5180f2edb88288b4a5cf278.diff L

[clang] fae656b - [test] Add 'hwasan' feature and disable a test

2022-08-17 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-17T23:50:35-07:00 New Revision: fae656b2dd80246c3c6f01e9c77c49560368752c URL: https://github.com/llvm/llvm-project/commit/fae656b2dd80246c3c6f01e9c77c49560368752c DIFF: https://github.com/llvm/llvm-project/commit/fae656b2dd80246c3c6f01e9c77c49560368752c.diff L

[clang] aaa987d - [clang] Fix warning after D116203

2022-08-21 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-21T22:39:23-07:00 New Revision: aaa987ddfbf5f2ee9dfaa9cc29ec224c6c607b65 URL: https://github.com/llvm/llvm-project/commit/aaa987ddfbf5f2ee9dfaa9cc29ec224c6c607b65 DIFF: https://github.com/llvm/llvm-project/commit/aaa987ddfbf5f2ee9dfaa9cc29ec224c6c607b65.diff L

[clang] b5a9adf - [clang] Create alloca to pass into static lambda

2022-08-23 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-23T13:53:17-07:00 New Revision: b5a9adf1f533c6403d780bb127bda4b53f7dc7ed URL: https://github.com/llvm/llvm-project/commit/b5a9adf1f533c6403d780bb127bda4b53f7dc7ed DIFF: https://github.com/llvm/llvm-project/commit/b5a9adf1f533c6403d780bb127bda4b53f7dc7ed.diff L

[clang] b31b72a - [test][msan] Simplify tests with --implicit-check-not

2022-08-28 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-28T22:43:04-07:00 New Revision: b31b72ad7ed9b75c55771caf1176b989642964eb URL: https://github.com/llvm/llvm-project/commit/b31b72ad7ed9b75c55771caf1176b989642964eb DIFF: https://github.com/llvm/llvm-project/commit/b31b72ad7ed9b75c55771caf1176b989642964eb.diff L

[clang] 9c29bdf - [test][msan] Remov unneeded CHECK-NOT

2022-08-29 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-29T17:49:44-07:00 New Revision: 9c29bdf84ab1bdd89fe8c36974c3bf0543eb9763 URL: https://github.com/llvm/llvm-project/commit/9c29bdf84ab1bdd89fe8c36974c3bf0543eb9763 DIFF: https://github.com/llvm/llvm-project/commit/9c29bdf84ab1bdd89fe8c36974c3bf0543eb9763.diff L

[clang] ed4e95c - [test][msan] Add more Debug Info use-after-dtor tests

2022-08-29 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-29T17:49:44-07:00 New Revision: ed4e95c1f68abe8fffe8b54139d268924d554381 URL: https://github.com/llvm/llvm-project/commit/ed4e95c1f68abe8fffe8b54139d268924d554381 DIFF: https://github.com/llvm/llvm-project/commit/ed4e95c1f68abe8fffe8b54139d268924d554381.diff L

[clang] c7df82e - [test][msan] Don't ignore the suffix if use-after-dtor callback

2022-08-29 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-29T18:10:57-07:00 New Revision: c7df82e4693c19e3fd2e25c83eb04d9deb7b7b59 URL: https://github.com/llvm/llvm-project/commit/c7df82e4693c19e3fd2e25c83eb04d9deb7b7b59 DIFF: https://github.com/llvm/llvm-project/commit/c7df82e4693c19e3fd2e25c83eb04d9deb7b7b59.diff L

[clang] 582ec4b - [test][msan] Don't ignore prefix of sanitizer_dtor_callback

2022-08-29 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-29T18:26:04-07:00 New Revision: 582ec4b0aa55bff84490e1c89e55066bf6603212 URL: https://github.com/llvm/llvm-project/commit/582ec4b0aa55bff84490e1c89e55066bf6603212 DIFF: https://github.com/llvm/llvm-project/commit/582ec4b0aa55bff84490e1c89e55066bf6603212.diff L

[clang] 420209b - [test][msan] Add missing Debug Info check from dtor test

2022-08-29 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-29T18:55:24-07:00 New Revision: 420209bb6d092bd4735c24726b934a1e4637f04d URL: https://github.com/llvm/llvm-project/commit/420209bb6d092bd4735c24726b934a1e4637f04d DIFF: https://github.com/llvm/llvm-project/commit/420209bb6d092bd4735c24726b934a1e4637f04d.diff L

[clang] d9d7e12 - [test][msan] Use -DAG to match Debug Info

2022-08-29 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-29T20:32:41-07:00 New Revision: d9d7e1211b5b0bfaacd220650b8eec8d0efe69c1 URL: https://github.com/llvm/llvm-project/commit/d9d7e1211b5b0bfaacd220650b8eec8d0efe69c1 DIFF: https://github.com/llvm/llvm-project/commit/d9d7e1211b5b0bfaacd220650b8eec8d0efe69c1.diff L

[clang] c059ede - [msan] Add more specific messages for use-after-destroy

2022-08-30 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-30T19:52:32-07:00 New Revision: c059ede28ea8faf0540cedad74bc5698ec59e744 URL: https://github.com/llvm/llvm-project/commit/c059ede28ea8faf0540cedad74bc5698ec59e744 DIFF: https://github.com/llvm/llvm-project/commit/c059ede28ea8faf0540cedad74bc5698ec59e744.diff L

[clang] 960e7a5 - [msan] Use Debug Info to point to affected fields

2022-08-31 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-31T13:12:17-07:00 New Revision: 960e7a5513267b38a07405931300bbf40ddf1902 URL: https://github.com/llvm/llvm-project/commit/960e7a5513267b38a07405931300bbf40ddf1902 DIFF: https://github.com/llvm/llvm-project/commit/960e7a5513267b38a07405931300bbf40ddf1902.diff L

[clang] 9905dae - Revert "[Clang][CodeGen] Avoid __builtin_assume_aligned crash when the 1st arg is array type"

2022-09-03 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-09-03T13:12:49-07:00 New Revision: 9905dae5e18cd55ee6bb8678c95fed940ded1ef9 URL: https://github.com/llvm/llvm-project/commit/9905dae5e18cd55ee6bb8678c95fed940ded1ef9 DIFF: https://github.com/llvm/llvm-project/commit/9905dae5e18cd55ee6bb8678c95fed940ded1ef9.diff L

[clang] da89ed9 - [cmake] Explicitly disable download step

2023-04-19 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2023-04-19T12:57:12-07:00 New Revision: da89ed99a16920e5986b14853d297322ccf7109e URL: https://github.com/llvm/llvm-project/commit/da89ed99a16920e5986b14853d297322ccf7109e DIFF: https://github.com/llvm/llvm-project/commit/da89ed99a16920e5986b14853d297322ccf7109e.diff L

[clang] bccf599 - Revert "[clang][WebAssembly] Initial support for reference type externref in clang"

2023-02-05 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2023-02-05T21:41:48-08:00 New Revision: bccf5999d38f14552f449618c1d72d18613f4285 URL: https://github.com/llvm/llvm-project/commit/bccf5999d38f14552f449618c1d72d18613f4285 DIFF: https://github.com/llvm/llvm-project/commit/bccf5999d38f14552f449618c1d72d18613f4285.diff L

[clang] f385eaf - [OpenMP] Fix use after scope after D129608

2022-08-13 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-13T09:40:51-07:00 New Revision: f385eaf48f5c4123b61272cd243c339d6f8526ed URL: https://github.com/llvm/llvm-project/commit/f385eaf48f5c4123b61272cd243c339d6f8526ed DIFF: https://github.com/llvm/llvm-project/commit/f385eaf48f5c4123b61272cd243c339d6f8526ed.diff L

[clang] 2f9be69 - [OpenMP] Fix another after scope after D129608

2022-08-13 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-08-13T12:13:54-07:00 New Revision: 2f9be69d843d12864128f4e23920ba214c5e212d URL: https://github.com/llvm/llvm-project/commit/2f9be69d843d12864128f4e23920ba214c5e212d DIFF: https://github.com/llvm/llvm-project/commit/2f9be69d843d12864128f4e23920ba214c5e212d.diff L

[clang] f750c3d - Revert "clang-format: [JS] sort import aliases."

2022-01-27 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-01-27T21:16:53-08:00 New Revision: f750c3d95a0c8bf1d21380ae753fce12010a7561 URL: https://github.com/llvm/llvm-project/commit/f750c3d95a0c8bf1d21380ae753fce12010a7561 DIFF: https://github.com/llvm/llvm-project/commit/f750c3d95a0c8bf1d21380ae753fce12010a7561.diff L

[clang] d650ccf - [NFC] Remove unused variable

2021-06-14 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2021-06-14T10:57:26-07:00 New Revision: d650ccf6390bb1e4454dd735cfcec9eda9af8ca3 URL: https://github.com/llvm/llvm-project/commit/d650ccf6390bb1e4454dd735cfcec9eda9af8ca3 DIFF: https://github.com/llvm/llvm-project/commit/d650ccf6390bb1e4454dd735cfcec9eda9af8ca3.diff L

[clang] b8919fb - [NFC][sanitizer] clang-format some code

2021-06-14 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2021-06-14T18:05:22-07:00 New Revision: b8919fb0eac15d13c5f56d3d30ce378a588dd78c URL: https://github.com/llvm/llvm-project/commit/b8919fb0eac15d13c5f56d3d30ce378a588dd78c DIFF: https://github.com/llvm/llvm-project/commit/b8919fb0eac15d13c5f56d3d30ce378a588dd78c.diff L

[clang] 6478ef6 - [asan] Remove Asan, Ubsan support of RTEMS and Myriad

2021-06-15 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2021-06-15T12:59:05-07:00 New Revision: 6478ef61b1a4dd86f520b199e0fd6762e8306353 URL: https://github.com/llvm/llvm-project/commit/6478ef61b1a4dd86f520b199e0fd6762e8306353 DIFF: https://github.com/llvm/llvm-project/commit/6478ef61b1a4dd86f520b199e0fd6762e8306353.diff L

[clang] c5ea8e9 - Use-after-dtor detection for trivial base classes.

2022-03-16 Thread Vitaly Buka via cfe-commits
Author: Evgenii Stepanov Date: 2022-03-16T18:20:27-07:00 New Revision: c5ea8e9138931b74b60221f667da304e244dc57d URL: https://github.com/llvm/llvm-project/commit/c5ea8e9138931b74b60221f667da304e244dc57d DIFF: https://github.com/llvm/llvm-project/commit/c5ea8e9138931b74b60221f667da304e244dc57d.di

[clang] cb96464 - Stricter use-after-dtor detection for trivial members.

2022-03-16 Thread Vitaly Buka via cfe-commits
Author: Evgenii Stepanov Date: 2022-03-16T18:20:27-07:00 New Revision: cb96464f12c44320150c48d639070cf0e4fd8bd2 URL: https://github.com/llvm/llvm-project/commit/cb96464f12c44320150c48d639070cf0e4fd8bd2 DIFF: https://github.com/llvm/llvm-project/commit/cb96464f12c44320150c48d639070cf0e4fd8bd2.di

[clang] 122638d - [msan] Add link to the lifetime definition

2022-03-29 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-03-29T14:42:36-07:00 New Revision: 122638d97d913edcdfa8ccf921eb5929498166c7 URL: https://github.com/llvm/llvm-project/commit/122638d97d913edcdfa8ccf921eb5929498166c7 DIFF: https://github.com/llvm/llvm-project/commit/122638d97d913edcdfa8ccf921eb5929498166c7.diff L

[clang-tools-extra] 4782ccd - [test][clangd] Try to deflake with sanitizers

2022-09-26 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-09-26T22:52:48-07:00 New Revision: 4782ccde2e1b44ea44a8e83cd1e7041fa31c5c18 URL: https://github.com/llvm/llvm-project/commit/4782ccde2e1b44ea44a8e83cd1e7041fa31c5c18 DIFF: https://github.com/llvm/llvm-project/commit/4782ccde2e1b44ea44a8e83cd1e7041fa31c5c18.diff L

[clang] b580c0e - [msan] Update Use-after-destruction documentation

2022-04-21 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-04-21T14:02:02-07:00 New Revision: b580c0e019826074a22e2676dd0889a57d8558fb URL: https://github.com/llvm/llvm-project/commit/b580c0e019826074a22e2676dd0889a57d8558fb DIFF: https://github.com/llvm/llvm-project/commit/b580c0e019826074a22e2676dd0889a57d8558fb.diff L

[clang] 2518d4f - [nfc][msan] Add D123875 into release notes

2022-04-22 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-04-22T11:14:28-07:00 New Revision: 2518d4f6d8548d558968749e6d728ccac98cc1c1 URL: https://github.com/llvm/llvm-project/commit/2518d4f6d8548d558968749e6d728ccac98cc1c1 DIFF: https://github.com/llvm/llvm-project/commit/2518d4f6d8548d558968749e6d728ccac98cc1c1.diff L

[clang] 72e00c4 - [asan] Don't enable detect_stack_use_after_return on Windows

2022-04-22 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-04-22T19:10:30-07:00 New Revision: 72e00c45a4e7b1651c0fdfe4bfc12ff5e2a201d3 URL: https://github.com/llvm/llvm-project/commit/72e00c45a4e7b1651c0fdfe4bfc12ff5e2a201d3 DIFF: https://github.com/llvm/llvm-project/commit/72e00c45a4e7b1651c0fdfe4bfc12ff5e2a201d3.diff L

[clang-tools-extra] 2d014b7 - [test][clangd] Use StringRef instead of std::string

2022-04-25 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-04-25T16:38:18-07:00 New Revision: 2d014b72ccb51de9a9627c31667a3edf8cca7616 URL: https://github.com/llvm/llvm-project/commit/2d014b72ccb51de9a9627c31667a3edf8cca7616 DIFF: https://github.com/llvm/llvm-project/commit/2d014b72ccb51de9a9627c31667a3edf8cca7616.diff L

[clang] c1e9459 - Revert "[asan] Enable detect_stack_use_after_return=1 by default"

2022-04-27 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-04-27T00:43:39-07:00 New Revision: c1e94591bcc95f36da0372080c455b09af8c46fd URL: https://github.com/llvm/llvm-project/commit/c1e94591bcc95f36da0372080c455b09af8c46fd DIFF: https://github.com/llvm/llvm-project/commit/c1e94591bcc95f36da0372080c455b09af8c46fd.diff L

[clang] 7858219 - [asan] Enable detect_stack_use_after_return=1 by default on Linux

2022-04-28 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-04-28T21:08:16-07:00 New Revision: 78582194361e4454e95d3af23367b81dd63b7943 URL: https://github.com/llvm/llvm-project/commit/78582194361e4454e95d3af23367b81dd63b7943 DIFF: https://github.com/llvm/llvm-project/commit/78582194361e4454e95d3af23367b81dd63b7943.diff L

[clang] e75d8b7 - Revert "Treat `std::move`, `forward`, and `move_if_noexcept` as builtins."

2022-04-16 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-04-16T00:27:51-07:00 New Revision: e75d8b70370435b0ad10388afba0df45fcf9bfcc URL: https://github.com/llvm/llvm-project/commit/e75d8b70370435b0ad10388afba0df45fcf9bfcc DIFF: https://github.com/llvm/llvm-project/commit/e75d8b70370435b0ad10388afba0df45fcf9bfcc.diff L

[clang] 0d0a99c - [msan] Advance before destroying entry

2022-04-19 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2022-04-19T16:42:04-07:00 New Revision: 0d0a99cb96183027af8212d0b8545356b65be0d3 URL: https://github.com/llvm/llvm-project/commit/0d0a99cb96183027af8212d0b8545356b65be0d3 DIFF: https://github.com/llvm/llvm-project/commit/0d0a99cb96183027af8212d0b8545356b65be0d3.diff L

[clang] [llvm] [Sanitizer] Make sanitizer passes idempotent (PR #99439)

2024-08-08 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: > > @vitalybuka @nikic Let me know if anything needs to be changed in this PR? > > Else, will merge the PR after approval. > > Please review. you should click "re-request review" button next to review. https://github.com/llvm/llvm-project/pull/99439 _

[clang] [llvm] [Sanitizer] Make sanitizer passes idempotent (PR #99439)

2024-08-08 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: I will take another look tomorrow. https://github.com/llvm/llvm-project/pull/99439 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Sanitizer] Make sanitizer passes idempotent (PR #99439)

2024-08-09 Thread Vitaly Buka via cfe-commits
@@ -12,12 +12,47 @@ //===--===// #include "llvm/Transforms/Instrumentation.h" +#include "llvm/IR/DiagnosticInfo.h" +#include "llvm/IR/DiagnosticPrinter.h" #include "llvm/IR/IntrinsicInst.h" #include "llvm/I

[clang] [llvm] [Sanitizer] Make sanitizer passes idempotent (PR #99439)

2024-08-09 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka approved this pull request. https://github.com/llvm/llvm-project/pull/99439 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [Sanitizer] Make sanitizer passes idempotent (PR #99439)

2024-08-09 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: > I remain concerned that newly developed instrumentations may require this > special property. Is it useful to restrict this to HIP programs, at least > before we gain more experience to comfortably apply this to other > configurations? > > I'm also worried that this change

[clang] [clang][Interp] Improve "in call to" call argument printing (PR #102735)

2024-08-10 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: Breaks https://lab.llvm.org/buildbot/#/builders/52/builds/1496 https://github.com/llvm/llvm-project/pull/102735 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[clang][Interp] Improve "in call to" call argument printing" (PR #102785)

2024-08-10 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/102785 Reverts llvm/llvm-project#102735 Breaks >From 7e8bb8c52f51fd6b41c0b6485b93fd0315b58bab Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Sat, 10 Aug 2024 19:55:54 -0700 Subject: [PATCH] Revert "[clang][Inte

[clang] Revert "[clang][Interp] Improve "in call to" call argument printing" (PR #102785)

2024-08-10 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/102785 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[clang][Interp] Improve "in call to" call argument printing" (PR #102785)

2024-08-10 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka closed https://github.com/llvm/llvm-project/pull/102785 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "Revert "[clang][Interp] Improve "in call to" call argument printing"" (PR #102786)

2024-08-10 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/102786 Reverts llvm/llvm-project#102785 >From 0066d85186fda169b17acc63e4e85ad901e0cbe4 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Sat, 10 Aug 2024 20:40:10 -0700 Subject: [PATCH] =?UTF-8?q?Revert=20"Revert=20

[clang] Revert "Revert "[clang][Interp] Improve "in call to" call argument printing"" (PR #102786)

2024-08-10 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: I am not sure what is going on there, maybe it needs // UNSUPPORTED: asan I am not going to reland, it's just a notice, to make sure you noticed the revert. https://github.com/llvm/llvm-project/pull/102786 ___ cfe-commits mailing li

[clang] Revert "[clang][Interp] Improve "in call to" call argument printing" (PR #102785)

2024-08-10 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: > That test doesn't even use the new constant interpreter? Yes, that's looks strange, but it fixes the bot https://lab.llvm.org/buildbot/#/builders/52 https://github.com/llvm/llvm-project/pull/102785 ___ cfe-commits mailing list

[clang] Revert "Revert "[clang][Interp] Improve "in call to" call argument printing"" (PR #102786)

2024-08-12 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: > I am not sure what is going on there, maybe it needs // UNSUPPORTED: asan > > I am not going to reland, it's just a notice, to make sure you noticed the > revert. Looks like it some kind of flakiness in the test. It returned https://lab.llvm.org/buildbot/#/builders/52/bui

[clang] [Interp] Mark the test unsupported with Asan (PR #102859)

2024-08-12 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/102859 It's very flaky recently. Issue #102858 >From fcf5476d8e8ef543a50d33b379c79e761374b9ee Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Mon, 12 Aug 2024 00:42:28 -0700 Subject: [PATCH] =?UTF-8?q?[=F0=9D=98

[clang] [Interp] Mark the test unsupported with Asan (PR #102859)

2024-08-12 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: > Quick question for my understanding: With `spr` we don't get meaningful > commit messages anymore? That's quite unfortunate... Can you please clarify? https://github.com/llvm/llvm-project/pull/102859 ___ cfe-commits mailing list

[clang] [Interp] Mark the test unsupported with Asan (PR #102859)

2024-08-12 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/102859 >From fcf5476d8e8ef543a50d33b379c79e761374b9ee Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Mon, 12 Aug 2024 00:42:28 -0700 Subject: [PATCH 1/2] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20in?= =?

[clang] [Interp] Mark the test unsupported with Asan (PR #102859)

2024-08-12 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/102859 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Interp] Mark the test unsupported with Asan (PR #102859)

2024-08-12 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: > > > Quick question for my understanding: With `spr` we don't get meaningful > > > commit messages anymore? That's quite unfortunate... > > > > > > Can you please clarify? > > The commit messages in this PR are `initial version` and `Update const.cpp`, > which is totally u

[clang] [Interp] Mark the test unsupported with Asan (PR #102859)

2024-08-13 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: @hahnjo I believe I explained "Update const.cpp" issue. So I am going to merge as the that continue to sporadically brake. https://github.com/llvm/llvm-project/pull/102859 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https

[clang] [Interp] Mark the test unsupported with Asan (PR #102859)

2024-08-13 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka closed https://github.com/llvm/llvm-project/pull/102859 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [sanitizer] Document AddressSanitizer security considerations (PR #100937)

2024-08-13 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: This applies as well to MemorySanitizer, ThreadSanitizer, LeakSanitizer, HWAddressSanitizer, more or less UBSan with diagnostics. Would you like to update those as well? https://github.com/llvm/llvm-project/pull/100937 ___ cfe-commi

[clang] [Clang] Overflow Pattern Exclusions (PR #100272)

2024-08-15 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: We should revert this patch. It breaks mupltiple bots, introducing Msan reports. Also on a first look I don't like `-fsanitize-pattern-exclusion=` at all, very inconsistent. I assumed we agreed to splitting sanitizers into smaller sets? I would like to know why we need to intr

[clang] Revert "[Clang] Overflow Pattern Exclusions (#100272)" (PR #104472)

2024-08-15 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/104472 This reverts commit 9a666deecb9ff6ca3a6b12e6c2877e19b74b54da. >From 29256f6703beafdfbb74df08c8358301a5873885 Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Thu, 15 Aug 2024 10:09:35 -0700 Subject: [PATCH]

[clang] Revert "[Clang] Overflow Pattern Exclusions (#100272)" (PR #104472)

2024-08-15 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/104472 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[Clang] Overflow Pattern Exclusions (#100272)" (PR #104472)

2024-08-15 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/104472 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[Clang] Overflow Pattern Exclusions (#100272)" (PR #104472)

2024-08-15 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/104472 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[Clang] Overflow Pattern Exclusions (#100272)" (PR #104472)

2024-08-15 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/104472 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[Clang] Overflow Pattern Exclusions (#100272)" (PR #104472)

2024-08-15 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/104472 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[Clang] Overflow Pattern Exclusions (#100272)" (PR #104472)

2024-08-15 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka closed https://github.com/llvm/llvm-project/pull/104472 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] Revert "[Clang] Overflow Pattern Exclusions (#100272)" (PR #104472)

2024-08-15 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: Already reverted. https://github.com/llvm/llvm-project/pull/104472 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Overflow Pattern Exclusions (PR #100272)

2024-08-15 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: Before reland, please include me into review I'd like to understand why `-fsanitize-pattern-exclusion=all` is better than something like `-fno-sanitize=overflow-pattern-all` https://github.com/llvm/llvm-project/pull/100272 ___ cfe-co

[clang] [clang] Add nuw attribute to GEPs (PR #105496)

2024-08-28 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: This patch breaks: https://lab.llvm.org/buildbot/#/builders/25/builds/1952 https://lab.llvm.org/buildbot/#/builders/52/builds/1775 https://github.com/llvm/llvm-project/pull/105496 ___ cfe-commits mailing list cfe-commits@lists.llvm.or

[clang] Revert "[clang] Add nuw attribute to GEPs" (PR #106343)

2024-08-28 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: Please let me know if you have a fix for that. I'll land revert in the morning by PDT. https://github.com/llvm/llvm-project/pull/106343 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/lis

[clang] [clang] Add nuw attribute to GEPs (PR #105496)

2024-08-28 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: > > This patch breaks: https://lab.llvm.org/buildbot/#/builders/25/builds/1952 > > https://lab.llvm.org/buildbot/#/builders/52/builds/1775 > > From the buildbot run I can see 12 or 13 changes in the build that failed. > Just out of curiosity how did you find out it was this p

[clang] [clang] Add nuw attribute to GEPs (PR #105496)

2024-08-28 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: Maybe the patch introduced some miscompile? The patch affects only clang, but failing tests are LLVM, but tools compiled with patched clang with UBSAN enabled. Also there are branches checking sanitizers. https://github.com/llvm/llvm-project/pull/105496 __

[clang] Revert "[clang] Add nuw attribute to GEPs" (PR #106343)

2024-08-28 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: > > Please let me know if you have a fix for that. I'll land revert in the > > morning by PDT. > > Thank you for flagging this up and opening this @vitalybuka - I'm taking a > look now to see if there's an easy enough fix to save reverting. Thanks. Please merge the revert if

[clang] Update Catch missing format attributes (PR #106649)

2024-08-29 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka created https://github.com/llvm/llvm-project/pull/106649 None >From 46f3fb6634138f2d9ce8f301b05d09d16da9f3ea Mon Sep 17 00:00:00 2001 From: Vitaly Buka Date: Thu, 29 Aug 2024 17:43:18 -0700 Subject: [PATCH] =?UTF-8?q?[=F0=9D=98=80=F0=9D=97=BD=F0=9D=97=BF]=20initia

[clang] Update Catch missing format attributes (PR #106649)

2024-08-29 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka converted_to_draft https://github.com/llvm/llvm-project/pull/106649 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang] Catch missing format attributes (PR #105479)

2024-08-29 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: > Can you explain what changes were made to address the various issues which > caused the earlier revert? I've tried diffing the PRs to see what the changes > are, but my git-fu is insufficient to the task. :-D Just for convenience I extracted update diff into https://github

[clang] [compiler-rt] [ubsan] Limit _BitInt ubsan tests to x86-64 platform only (PR #104494)

2024-08-15 Thread Vitaly Buka via cfe-commits
@@ -1,3 +1,4 @@ +// REQUIRES: x86_64-target-arch vitalybuka wrote: What is about https://lab.llvm.org/buildbot/#/builders/107/builds/1916 https://github.com/llvm/llvm-project/pull/104494 ___ cfe-commits mailing list c

[clang] [compiler-rt] [ubsan] Limit _BitInt ubsan tests to x86-64 platform only (PR #104494)

2024-08-15 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka updated https://github.com/llvm/llvm-project/pull/104494 >From 98d3d539c84c917ba7369f688ba26ff172c9d89c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=C3=A4nolituri=20L=C3=B3mitaur=C3=AB?= Date: Wed, 7 Aug 2024 17:29:35 -0400 Subject: [PATCH 1/5] [ubsan] Display corre

[clang] [compiler-rt] [ubsan] Limit _BitInt ubsan tests to x86-64 platform only (PR #104494)

2024-08-15 Thread Vitaly Buka via cfe-commits
@@ -1,3 +1,4 @@ +// REQUIRES: x86_64-target-arch vitalybuka wrote: I will disabled for windows as well, please investigate after we fix bots? https://github.com/llvm/llvm-project/pull/104494 ___ cfe-commits mailing lis

[clang] [compiler-rt] [ubsan] Limit _BitInt ubsan tests to x86-64 platform only (PR #104494)

2024-08-15 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka approved this pull request. https://github.com/llvm/llvm-project/pull/104494 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [compiler-rt] [ubsan] Limit _BitInt ubsan tests to x86-64 platform only (PR #104494)

2024-08-15 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka closed https://github.com/llvm/llvm-project/pull/104494 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Overflow Pattern Exclusions (PR #100272)

2024-08-15 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: > > Before reland, please include me into review I'd like to understand why > > `-fsanitize-pattern-exclusion=all` is better than something like > > `-fno-sanitize=overflow-pattern-all` > > The latter doesn't make sense to me. `no-sanitize` takes a list of sanitizers > to co

[clang] [compiler-rt] [test] Prevent generation of the bigendian code inside clang test CodeGen/bit-int-ubsan.c (PR #104607)

2024-08-16 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka approved this pull request. https://github.com/llvm/llvm-project/pull/104607 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [compiler-rt] [ubsan] Display correct runtime messages for negative _BitInt (PR #96240)

2024-08-16 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: > > How i can see the full amount of breakage on different platforms > > proactively? I have created a PR: #104607 to address the big endian issue > > with the test as my // REQUIRES: x86-registered-target turned out not to be > > enough to exclude running test in the big end

[clang] [Clang] Overflow Pattern Exclusions (PR #100272)

2024-08-16 Thread Vitaly Buka via cfe-commits
vitalybuka wrote: > > Can we split `-fsanitize=unsigned-integer-overflow` into > > `-fsanitize=unsigned-integer-overflow-patternA,unsigned-integer-overflow-patternB,unsigned-integer-overflow-patternC...` > > ? > > Then it's quite intuitive to disable them with `no-sanitize`. > > Yikes, no way.

[clang] d257cd8 - [CodeGen][asan] Use `%t` instead of `cd` in test

2024-08-16 Thread Vitaly Buka via cfe-commits
Author: Vitaly Buka Date: 2024-08-16T23:02:12-07:00 New Revision: d257cd875873666d250e3fa7e95aafcd099f4e2f URL: https://github.com/llvm/llvm-project/commit/d257cd875873666d250e3fa7e95aafcd099f4e2f DIFF: https://github.com/llvm/llvm-project/commit/d257cd875873666d250e3fa7e95aafcd099f4e2f.diff L

[clang] [clang][rtsan] Introduce realtime sanitizer codegen and driver (PR #102622)

2024-08-18 Thread Vitaly Buka via cfe-commits
@@ -995,6 +996,13 @@ void EmitAssemblyHelper::RunOptimizationPipeline( FPM.addPass(BoundsCheckingPass()); }); +if (LangOpts.Sanitize.has(SanitizerKind::Realtime)) + PB.registerScalarOptimizerLateEPCallback( vitalybuka wrote: Thi

[clang] [clang][rtsan] Introduce realtime sanitizer codegen and driver (PR #102622)

2024-08-18 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka approved this pull request. LGTM, but please get approvals from other responded reviewers https://github.com/llvm/llvm-project/pull/102622 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi

[clang] [Clang] Re-land Overflow Pattern Exclusions (PR #104889)

2024-08-21 Thread Vitaly Buka via cfe-commits
@@ -438,6 +438,36 @@ Moved checkers Sanitizers -- +- Added the ``-fsanitize-undefined-ignore-overflow-pattern`` flag which can be + used to disable specific overflow-dependent code patterns. The supported + patterns are: ``add-overflow-test``, ``negated-unsigned-cons

[clang] [Clang] Re-land Overflow Pattern Exclusions (PR #104889)

2024-08-21 Thread Vitaly Buka via cfe-commits
@@ -293,6 +293,48 @@ To silence reports from unsigned integer overflow, you can set ``-fsanitize-recover=unsigned-integer-overflow``, is particularly useful for providing fuzzing signal without blowing up logs. +Disabling instrumentation for common overflow patterns +

[clang] [Clang] Re-land Overflow Pattern Exclusions (PR #104889)

2024-08-21 Thread Vitaly Buka via cfe-commits
@@ -293,6 +293,48 @@ To silence reports from unsigned integer overflow, you can set ``-fsanitize-recover=unsigned-integer-overflow``, is particularly useful for providing fuzzing signal without blowing up logs. +Disabling instrumentation for common overflow patterns +

[clang] [Clang] Re-land Overflow Pattern Exclusions (PR #104889)

2024-08-21 Thread Vitaly Buka via cfe-commits
@@ -293,6 +293,48 @@ To silence reports from unsigned integer overflow, you can set ``-fsanitize-recover=unsigned-integer-overflow``, is particularly useful for providing fuzzing signal without blowing up logs. +Disabling instrumentation for common overflow patterns +

[clang] [Clang] Re-land Overflow Pattern Exclusions (PR #104889)

2024-08-21 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/104889 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Re-land Overflow Pattern Exclusions (PR #104889)

2024-08-21 Thread Vitaly Buka via cfe-commits
@@ -367,6 +367,21 @@ class LangOptionsBase { PerThread, }; + /// Exclude certain code patterns from being instrumented by arithmetic + /// overflow sanitizers + enum OverflowPatternExclusionKind { +/// Don't exclude any overflow patterns from sanitizers +None

[clang] [Clang] Re-land Overflow Pattern Exclusions (PR #104889)

2024-08-21 Thread Vitaly Buka via cfe-commits
https://github.com/vitalybuka edited https://github.com/llvm/llvm-project/pull/104889 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang] Re-land Overflow Pattern Exclusions (PR #104889)

2024-08-21 Thread Vitaly Buka via cfe-commits
@@ -293,6 +293,48 @@ To silence reports from unsigned integer overflow, you can set ``-fsanitize-recover=unsigned-integer-overflow``, is particularly useful for providing fuzzing signal without blowing up logs. +Disabling instrumentation for common overflow patterns +

[clang] [Clang] Re-land Overflow Pattern Exclusions (PR #104889)

2024-08-21 Thread Vitaly Buka via cfe-commits
@@ -0,0 +1,63 @@ +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fsanitize=signed-integer-overflow,unsigned-integer-overflow -fsanitize-undefined-ignore-overflow-pattern=all %s -emit-llvm -o - | FileCheck %s +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fsanitize

[clang] [Clang] Re-land Overflow Pattern Exclusions (PR #104889)

2024-08-21 Thread Vitaly Buka via cfe-commits
@@ -438,6 +438,36 @@ Moved checkers Sanitizers -- +- Added the ``-fsanitize-undefined-ignore-overflow-pattern`` flag which can be + used to disable specific overflow-dependent code patterns. The supported + patterns are: ``add-overflow-test``, ``negated-unsigned-cons

[clang] [Clang] Re-land Overflow Pattern Exclusions (PR #104889)

2024-08-21 Thread Vitaly Buka via cfe-commits
@@ -293,6 +293,48 @@ To silence reports from unsigned integer overflow, you can set ``-fsanitize-recover=unsigned-integer-overflow``, is particularly useful for providing fuzzing signal without blowing up logs. +Disabling instrumentation for common overflow patterns +

<    1   2   3   4   5   6   7   8   9   >