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

Issue 5689057: AddressSanitizer: Don't include GrandCentralDispatch headers in asan headers on Mac (Closed)

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

Description

AddressSanitizer: Don't include GrandCentralDispatch headers in asan headers on Mac

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -6 lines) Patch
M asan_mac.h View 3 chunks +13 lines, -6 lines 3 comments Download

Messages

Total messages: 5
samsonov
12 years, 2 months ago (2012-02-21 08:04:48 UTC) #1
glider
LGTM
12 years, 2 months ago (2012-02-21 08:20:08 UTC) #2
eugeni.stepanov
lgtm http://codereview.appspot.com/5689057/diff/1/asan_mac.h File asan_mac.h (right): http://codereview.appspot.com/5689057/diff/1/asan_mac.h#newcode38 asan_mac.h:38: typedef void* dispatch_group_t; Not a big deal, but ...
12 years, 2 months ago (2012-02-21 08:24:11 UTC) #3
glider
http://codereview.appspot.com/5689057/diff/1/asan_mac.h File asan_mac.h (right): http://codereview.appspot.com/5689057/diff/1/asan_mac.h#newcode38 asan_mac.h:38: typedef void* dispatch_group_t; On 2012/02/21 08:24:11, eugeni.stepanov wrote: > ...
12 years, 2 months ago (2012-02-21 08:34:55 UTC) #4
samsonov
12 years, 2 months ago (2012-02-21 08:36:46 UTC) #5
r151044

http://codereview.appspot.com/5689057/diff/1/asan_mac.h
File asan_mac.h (right):

http://codereview.appspot.com/5689057/diff/1/asan_mac.h#newcode38
asan_mac.h:38: typedef void* dispatch_group_t;
On 2012/02/21 08:34:55, glider wrote:
> On 2012/02/21 08:24:11, eugeni.stepanov wrote:
> > Not a big deal, but I would just use void* in the function signatures.
> 
> Please no. We'll end up having (void*, void*, void*) function prototypes and
> soon won't be able to tell which original types were there.

Yeah, I left typedefs to make function decl look similar to the original.
Sign in to reply to this message.

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