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#6575: dr_{get,set}_sve_vector_length missing export specifiers #6576

Merged
merged 1 commit into from
Jan 23, 2024

Conversation

derekbruening
Copy link
Contributor

@derekbruening derekbruening commented Jan 23, 2024

dr_set_sve_vector_length() and dr_get_sve_vector_length() in encode_api.h were missing DR_API specifiers and thus were not exported from libdynamorio, causing link errors.

Adds a test to ir_aarch64.c which fails without the fix. However, the test may fail on actual SVE hardware: updating it is future work, maybe by changing dr_set_sve_vector_length() to return a bool.

Also tested on the same internal build where the failure was observed.

Issue: #6575

dr_set_sve_vector_length() and dr_get_sve_vector_length() in
encode_api.h were are missing DR_API specifiers and thus were not
exported from libdynamorio, causing link errors.

Adds a test to ir_aarch64.c which fails without the fix.  However, the
test may fail on actual SVE hardware: updating it is future work,
maybe by changing dr_set_sve_vector_length() to return a bool.

Also tested on the same internal build where the failure was observed.

Issue: #6575
@derekbruening
Copy link
Contributor Author

x64 failure is client.detach #6536

@derekbruening derekbruening merged commit 3772e01 into master Jan 23, 2024
13 of 15 checks passed
@derekbruening derekbruening deleted the i6575-sve-api-not-exported branch January 23, 2024 22:00
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.

2 participants