platform/upstream/gcc-contrib.git
5 years agopackaging: add "fast_unwind_on_fatal=1" to asan_runtime_options 97/184397/2 accepted/tizen/base/20180720.111957 submit/tizen_base/20180719.091532
Dongkyun Son [Tue, 17 Jul 2018 23:53:35 +0000 (08:53 +0900)]
packaging: add "fast_unwind_on_fatal=1" to asan_runtime_options

Change-Id: Ic4ce07fadd8978a329a1ea02a558852a70050c6e
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
6 years agopackaging: add marm option to asan_force_options 00/175100/4 accepted/tizen/base/20180622.191829 submit/tizen_base/20180621.081209
Dongkyun Son [Mon, 9 Apr 2018 00:01:57 +0000 (09:01 +0900)]
packaging: add marm option to asan_force_options

Frame-pointer-based unwinding does not work on Thumb.

Note that binary size will be bigger, but backtraces will be readable.

Change-Id: I60d9bbfaaac8ed5ebe2525d5a8b99eec5139c8e6
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
6 years agopackaging: do not registers the SEGV handler in ASan runtime. 50/176950/1 accepted/tizen/base/20180427.142226 submit/tizen_base/20180427.075312
Dongkyun Son [Tue, 24 Apr 2018 08:29:52 +0000 (17:29 +0900)]
packaging: do not registers the SEGV handler in ASan runtime.

There is "ASAN:DEADLYSIGNAL" report which is not necessary information
in Tizen. Basially, signal handler is registered and managed by
crash-manager in Tizen.

handle_segv: Controls custom tool's SEGV handler
0 - do not registers the handler,
1 - register the handler and allow user to set own,
2 - registers the handler and block user from changing it).

Change-Id: I84449c3e65a8bd7cbec82432dcbce1c749dbde3c
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
6 years agoFind package name with hyphen in %asan_incompatible_pkgs 03/175903/1 accepted/tizen/base/20180420.170845 submit/tizen_base/20180417.072816
Chan Lee [Fri, 13 Apr 2018 07:59:42 +0000 (16:59 +0900)]
Find package name with hyphen in %asan_incompatible_pkgs

find.string fuction can not find string with hyphen
because hyphen is regarded as special character.
This commit makes find.string function check all strings as plain text.

Change-Id: I5464938953cb373135e993134aa238e1974e1ee6
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
6 years ago[ASan] Create a blacklist for ASan build 19/173419/3 accepted/tizen/base/20180413.181200 submit/tizen_base/20180412.024621
Slava Barinov [Wed, 21 Mar 2018 08:52:38 +0000 (11:52 +0300)]
[ASan] Create a blacklist for ASan build

If the package is added to %asan_incompatible_pkgs in project config, the macro
%gcc_unforce_options will be executed before build.

This approach can be applied to some of packages which are not intended to
build with ASan and disabling ASan flags is enough.

Change-Id: I12af731714768f3c207fa115fb78efec88ba177b
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
6 years ago[TSan] Add new runtime flag "run_under_qemu". 21/159921/6 sandbox/chanleebf/test accepted/tizen/base/20171208.204013 accepted/tizen/base/20180416.213934 submit/tizen_base/20171207.085008 submit/tizen_base/20180416.141818
Denis Khalikov [Mon, 13 Nov 2017 17:48:14 +0000 (20:48 +0300)]
[TSan] Add new runtime flag "run_under_qemu".

This flag allows to manage cross build for
binaries with TSan instrumentation.

Change-Id: I41b1cca0506c566f2070f9c17ca68945a3d707f5

6 years ago[TSan] Add tsan-force-options, tsan-runtime-env. 77/156677/5
Denis Khalikov [Thu, 19 Oct 2017 09:25:31 +0000 (12:25 +0300)]
[TSan] Add tsan-force-options, tsan-runtime-env.

For this moment tsan-runtime-env works without
preloading libtsan, because of huge memory consumption
by libtsan, at least 1:4. So, adding libtsan to ld.so.preload
will require a huge VM space available, because libtsan
has interceptors for allocators as well as libasan.

In this case I see only one way to enable TSan for DSO:

Build an executable with TSan, which requires DSO we want
to execute. In this case compiler will add section .preinit with
TSan initialization and rltd will call this section early than .init
section for other DSO.

Change-Id: I0cccb8c447287731a7c2b9f09f84a4a490d52d22

6 years agoAdd ISan related options and isan-force-options package 03/159303/2 accepted/tizen/base/20171117.154046 submit/tizen_base/20171114.100800
Ivan Baravy [Mon, 25 Sep 2017 17:24:53 +0000 (20:24 +0300)]
Add ISan related options and isan-force-options package

Change-Id: Ibb835c856939f953e03b2f687417a861d9d9c3a7
Signed-off-by: Ivan Baravy <i.baravy@samsung.com>
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
6 years agoFix lsan-force-options, lsan-runtime-env. 37/151637/1 accepted/tizen/base/20171027.152143 submit/tizen_base/20171024.003248
Michail Kashkarov [Wed, 20 Sep 2017 18:02:00 +0000 (21:02 +0300)]
Fix lsan-force-options, lsan-runtime-env.

Append -marm -Wa,-mimplicit-it=arm, -ldl, -lpthread to
lsan-force-options, fix lsan-runtime-env preun script.

Change-Id: If45e9337e78b87c61c308e5eb84b44e33489f868

6 years ago[TTC-6] packaging: Enable gcc-contrib package 57/147457/4 accepted/tizen/base/20170920.065336 submit/tizen_base/20170919.080038
Denis Khalikov [Tue, 22 Aug 2017 08:08:58 +0000 (11:08 +0300)]
[TTC-6] packaging: Enable gcc-contrib package

All scripts related to toolchain moved from
gcc package to gcc-contrib package.

Change-Id: I52019814fe8c4173241d91982e3200da88918593
Signed-off-by: Denis Khalikov <d.khalikov@partner.samsung.com>
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
6 years agoInitial empty repository master
Tizen Infrastructure [Tue, 22 Aug 2017 00:02:17 +0000 (00:02 +0000)]
Initial empty repository