Try enabling LTO for LLVM 18 + ASan configuration#580
Try enabling LTO for LLVM 18 + ASan configuration#580laurynas-biveinis wants to merge 1 commit intomasterfrom
Conversation
9e941e5 to
dd43d1e
Compare
dd43d1e to
51ba5d3
Compare
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #580 +/- ##
==========================================
+ Coverage 98.31% 98.34% +0.03%
==========================================
Files 35 35
Lines 6483 6483
==========================================
+ Hits 6374 6376 +2
+ Misses 109 107 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
51ba5d3 to
77792dd
Compare
|
Claude finished @laurynas-biveinis's task —— View job Code Review: LTO + ASan ConfigurationTodo List:
Review SummaryThis PR attempts to enable LTO (Link Time Optimization) for LLVM clang 21+ when AddressSanitizer is enabled. The change modifies the condition that previously disabled LTO for all clang 17+ versions with ASan to only disable it for clang 17-20. Code Quality & Best Practices ✅Strengths:
Technical AnalysisWhat Changed# Before: Disabled LTO for clang 17+
elseif(is_clang AND SANITIZE_ADDRESS AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 17.0)
# After: Disables LTO only for clang 17-20
elseif(is_clang AND SANITIZE_ADDRESS AND
CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 17.0 AND
CMAKE_CXX_COMPILER_VERSION VERSION_LESS 21.0)Root Issue ContextThe original workaround addresses a specific ThinLTO bug in clang 17-20 when combined with AddressSanitizer: Potential Issues
|



No description provided.