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/malloc_hook_mmap_linux.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/malloc_hook_mmap_linux.h')
-rw-r--r-- | src/malloc_hook_mmap_linux.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/malloc_hook_mmap_linux.h b/src/malloc_hook_mmap_linux.h index cbf3782..4362fe0 100644 --- a/src/malloc_hook_mmap_linux.h +++ b/src/malloc_hook_mmap_linux.h @@ -54,6 +54,7 @@ #if defined(__x86_64__) \ || defined(__PPC64__) \ || defined(__aarch64__) \ + || defined(__loongarch64) \ || (defined(_MIPS_SIM) && (_MIPS_SIM == _ABI64 || _MIPS_SIM == _ABIN32)) \ || defined(__s390__) || (defined(__riscv) && __riscv_xlen == 64) \ || defined(__e2k__) |