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/base/linuxthreads.h | |
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/base/linuxthreads.h')
-rw-r--r-- | src/base/linuxthreads.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/linuxthreads.h b/src/base/linuxthreads.h index a087628..3b488f2 100644 --- a/src/base/linuxthreads.h +++ b/src/base/linuxthreads.h @@ -42,7 +42,7 @@ * related platforms should not be difficult. */ #if (defined(__i386__) || defined(__x86_64__) || defined(__arm__) || \ - defined(__mips__) || defined(__PPC__) || defined(__aarch64__) || \ + defined(__mips__) || defined(__PPC__) || defined(__aarch64__) || defined(__loongarch64) || \ defined(__s390__)) && defined(__linux) /* Define the THREADS symbol to make sure that there is exactly one core dumper |