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

Issue 204673002: Oilpan: Disable the GC_PLUGIN_IGNORE annotation when compiling with asan. (Closed)

Created:
6 years, 9 months ago by Mads Ager (chromium)
Modified:
6 years, 9 months ago
CC:
blink-reviews, kouhei+heap_chromium.org, oilpan-reviews
Visibility:
Public.

Description

Oilpan: Disable the GC_PLUGIN_IGNORE annotation when compiling with asan. For some reason having this annotation leads to linker errors on the oilpan asan build. obj/third_party/WebKit/Source/modules/libmodules.a(obj/third_party/WebKit/Source/modules/webdatabase/modules.DatabaseSync.o):../../third_party/WebKit/Source/modules/webdatabase/DatabaseSync.cpp:function __unnamed_1: error: undefined reference to '.str' obj/third_party/WebKit/Source/modules/libmodules.a(obj/third_party/WebKit/Source/modules/webdatabase/modules.DatabaseSync.o):../../third_party/WebKit/Source/modules/webdatabase/DatabaseSync.cpp:function __unnamed_1: error: undefined reference to '.str1' Kostya, do you have any ideas why this might break the asan build? R=kcc@chromium.org, vegorov@chromium.org, zerny@chromium.org BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169564

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M Source/heap/Heap.h View 1 chunk +4 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Mads Ager (chromium)
6 years, 9 months ago (2014-03-19 16:06:52 UTC) #1
Mads Ager (chromium)
+ oilpan-reviews
6 years, 9 months ago (2014-03-19 16:08:22 UTC) #2
Vyacheslav Egorov (Google)
lgtm
6 years, 9 months ago (2014-03-19 16:08:44 UTC) #3
Mads Ager (chromium)
The CQ bit was checked by ager@chromium.org
6 years, 9 months ago (2014-03-19 16:09:23 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ager@chromium.org/204673002/1
6 years, 9 months ago (2014-03-19 16:09:28 UTC) #5
wibling-chromium
lgtm
6 years, 9 months ago (2014-03-19 16:14:40 UTC) #6
haraken
LGTM
6 years, 9 months ago (2014-03-19 16:23:40 UTC) #7
commit-bot: I haz the power
Change committed as 169564
6 years, 9 months ago (2014-03-19 17:22:07 UTC) #8
kcc1
>> Kostya, do you have any ideas why this might break the asan build? No ...
6 years, 9 months ago (2014-03-20 07:49:09 UTC) #9
Alexander Potapenko
The CL disables both GC_PLUGIN_IGNORE and STACK_ALLOCATED under ASan. Is only GC_PLUGIN_IGNORE sufficient to fix ...
6 years, 9 months ago (2014-03-20 08:13:02 UTC) #10
Alexander Potapenko
On 2014/03/20 08:13:02, Alexander Potapenko wrote: > The CL disables both GC_PLUGIN_IGNORE and STACK_ALLOCATED under ...
6 years, 9 months ago (2014-03-20 08:20:46 UTC) #11
Mads Ager (chromium)
On 2014/03/20 08:20:46, Alexander Potapenko wrote: > On 2014/03/20 08:13:02, Alexander Potapenko wrote: > > ...
6 years, 9 months ago (2014-03-20 08:36:30 UTC) #12
Alexander Potapenko
I've fixed the bug today, so it'll be fine to enable the annotation back after ...
6 years, 9 months ago (2014-03-20 14:28:02 UTC) #13
Mads Ager (chromium)
6 years, 9 months ago (2014-03-20 14:53:04 UTC) #14
Awesome. Thanks Alexander!


On Thu, Mar 20, 2014 at 3:28 PM, Alexander Potapenko
<glider@chromium.org>wrote:

> I've fixed the bug today, so it'll be fine to enable the annotation back
> after the Clang roll following the upcoming one.
> On Mar 20, 2014 12:36 PM, <ager@chromium.org> wrote:
>
>> On 2014/03/20 08:20:46, Alexander Potapenko wrote:
>>
>>> On 2014/03/20 08:13:02, Alexander Potapenko wrote:
>>> > The CL disables both GC_PLUGIN_IGNORE and STACK_ALLOCATED under ASan.
>>> Is
>>>
>> only
>>
>>> > GC_PLUGIN_IGNORE sufficient to fix the problem?
>>>
>>
>>  Opened https://code.google.com/p/address-sanitizer/issues/detail?id=279with
a
>>> repro.
>>>
>>
>> Excellent. Thanks!
>>
>> Yeah, it is enough to just disable GC_PLUGIN_IGNORE. All our other clang
>> builds
>> will still get the compile-time verification that STACK_ALLOCATED gives
>> us so it
>> is fine to just disable it only on the ASAN build until we understand how
>> to fix
>> it.
>>
>> https://codereview.chromium.org/204673002/
>>
>

To unsubscribe from this group and stop receiving emails from it, send an email
to blink-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698