Keep unwind table when cast_is_debug is true

The platform of Chromecast devices are arm/aarch64. For getting the
backtrace of malloc location by heap profiler, we need to keep the
unwind table for stack walking.

Bug: None
Change-Id: I8e4e4dc4f47206734aa7764a956c751c825446e2
Reviewed-by: Dirk Pranke <>
Reviewed-by: Luke Halliwell <>
Commit-Queue: Chia-hung Duan <>
Auto-Submit: Chia-hung Duan <>
Cr-Commit-Position: refs/heads/master@{#642465}
3 files changed