[all-commits] [llvm/llvm-project] 61f400: [llvm-exegesis] Define SYS_gettid if not available
Aiden Grossman via All-commits
all-commits at lists.llvm.org
Thu Apr 18 01:57:10 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 61f400165c64894374d23ffbcbebc8650d974961
https://github.com/llvm/llvm-project/commit/61f400165c64894374d23ffbcbebc8650d974961
Author: Aiden Grossman <aidengrossman at google.com>
Date: 2024-04-18 (Thu, 18 Apr 2024)
Changed paths:
M llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp
Log Message:
-----------
[llvm-exegesis] Define SYS_gettid if not available
This patch defines SYS_gettid as __NR_gettid if SYS_gettid is not
available to avoid compile time errors due to SYS_gettid not being
defined. This happens with certain libcs (like bionic) that do not
define SYS_gettid.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list