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

Remove end labels from regular asm procs on Unix - #5777

Merged
janvorli merged 1 commit into
dotnet:masterfrom
janvorli:fix-asm-proc-end-labels
Jun 16, 2016
Merged

janvorli merged 1 commit into
dotnet:masterfrom
janvorli:fix-asm-proc-end-labels

Conversation

@janvorli

Copy link
Copy Markdown
Member

All ASM proc now unnecessarily have xxx_End label marking
the end of the proc. This causes confusing stack traces in
some cases, especially on OSX, when instead of a name of
an actual function, a name of the previous one with the
_End attached to it is shown.
This change fixes that by modifying the LEAF_END macro to
not to be defined as an equivalent of the LEAF_END_MARKED.

@janvorli

Copy link
Copy Markdown
Member Author

@jkotas can you take a look please?

@jkotas

jkotas commented Jun 13, 2016

Copy link
Copy Markdown
Member

LGTM

@janvorli
janvorli force-pushed the fix-asm-proc-end-labels branch from 2adadbd to 0c8b471 Compare June 14, 2016 09:03
@janvorli

Copy link
Copy Markdown
Member Author

There was a little issue on OSX - the NESTED_END used the removed xxx_End symbol to compute function size for the compact unwind. Fixed it by moving the size computation before switching to the compact unwind section and using "." instead of the end symbol.

@janvorli

Copy link
Copy Markdown
Member Author

Hmm, the change obviously causes exception handling problems on OSX for some reason, I need to investigate that.

@janvorli

Copy link
Copy Markdown
Member Author

Strange. I cannot repro the problem locally - the tests that were failing in the CI are working fine on my OSX.

@janvorli

Copy link
Copy Markdown
Member Author

@dotnet-bot test OSX x64 Checked Build and Test please

@janvorli
janvorli force-pushed the fix-asm-proc-end-labels branch 4 times, most recently from 27a7a08 to c3080c6 Compare June 16, 2016 01:10
All ASM proc now unnecessarily have xxx_End label marking
the end of the proc. This causes confusing stack traces in
some cases, especially on OSX, when instead of a name of
an actual function, a name of the previous one with the
_End attached to it is shown.
This change fixes that by modifying the LEAF_END macro to
not to be defined as an equivalent of the LEAF_END_MARKED.
@janvorli
janvorli force-pushed the fix-asm-proc-end-labels branch from c3080c6 to 5ee8778 Compare June 16, 2016 08:59
@janvorli
janvorli merged commit aaf5e7d into dotnet:master Jun 16, 2016
@janvorli
janvorli deleted the fix-asm-proc-end-labels branch June 16, 2016 13:15
myungjoo added a commit to myungjoo/coreclr that referenced this pull request Jun 17, 2016
We still have ASM macro that requires END labels.
Reverting this will fix the regression

Fixes #5845

This reverts commit aaf5e7d.
myungjoo added a commit to myungjoo/coreclr that referenced this pull request Jun 17, 2016
This fixes the regression from dotnet#5777 for ARM64.

Fixes dotnet#5847 for ARM64.

Signed-off-by: MyungJoo Ham <[email protected]>
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
All ASM proc now unnecessarily have xxx_End label marking
the end of the proc. This causes confusing stack traces in
some cases, especially on OSX, when instead of a name of
an actual function, a name of the previous one with the
_End attached to it is shown.
This change fixes that by modifying the LEAF_END macro to
not to be defined as an equivalent of the LEAF_END_MARKED.

Commit migrated from dotnet/coreclr@aaf5e7d
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.

3 participants