diff options
author | Jingyun Hua <huajingyun@loongson.cn> | 2022-02-08 20:47:10 +0800 |
---|---|---|
committer | Jingyun Hua <huajingyun@loongson.cn> | 2022-02-08 20:47:10 +0800 |
commit | fe85bbdf4cb891a67a8e2109c1c22a33aa958c7e (patch) | |
tree | 25492f97dc329ae14739afde80795d3a8f32fcf4 /src/stacktrace.cc | |
parent | e80652b6279a22bd4a4264e4403cd1981293e82f (diff) | |
download | gperftools-fe85bbdf4cb891a67a8e2109c1c22a33aa958c7e.tar.gz |
Add support for LoongArch.
Only 64-bit is supported at the moment.
Signed-off-by: Jingyun Hua <huajingyun@loongson.cn>
Diffstat (limited to 'src/stacktrace.cc')
-rw-r--r-- | src/stacktrace.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stacktrace.cc b/src/stacktrace.cc index 2a2c648..32b16fa 100644 --- a/src/stacktrace.cc +++ b/src/stacktrace.cc @@ -219,7 +219,7 @@ static GetStackImplementation *all_impls[] = { // ppc and i386 implementations prefer arch-specific asm implementations. // arm's asm implementation is broken -#if defined(__i386__) || defined(__ppc__) || defined(__PPC__) +#if defined(__i386__) || defined(__ppc__) || defined(__PPC__) || defined(__loongarch64) #if !defined(NO_FRAME_POINTER) #define TCMALLOC_DONT_PREFER_LIBUNWIND #endif |