aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
diff options
context:
space:
mode:
authorAiden Grossman <aidengrossman@google.com>2024-04-18 08:50:40 +0000
committerAiden Grossman <aidengrossman@google.com>2024-04-18 08:52:21 +0000
commit61f400165c64894374d23ffbcbebc8650d974961 (patch)
treee43e39acf9b11eaed00e2e910f8376773362a12f /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp
parentfd98f80f602e11d523d252feef301634c2c689a7 (diff)
downloadllvm-61f400165c64894374d23ffbcbebc8650d974961.zip
llvm-61f400165c64894374d23ffbcbebc8650d974961.tar.gz
llvm-61f400165c64894374d23ffbcbebc8650d974961.tar.bz2
[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.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions