Skip to content

8303082 : [AIX] Missing C++ name demangling with XLClang++ #12742

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

Closed
wants to merge 4 commits into from

Conversation

deepa181
Copy link
Contributor

@deepa181 deepa181 commented Feb 24, 2023

It was failing as It was using the C++ demangling interface (Demangle) of the old demangler (that is, the C++ API as opposed to the C one). It is not supported by xlclang++ on AIX.
To demangle names generated by xlclang++ , use cxxabi.h __cxa_demangle interface ( see cxxabi.h).

This Solution applies to the following test

  1. SecondaryErrorTest.java`
  2. TestSigInfoInHsErrFile.java

Reported Issue : JDK - 8303082


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue

Issue

  • JDK-8303082: [AIX] Missing C++ name demangling with XLClang++

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/12742/head:pull/12742
$ git checkout pull/12742

Update a local copy of the PR:
$ git checkout pull/12742
$ git pull https://git.openjdk.org/jdk.git pull/12742/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 12742

View PR using the GUI difftool:
$ git pr show -t 12742

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/12742.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Feb 24, 2023

👋 Welcome back deepa181! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented Feb 24, 2023

@deepa181 The following label will be automatically applied to this pull request:

  • hotspot-runtime

When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing list. If you would like to change these labels, use the /label pull request command.

@openjdk openjdk bot added the hotspot-runtime hotspot-runtime-dev@openjdk.org label Feb 24, 2023
@backwaterred
Copy link
Contributor

Thanks for looking at this Deepa! This fixes an issue that I had always noticed, but never got around to digging in to :-)

@deepa181 deepa181 closed this Feb 24, 2023
@deepa181 deepa181 reopened this Feb 24, 2023
@deepa181 deepa181 force-pushed the secondaryErr branch 2 times, most recently from 43eae94 to 4c65dda Compare February 24, 2023 20:37
@deepa181 deepa181 marked this pull request as ready for review February 24, 2023 20:52
@deepa181
Copy link
Contributor Author

Thanks for looking at this Deepa! This fixes an issue that I had always noticed, but never got around to digging in to :-)

Thank you @backwaterred .

@TheShermanTanker
Copy link
Contributor

@deepa181 You have to fix whitespace errors before the integration system will allow this to be reviewed. Any tabs are not allowed, only spaces

@openjdk
Copy link

openjdk bot commented Feb 27, 2023

@deepa181 Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

@openjdk openjdk bot added the rfr Pull request is ready for review label Feb 27, 2023
@deepa181
Copy link
Contributor Author

@deepa181 You have to fix whitespace errors before the integration system will allow this to be reviewed. Any tabs are not allowed, only spaces

Thanks for review @TheShermanTanker . I removed extra whitespaces.

@mlbridge
Copy link

mlbridge bot commented Feb 27, 2023

Webrevs

@openjdk
Copy link

openjdk bot commented Feb 27, 2023

@deepa181 Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

@deepa181 deepa181 requested review from jcking and backwaterred and removed request for jcking and backwaterred March 21, 2023 10:29
Copy link
Contributor

@backwaterred backwaterred left a comment

Choose a reason for hiding this comment

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

LGTM

@deepa181
Copy link
Contributor Author

LGTM

Thanks @backwaterred .

@deepa181 deepa181 requested a review from jcking March 23, 2023 05:31
@deepa181
Copy link
Contributor Author

Hi @TheRealMDoerr ,

Could you please review this PR?

Thanks.

Copy link
Contributor

@TheRealMDoerr TheRealMDoerr left a comment

Choose a reason for hiding this comment

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

Thanks for implementing it! Looks basically good to me. Please consider my suggestions.

@openjdk
Copy link

openjdk bot commented Mar 31, 2023

@deepa181 Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

@openjdk
Copy link

openjdk bot commented Apr 4, 2023

@deepa181 Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information.

Copy link
Contributor

@TheRealMDoerr TheRealMDoerr left a comment

Choose a reason for hiding this comment

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

LGTM.

@openjdk
Copy link

openjdk bot commented Apr 4, 2023

@deepa181 This change now passes all automated pre-integration checks.

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

After integration, the commit message for the final commit will be:

8303082: [AIX] Missing C++ name demangling with XLClang++

Reviewed-by: tsteele, mdoerr, stuefe

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 478 new commits pushed to the master branch:

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@backwaterred, @TheRealMDoerr, @tstuefe) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Apr 4, 2023
Copy link
Member

@tstuefe tstuefe left a comment

Choose a reason for hiding this comment

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

Looks good!

@deepa181
Copy link
Contributor Author

deepa181 commented Apr 4, 2023

LGTM.

Thanks @TheRealMDoerr .

@deepa181
Copy link
Contributor Author

deepa181 commented Apr 4, 2023

Looks good!

Thanks @tstuefe for Suggesting and helping.

@deepa181
Copy link
Contributor Author

deepa181 commented Apr 4, 2023

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Apr 4, 2023
@openjdk
Copy link

openjdk bot commented Apr 4, 2023

@deepa181
Your change (at version 597515c) is now ready to be sponsored by a Committer.

@TheRealMDoerr
Copy link
Contributor

/sponsor

@openjdk
Copy link

openjdk bot commented Apr 4, 2023

Going to push as commit f9ed825.
Since your change was applied there have been 479 commits pushed to the master branch:

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Apr 4, 2023
@openjdk openjdk bot closed this Apr 4, 2023
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored labels Apr 4, 2023
@openjdk
Copy link

openjdk bot commented Apr 4, 2023

@TheRealMDoerr @deepa181 Pushed as commit f9ed825.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hotspot-runtime hotspot-runtime-dev@openjdk.org integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

6 participants