Skip to content

Add dladdr minimal support for AIX - #114

Merged
apolukhin merged 2 commits into
boostorg:developfrom
Helflym:develop
Jun 12, 2024
Merged

apolukhin merged 2 commits into
boostorg:developfrom
Helflym:develop

Conversation

@Helflym

@Helflym Helflym commented Nov 4, 2021

Copy link
Copy Markdown

AIX doesn't provide dladdr syscall. This patch implements a minimal
version in order to be able to compile stacktrace.

Clément Chigot and others added 2 commits November 4, 2021 13:16
AIX doesn't provide dladdr syscall. This patch implements a minimal
version in order to be able to compile stacktrace.

@apolukhin apolukhin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've noticed a leak in code, so changed it to store the std::string in Dl_info.

Not quite sure that the result compiles on AIX. Could you please give it a try and propose fixes if something is wrong?

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 86.35% (-7.5%) from 93.865%
when pulling 51807cd on Helflym:develop
into 3f3f902 on boostorg:develop.

@Helflym

Helflym commented Jun 11, 2024

Copy link
Copy Markdown
Author

Sadly, I won't be able to do so, I don't have access to an AIX server anymore. I propose to let the user behind #89 tests this MR. Otherwise, you can either close it or merge as is hoping it works (the code being solely AIX it would be safe for other targets)

@apolukhin
apolukhin merged commit 66c0f7a into boostorg:develop Jun 12, 2024
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