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

Hardware tracer mode emits full debugging info. #45

Open
vext01 opened this issue Sep 20, 2019 · 5 comments
Open

Hardware tracer mode emits full debugging info. #45

vext01 opened this issue Sep 20, 2019 · 5 comments

Comments

@vext01
Copy link
Member

vext01 commented Sep 20, 2019

Currently, if you pass -C tracer=hw you will only get code with DILabels if you enable debuginfo as well. This isn't ideal.

Currently, when using -C tracer=hw we implicitly enable debuginfo. If possible, it would be better if we could find a way to build the necessary debug contexts but without emitting regular debug info (e.g. by using some special debuginfo mode that only adds our labels).

@ptersilie
Copy link
Member

We've implemented 1. in #52. @vext01 Should we close this issue, or leave it open as a reminder that ideally we'd want to do something more like 2.

@vext01
Copy link
Member Author

vext01 commented Feb 12, 2020

I think the latter is supposed to read:

Make -C tracer=hw build the necessary debug contexts but without emitting regular debug info.

i.e. hw, not sw, right?

@vext01
Copy link
Member Author

vext01 commented Feb 12, 2020

In fact, there are many references to sw, which should be hw I think.

@ptersilie
Copy link
Member

Yes, that should be all hw, though that doesn't answer my question. ;-)

@vext01
Copy link
Member Author

vext01 commented Feb 12, 2020

I think we can just edit this issue and cross out the stuff we have done already.

@ptersilie ptersilie changed the title hardware tracer mode shouldn't require -g Hardware tracer mode shouldn't require debuginfo Feb 12, 2020
@ptersilie ptersilie removed their assignment Feb 12, 2020
@vext01 vext01 changed the title Hardware tracer mode shouldn't require debuginfo Hardware tracer mode emits full debugging info. Nov 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants