Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(142)

Issue 1964203003: Fix asan build of gdb_rsp_unittest. (Closed)

Created:
4 years, 7 months ago by krasin
Modified:
4 years, 7 months ago
Reviewers:
Mark Seaborn
CC:
native-client-reviews_googlegroups.com, tomhudson
Base URL:
https://chromium.googlesource.com/native_client/src/native_client.git@master
Target Ref:
refs/heads/master
Project:
nacl
Visibility:
Public.

Description

Fix asan build of gdb_rsp_unittest. BUG=610748

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M src/trusted/debug_stub/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
krasin
Hi Mark, fixing this BUILD.gn file per Tom's request here: https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/EvDzuMBAaIk
4 years, 7 months ago (2016-05-11 03:08:43 UTC) #2
krasin
As an observation, we have ~80 targets explicitly adding this dependency: https://code.google.com/p/chromium/codesearch#search/&q=build/config/sanitizers:deps%20file:%5C.gn&sq=package:chromium&type=cs I guess the ...
4 years, 7 months ago (2016-05-11 03:13:10 UTC) #3
Mark Seaborn
Is there a way to add "//build/config/sanitizers:deps" implicitly to all executable targets in GN? That ...
4 years, 7 months ago (2016-05-11 19:24:05 UTC) #4
krasin
On 2016/05/11 19:24:05, Mark Seaborn wrote: > Is there a way to add "//build/config/sanitizers:deps" implicitly ...
4 years, 7 months ago (2016-05-11 19:39:23 UTC) #5
krasin
I will try to ask around for a context. I am really not sure why ...
4 years, 7 months ago (2016-05-11 19:40:01 UTC) #6
Mark Seaborn
4 years, 7 months ago (2016-05-11 20:02:09 UTC) #7
On 11 May 2016 at 12:39, <krasin@google.com> wrote:

> On 2016/05/11 19:24:05, Mark Seaborn wrote:
> > Is there a way to add "//build/config/sanitizers:deps" implicitly to all
> > executable targets in GN? That would be a more general fix.
>
> Yes, there's a way: add a line into src/build/config/BUILDCONFIG.gn. In
> fact,
> this dependency is already added to all components.
> It might be tricky to execute such cleanup, though, as some executables
> might
> not want it, and while it's possible to remove a dependency from a target,
> I
> currently don't see a good way to find the list of such executables.
>

Why would some executables not want it?  Are there any executables for
which sanitizers would be disabled?

Mark

-- 
You received this message because you are subscribed to the Google Groups
"Native-Client-Reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to native-client-reviews+unsubscribe@googlegroups.com.
To post to this group, send email to native-client-reviews@googlegroups.com.
Visit this group at https://groups.google.com/group/native-client-reviews.
For more options, visit https://groups.google.com/d/optout.

Powered by Google App Engine
This is Rietveld 408576698