Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

[x86/Linux] Revise RealCodeHeader and CodeHeader#8344

Closed
parjong wants to merge 1 commit into
dotnet:masterfrom
parjong:fix/issue_8342
Closed

[x86/Linux] Revise RealCodeHeader and CodeHeader#8344
parjong wants to merge 1 commit into
dotnet:masterfrom
parjong:fix/issue_8342

Conversation

@parjong
Copy link
Copy Markdown

@parjong parjong commented Nov 29, 2016

This commit fixes #8342.

@parjong
Copy link
Copy Markdown
Author

parjong commented Nov 29, 2016

\CC @seanshpark

@parjong parjong changed the title Move GetUnwindInfo, SetNumberOfUnwindInfos and GetNumberOfUnwindInfos into the real code header [x86/Linux] Revise RealCodeHeader and CodeHeader Nov 29, 2016
Comment thread src/vm/codeman.h
SelfType Self(void)
{
#ifdef DACCESS_COMPILE
return (TADDR) this;
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.

This cast is not right for DACCESS_COMPILE.

The rules for DACCESS_COMPILE are explained in https://github.com/dotnet/coreclr/blob/master/src/inc/daccess.h#L138, and the whole story is in https://github.com/dotnet/coreclr/blob/master/Documentation/botr/dac-notes.md.

@jkotas
Copy link
Copy Markdown
Member

jkotas commented Nov 29, 2016

As discussed in #8296, it may be better to change strategy and get Linux x86 to compile and work with WIN64EXCEPTIONS undefined first.

@parjong
Copy link
Copy Markdown
Author

parjong commented Nov 29, 2016

Thanks you for comment. I'll try that approach, too.

@jkotas
Copy link
Copy Markdown
Member

jkotas commented Dec 1, 2016

Let's close this for now and see where we get with !WIN64EXCEPTIONS.

@jkotas jkotas closed this Dec 1, 2016
@parjong
Copy link
Copy Markdown
Author

parjong commented Dec 14, 2016

This PR is merged into #8629.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[x86/Linux] build failure on comdelegate.cpp

3 participants