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

Make Watcom not optimize returns and not reuse functions #32

Closed
tomsons26 opened this issue Nov 22, 2018 · 0 comments
Closed

Make Watcom not optimize returns and not reuse functions #32

tomsons26 opened this issue Nov 22, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@tomsons26
Copy link
Contributor

tomsons26 commented Nov 22, 2018

These optimizations make debugging of our code a whole lot harder.
Adding -oc will stop Watcom from optimizing returns into jumps to another identical return.
Adding -ou will make Watcom make every function a unique function.

@tomsons26 tomsons26 changed the title Make Watcom not optimize returns Make Watcom not optimize returns and not reuse functions Nov 22, 2018
@OmniBlade OmniBlade added the enhancement New feature or request label Nov 23, 2018
OmniBlade added a commit to OmniBlade/Chronoshift that referenced this issue Nov 23, 2018
Flags make generated assembly easier to follow.
Fixes TheAssemblyArmada#32.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants