Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i#6406: Import syscall_linux header file based on the target architecture. #6407

Merged
merged 14 commits into from
Nov 10, 2023

Conversation

ivankyluk
Copy link
Contributor

@ivankyluk ivankyluk commented Nov 3, 2023

raw2trace_t::is_maybe_blocking_syscall() depends on the definitions of SYS_xxx to determine if the syscall may be blocking or not.

core/unix/include/syscall.h imports syscall_linux_xxx header file based on the host architecture. For cross platform support, the syscall_linux_xxx header file should be imported based on the target architecture.

Fixes: i6406

@ivankyluk ivankyluk changed the title i#6406: check for target architecture when DR_HOST_NOT_TARGET is defined. i#6406: Import syscall_linux_xxx header file based on the target architecture. Nov 3, 2023
@ivankyluk ivankyluk changed the title i#6406: Import syscall_linux_xxx header file based on the target architecture. i#6406: Import syscall_linux header file based on the target architecture. Nov 3, 2023
clients/drcachesim/tracer/raw2trace.cpp Show resolved Hide resolved
clients/drcachesim/tracer/raw2trace.cpp Outdated Show resolved Hide resolved
clients/drcachesim/tracer/raw2trace.cpp Outdated Show resolved Hide resolved
@ivankyluk ivankyluk merged commit 969e20d into master Nov 10, 2023
15 checks passed
@ivankyluk ivankyluk deleted the i6406-include-target-syscall-header-file branch November 10, 2023 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants