New issue
Advanced search Search tips

Issue 813271 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Task
Build-Toolchain



Sign in to add a comment

Always record command line in debug info

Project Member Reported by laszio@chromium.org, Feb 17 2018

Issue description

Need a regression test so that we can use them whenever we need.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 27 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/toolchain-utils/+/2bf1a34ed9bed661399740582ee6b8738599182b

commit 2bf1a34ed9bed661399740582ee6b8738599182b
Author: Zhizhou Yang <zhizhouy@google.com>
Date: Fri Apr 27 21:36:56 2018

debug_info_test: add a test to check DW_AT_producer

This patch introduces two tests, one to check whether debug info section
exists in the elf file, the other to check whether DW_AT_producer exists
in each compile unit of debug info.

BUG=chromium:813271
TEST=debug_info_test /build/kip/usr/lib/debug

Change-Id: I3c207abe05c55182ddcc1910073c15a40b0844bf
Reviewed-on: https://chromium-review.googlesource.com/1007968
Commit-Ready: Zhizhou Yang <zhizhouy@chromium.org>
Tested-by: Zhizhou Yang <zhizhouy@chromium.org>
Reviewed-by: Ting-Yuan Huang <laszio@chromium.org>

[modify] https://crrev.com/2bf1a34ed9bed661399740582ee6b8738599182b/debug_info_test/debug_info_test.py
[add] https://crrev.com/2bf1a34ed9bed661399740582ee6b8738599182b/debug_info_test/exist_producer.whitelist
[add] https://crrev.com/2bf1a34ed9bed661399740582ee6b8738599182b/debug_info_test/exist_debug_info.whitelist
[add] https://crrev.com/2bf1a34ed9bed661399740582ee6b8738599182b/debug_info_test/check_exist.py

Project Member

Comment 2 by bugdroid1@chromium.org, May 7 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/toolchain-utils/+/9b17afe07eb646cfb55720a4b1ea7c2f60bc4a2e

commit 9b17afe07eb646cfb55720a4b1ea7c2f60bc4a2e
Author: Zhizhou Yang <zhizhouy@google.com>
Date: Mon May 07 03:39:23 2018

[toolchain-utils] Whitelist update for debug_info_test

This CL updates the whitelist for debug_info_test stage, when checking
whether DebugInfo session exists or not.

We do not care about the debug info in autotest, so whitelisted this
directory.

BUG=chromium:813271
TEST=debug_info_test /build/kip/usr/lib/debug with -nousepkg build

Change-Id: I1ccd845462d07b0be58eb811550a00a2986a5086
Reviewed-on: https://chromium-review.googlesource.com/1044756
Commit-Ready: Zhizhou Yang <zhizhouy@chromium.org>
Tested-by: Zhizhou Yang <zhizhouy@chromium.org>
Reviewed-by: Yunlian Jiang <yunlian@chromium.org>

[modify] https://crrev.com/9b17afe07eb646cfb55720a4b1ea7c2f60bc4a2e/debug_info_test/exist_debug_info.whitelist

Status: Assigned (was: Untriaged)
This bug has an owner, thus, it's been triaged. Changing status to "assigned".

Sign in to add a comment