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

[x86/Linux] Revise RealCodeHeader and CodeHeader #8344

Closed
wants to merge 1 commit into from

Conversation

parjong
Copy link

@parjong parjong commented Nov 29, 2016

This commit fixes #8342.

@parjong
Copy link
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
SelfType Self(void)
{
#ifdef DACCESS_COMPILE
return (TADDR) this;
Copy link
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
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
Author

parjong commented Nov 29, 2016

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

@jkotas
Copy link
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
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