commit | 61ea1995c8f0703b625bf3422366b20fb98852d1 | [log] [tgz] |
---|---|---|
author | Stephen Crane <sjc@immunant.com> | Tue Nov 17 10:23:56 2020 -0800 |
committer | Stephen Crane <sjc@immunant.com> | Mon Dec 14 15:06:19 2020 -0800 |
tree | 35b6ec264579a42c601a3d4794be4be7db4a6604 | |
parent | 20043c305df7a8d86af029d37ab971a6ea18d14f [diff] |
[make] Force correct frame pointers for sancov Accurate LLVM coverage instrumentation with trace-pc-guard requires being able to correctly find a function's caller. With sibling call optimization, calls at the end of a function are turned into a direct branch to the sibling function, which causes the builtin returning our caller in the instrumentation to return the wrong caller. Disable sibling call optimization when building with coverage instrumentation. Bug: 175221942 Test: USER_COVERAGE_ENABLED=true build.py qemu-generic-arm64-fuzz-test-debug Change-Id: I596ee3565a95d288f2633042ded9573ce0583915
The LK embedded kernel. An SMP-aware kernel designed for small systems.
See https://github.com/littlekernel/lk for the latest version.
See https://github.com/littlekernel/lk/wiki for documentation.
This will get you a interactive prompt into LK which is running in qemu arm machine ‘virt’ emulation. type ‘help’ for commands.
note 1: for ubuntu: sudo apt-get install gcc-arm-none-eabi or fetch a prebuilt toolchain from http://newos.org/toolchains/arm-eabi-5.3.0-Linux-x86_64.tar.xz