Skip to content

Conversation

@dnadlinger
Copy link
Member

This leads to serious problems for values we really should
not be loading from, such as 100k element static arrays.

It was hard to figure out exactly why we need to emit DWARF
info here, so the easiest solution is to just have a look
at assignments during the next big debug info push.

@liranz

This leads to serious problems for values we really should
not be loading from, such as 100k element static arrays.

It was hard to figure out exactly why we need to emit DWARF
info here, so the easiest solution is to just have a look
at assignments during the next big debug info push.
redstar added a commit that referenced this pull request May 29, 2015
Remove extra load on assignment generated only for debug info
@redstar redstar merged commit a176bcf into ldc-developers:master May 29, 2015
@redstar
Copy link
Member

redstar commented May 29, 2015

During last debug session I noted that ldc sometimes generates unnecessary loads. E.g. storing a value and then loading it. I did not have a closer look. Maybe this is caused by this, too.

@dnadlinger dnadlinger deleted the debug-load branch May 29, 2015 05:19
@dnadlinger
Copy link
Member Author

These loads were strictly unused, though.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants