Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(161)

Issue 6635055: Add a known bounds optimization to ASan (Clang).

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 2 months ago by otinn
Modified:
13 years, 1 month ago
Reviewers:
kcc1, kcc2, samsonov
Visibility:
Public.

Description

This patch is currently required to make the ASan known bounds optimization work.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -0 lines) Patch
M lib/CodeGen/BackendUtil.cpp View 2 chunks +2 lines, -0 lines 2 comments Download

Messages

Total messages: 6
kcc2
https://codereview.appspot.com/6635055/diff/1/lib/CodeGen/BackendUtil.cpp File lib/CodeGen/BackendUtil.cpp (right): https://codereview.appspot.com/6635055/diff/1/lib/CodeGen/BackendUtil.cpp#newcode133 lib/CodeGen/BackendUtil.cpp:133: PM.add(new ScalarEvolution()); I wonder if we can move this ...
13 years, 1 month ago (2012-10-18 07:31:42 UTC) #1
otinn
On 2012/10/18 07:31:42, kcc2 wrote: > https://codereview.appspot.com/6635055/diff/1/lib/CodeGen/BackendUtil.cpp > File lib/CodeGen/BackendUtil.cpp (right): > > https://codereview.appspot.com/6635055/diff/1/lib/CodeGen/BackendUtil.cpp#newcode133 > ...
13 years, 1 month ago (2012-10-18 10:24:41 UTC) #2
samsonov
https://codereview.appspot.com/6635055/diff/1/lib/CodeGen/BackendUtil.cpp File lib/CodeGen/BackendUtil.cpp (right): https://codereview.appspot.com/6635055/diff/1/lib/CodeGen/BackendUtil.cpp#newcode133 lib/CodeGen/BackendUtil.cpp:133: PM.add(new ScalarEvolution()); On 2012/10/18 07:31:43, kcc2 wrote: > I ...
13 years, 1 month ago (2012-10-18 11:54:14 UTC) #3
samsonov
On 2012/10/18 11:54:14, samsonov wrote: > https://codereview.appspot.com/6635055/diff/1/lib/CodeGen/BackendUtil.cpp > File lib/CodeGen/BackendUtil.cpp (right): > > https://codereview.appspot.com/6635055/diff/1/lib/CodeGen/BackendUtil.cpp#newcode133 > ...
13 years, 1 month ago (2012-10-18 11:55:23 UTC) #4
kcc2
I can live w/o ability to disable ScalarEvolution in asan pass. But I still don't ...
13 years, 1 month ago (2012-10-25 09:14:03 UTC) #5
otinn
13 years, 1 month ago (2012-10-26 07:35:15 UTC) #6
On 2012/10/25 09:14:03, kcc2 wrote:
> I can live w/o ability to disable ScalarEvolution in asan pass. 
> 
> But I still don't like the fact that we are changing clang to get llvm-only
> effect. 
> In llvm, I see quite a few uses of INITIALIZE_PASS_DEPENDENCY(ScalarEvolution)
> 
> Doesn't it work here?
It seemed to make no difference as clang still needed the explicit pass
creation.
It worked automatically using the opt tool either way.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b