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

Remove undefined behavior from Symtab::Type #706

Merged
merged 1 commit into from Mar 10, 2020
Merged

Conversation

hainest
Copy link
Contributor

@hainest hainest commented Jan 31, 2020

Calling a member function of a base class before the base class's constructor has completed is undefined behavior.

I tried not to change Type's API, but the member needed to be extracted in order to be handled during base class construction.

@mxz297 @blue42u Could you double-check that I didn't change the semantics?

Calling a member function of a base class before the base class's
constructor has completed is undefined behavior.
@hainest hainest self-assigned this Jan 31, 2020
@hainest hainest requested a review from mxz297 January 31, 2020 23:24
@hainest hainest added ABI-BREAKER This change alters the Dyninst public ABI bug build labels Jan 31, 2020
@hainest hainest added this to the Release 10.2 milestone Jan 31, 2020
@blue42u
Copy link
Contributor

blue42u commented Feb 2, 2020

Looks good to me.

@mxz297
Copy link
Member

mxz297 commented Feb 21, 2020

@hainest Sorry for the delay. Looks good to me.

@hainest
Copy link
Contributor Author

hainest commented Mar 10, 2020

@hainest
Copy link
Contributor Author

hainest commented Mar 10, 2020

I've manually verified that this PR does not introduce any regressions (the regressions in the dashboard are carryover from other breakages).

@hainest hainest merged commit 4f6f3db into master Mar 10, 2020
@hainest hainest deleted the remove_ub_symtab branch May 30, 2020 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ABI-BREAKER This change alters the Dyninst public ABI bug build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants