mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-08 03:43:25 +00:00
bump(main/emscripten): 3.1.57 (#19784)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
--- a/llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp
|
||||
+++ b/llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp
|
||||
@@ -22,7 +22,7 @@
|
||||
namespace llvm {
|
||||
namespace exegesis {
|
||||
|
||||
-#if defined(__linux__) && !defined(__ANDROID__)
|
||||
+#if defined(__linux__)
|
||||
|
||||
long SubprocessMemory::getCurrentTID() {
|
||||
// We're using the raw syscall here rather than the gettid() function provided
|
||||
@@ -31,6 +31,10 @@
|
||||
return syscall(SYS_gettid);
|
||||
}
|
||||
|
||||
+#endif
|
||||
+
|
||||
+#if defined(__linux__) && !defined(__ANDROID__)
|
||||
+
|
||||
Error SubprocessMemory::initializeSubprocessMemory(pid_t ProcessID) {
|
||||
// Add the PID to the shared memory name so that if we're running multiple
|
||||
// processes at the same time, they won't interfere with each other.
|
||||
Reference in New Issue
Block a user