mirror of
https://github.com/libunwind/libunwind.git
synced 2026-01-12 00:04:03 +08:00
14 lines
259 B
C
14 lines
259 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
/*
|
|
* Run the backtrace test using the ARM DWARF unwinder based on the
|
|
* .debug_frame section.
|
|
*/
|
|
__attribute__((constructor))
|
|
void set_dwarf(void) {
|
|
setenv("UNW_ARM_UNWIND_METHOD", "1", 1);
|
|
}
|
|
|
|
#include "Gtest-bt.c"
|