[llvm-branch-commits] [clang] [clang] [sanitizer] add pseudofunction to indicate array-bounds check (PR #128977)

2025-03-05 Thread Dan Liew via llvm-branch-commits
https://github.com/delcypher edited https://github.com/llvm/llvm-project/pull/128977 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang] [sanitizer] add pseudofunction to indicate array-bounds check (PR #128977)

2025-03-05 Thread Dan Liew via llvm-branch-commits
@@ -635,6 +635,13 @@ class CGDebugInfo { llvm::DILocation *CreateTrapFailureMessageFor(llvm::DebugLoc TrapLocation, StringRef Category, StringRef FailureMsg); + /// Create a debug

[llvm-branch-commits] [clang] [clang] [sanitizer] add pseudofunction to indicate array-bounds check (PR #128977)

2025-03-05 Thread Dan Liew via llvm-branch-commits
https://github.com/delcypher edited https://github.com/llvm/llvm-project/pull/128977 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] [clang] [sanitizer] add pseudofunction to indicate array-bounds check (PR #128977)

2025-03-05 Thread Dan Liew via llvm-branch-commits
@@ -3598,6 +3598,14 @@ llvm::DIMacroFile *CGDebugInfo::CreateTempMacroFile(llvm::DIMacroFile *Parent, return DBuilder.createTempMacroFile(Parent, Line, FName); } +llvm::DILocation *CGDebugInfo::CreateSyntheticInline(llvm::DebugLoc Location, +

[llvm-branch-commits] [clang] [clang] [sanitizer] add pseudofunction to indicate array-bounds check (PR #128977)

2025-03-05 Thread Dan Liew via llvm-branch-commits
https://github.com/delcypher approved this pull request. Thanks for explaining the purpose. Regarding the "more easily see why we crashed." please be aware [I have a GSoC proposal to basically do this](https://discourse.llvm.org/t/clang-gsoc-2025-usability-improvements-for-trapping-undefined-b

[llvm-branch-commits] [clang] [clang] [sanitizer] add pseudofunction to indicate array-bounds check (PR #128977)

2025-03-05 Thread Dan Liew via llvm-branch-commits
delcypher wrote: @fmayer The usual approach for indicating instrumentation in Clang is to use opt-remarks. This is the approach we use for `-fbounds-safety`. In `-fbounds-safety` we embed "trap reasons" in debug info so that debuggers and symbolication tools can better understand the reason f

[llvm-branch-commits] [compiler-rt] [compiler-rt] Allow running tests without installing first (PR #83088)

2024-03-12 Thread Dan Liew via llvm-branch-commits
@@ -168,10 +169,45 @@ def push_dynamic_library_lookup_path(config, new_path): r"/i386(?=-[^/]+$)", "/x86_64", config.compiler_rt_libdir ) + +# Check if the test compiler resource dir matches the local build directory +# (which happens with -DLLVM_ENABLE_PRO

[llvm-branch-commits] [compiler-rt] [compiler-rt] Allow running tests without installing first (PR #83088)

2024-03-12 Thread Dan Liew via llvm-branch-commits
https://github.com/delcypher edited https://github.com/llvm/llvm-project/pull/83088 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [compiler-rt] [compiler-rt] Allow running tests without installing first (PR #83088)

2024-03-12 Thread Dan Liew via llvm-branch-commits
https://github.com/delcypher approved this pull request. Thanks for addressing my feedback. I have a minor nit that you can address if you feel its worth it. When landing please make sure you squash your commits into a single commit and rewrite the commit message to be something that conforms

[llvm-branch-commits] [compiler-rt] Allow running tests without installing first (PR #83088)

2024-02-27 Thread Dan Liew via llvm-branch-commits
@@ -172,6 +172,20 @@ def push_dynamic_library_lookup_path(config, new_path): # doesn't match config.compiler_rt_libdir then it means we might be testing the # compiler's own runtime libraries rather than the ones we just built. # Warn about about this and handle appropriately.

[llvm-branch-commits] [compiler-rt] Allow running tests without installing first (PR #83088)

2024-02-27 Thread Dan Liew via llvm-branch-commits
@@ -172,6 +172,20 @@ def push_dynamic_library_lookup_path(config, new_path): # doesn't match config.compiler_rt_libdir then it means we might be testing the # compiler's own runtime libraries rather than the ones we just built. # Warn about about this and handle appropriately.

[llvm-branch-commits] [compiler-rt] Allow running tests without installing first (PR #83088)

2024-02-27 Thread Dan Liew via llvm-branch-commits
@@ -571,6 +571,30 @@ string(APPEND COMPILER_RT_TEST_COMPILER_CFLAGS " ${stdlib_flag}") string(REPLACE " " ";" COMPILER_RT_UNITTEST_CFLAGS "${COMPILER_RT_TEST_COMPILER_CFLAGS}") set(COMPILER_RT_UNITTEST_LINK_FLAGS ${COMPILER_RT_UNITTEST_CFLAGS}) +option(COMPILER_RT_TEST_STAND

[llvm-branch-commits] [compiler-rt] Allow running tests without installing first (PR #83088)

2024-02-27 Thread Dan Liew via llvm-branch-commits
https://github.com/delcypher commented: What is the `[𝘀𝗽𝗿] initial version` commit message about? https://github.com/llvm/llvm-project/pull/83088 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mai

[llvm-branch-commits] [compiler-rt] Allow running tests without installing first (PR #83088)

2024-02-27 Thread Dan Liew via llvm-branch-commits
@@ -172,6 +172,20 @@ def push_dynamic_library_lookup_path(config, new_path): # doesn't match config.compiler_rt_libdir then it means we might be testing the # compiler's own runtime libraries rather than the ones we just built. # Warn about about this and handle appropriately.

[llvm-branch-commits] [compiler-rt] Allow running tests without installing first (PR #83088)

2024-02-27 Thread Dan Liew via llvm-branch-commits
https://github.com/delcypher edited https://github.com/llvm/llvm-project/pull/83088 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

[llvm-branch-commits] [clang] 0e3f038 - [ASan] Rename `-fsanitize-address-destructor-kind=` to drop the `-kind` suffix.

2021-04-28 Thread Dan Liew via llvm-branch-commits
Author: Dan Liew Date: 2021-04-28T18:58:55-07:00 New Revision: 0e3f038261be4799d0d09e70e165f526e182b0cf URL: https://github.com/llvm/llvm-project/commit/0e3f038261be4799d0d09e70e165f526e182b0cf DIFF: https://github.com/llvm/llvm-project/commit/0e3f038261be4799d0d09e70e165f526e182b0cf.diff LOG:

[llvm-branch-commits] [compiler-rt] 757b93b - [ASan] Fix broken Windows build due to 596d534ac3524052df210be8d3c01a33b2260a42.

2021-01-23 Thread Dan Liew via llvm-branch-commits
Author: Dan Liew Date: 2021-01-23T09:09:06-08:00 New Revision: 757b93bb7b384038a8dec35433f78f5c7c2ef8b0 URL: https://github.com/llvm/llvm-project/commit/757b93bb7b384038a8dec35433f78f5c7c2ef8b0 DIFF: https://github.com/llvm/llvm-project/commit/757b93bb7b384038a8dec35433f78f5c7c2ef8b0.diff LOG:

[llvm-branch-commits] [compiler-rt] 596d534 - [ASan] Stop blocking child thread progress from parent thread in `pthread_create` interceptor.

2021-01-22 Thread Dan Liew via llvm-branch-commits
Author: Dan Liew Date: 2021-01-22T23:34:43-08:00 New Revision: 596d534ac3524052df210be8d3c01a33b2260a42 URL: https://github.com/llvm/llvm-project/commit/596d534ac3524052df210be8d3c01a33b2260a42 DIFF: https://github.com/llvm/llvm-project/commit/596d534ac3524052df210be8d3c01a33b2260a42.diff LOG:

[llvm-branch-commits] [compiler-rt] dd922bc - [LSan] Introduce a callback mechanism to allow adding data reachable from ThreadContexts to the frontier.

2021-01-22 Thread Dan Liew via llvm-branch-commits
Author: Dan Liew Date: 2021-01-22T19:26:02-08:00 New Revision: dd922bc2a62163cef442646974324943c551725e URL: https://github.com/llvm/llvm-project/commit/dd922bc2a62163cef442646974324943c551725e DIFF: https://github.com/llvm/llvm-project/commit/dd922bc2a62163cef442646974324943c551725e.diff LOG:

[llvm-branch-commits] [compiler-rt] 8678afc - [Symbolizers] On Darwin compute function offset when possible.

2019-10-28 Thread Dan Liew via llvm-branch-commits
Author: Dan Liew Date: 2019-10-28T23:41:24-07:00 New Revision: 8678afce2c8cb2b392a02459350023093ab7eb17 URL: https://github.com/llvm/llvm-project/commit/8678afce2c8cb2b392a02459350023093ab7eb17 DIFF: https://github.com/llvm/llvm-project/commit/8678afce2c8cb2b392a02459350023093ab7eb17.diff LOG:

[llvm-branch-commits] [llvm-branch] r322287 - [docs] Add JFS as an external project built againt LLVM 6.0.

2018-01-11 Thread Dan Liew via llvm-branch-commits
Author: delcypher Date: Thu Jan 11 08:24:04 2018 New Revision: 322287 URL: http://llvm.org/viewvc/llvm-project?rev=322287&view=rev Log: [docs] Add JFS as an external project built againt LLVM 6.0. Modified: llvm/branches/release_60/docs/ReleaseNotes.rst Modified: llvm/branches/release_60/doc