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

Issue 5702060: AddressSanitizer: Make GetOSVersion available on all platforms (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by samsonov
Modified:
12 years, 1 month ago
CC:
llvm-commits_cs.uiuc.edu
Base URL:
https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/asan/
Visibility:
Public.

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -27 lines) Patch
M asan_interceptors.cc View 1 chunk +6 lines, -10 lines 2 comments Download
M asan_internal.h View 1 chunk +12 lines, -0 lines 0 comments Download
M asan_linux.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M asan_mac.h View 1 chunk +0 lines, -11 lines 0 comments Download
M asan_mac.cc View 2 chunks +6 lines, -6 lines 0 comments Download
M asan_win.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 4
samsonov
12 years, 2 months ago (2012-02-29 14:08:42 UTC) #1
kcc1
http://codereview.appspot.com/5702060/diff/1/asan_interceptors.cc File asan_interceptors.cc (right): http://codereview.appspot.com/5702060/diff/1/asan_interceptors.cc#newcode623 asan_interceptors.cc:623: if (GetOSVersion() == MACOS_LION) { Do you have any ...
12 years, 2 months ago (2012-02-29 15:31:51 UTC) #2
samsonov
http://codereview.appspot.com/5702060/diff/1/asan_interceptors.cc File asan_interceptors.cc (right): http://codereview.appspot.com/5702060/diff/1/asan_interceptors.cc#newcode623 asan_interceptors.cc:623: if (GetOSVersion() == MACOS_LION) { On 2012/02/29 15:31:51, kcc1 ...
12 years, 2 months ago (2012-02-29 21:04:49 UTC) #3
kcc1
12 years, 2 months ago (2012-03-01 23:24:28 UTC) #4
> > For this statement, I would prefer something like 
> >   if (PlatformHasDifferentMemcpyAndMemmove)
> I think we may end up with too much flags/functions of that kind.
> if (PlatformNeedsGetPcSpBp)? 

I see no problem with this. 

> > 
> > 
> > BTW, Maybe it's better to implement internal_memcpy?
> > (It will have to be highly performant)
> Why do we need this? Not a problem, of course.
Maybe we don't need it.
Sign in to reply to this message.

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