[clang, visual studio debugging] Identification of a concrete class in a general pointer variable doesn't work any more
Categories
(Firefox Build System :: Toolchains, defect)
Tracking
(Not tracked)
People
(Reporter: mayhemer, Unassigned)
References
Details
Attachments
(2 obsolete files)
| Reporter | ||
Comment 1•8 years ago
|
||
| Reporter | ||
Comment 2•8 years ago
|
||
| Reporter | ||
Comment 6•8 years ago
|
||
| Reporter | ||
Comment 7•8 years ago
|
||
| Reporter | ||
Updated•8 years ago
|
| Reporter | ||
Comment 9•8 years ago
|
||
Comment 10•7 years ago
|
||
Is there anything that would keep this from finally landing?
| Reporter | ||
Comment 11•7 years ago
|
||
David, can we please land this? I used to have this patch in mq, but now I use hg bookmarks - it's hard to have custom patches with that workflow.
This is a valid workaround for a clang bug and NOT having it in the tree actually disallows me from doing much work. Thanks.
Comment 12•7 years ago
|
||
I'm not comfortable landing this change during code freeze. Upstream says this flag comes with a substantial cost in file size and build speed. Remember that this flag is a big-hammer workaround for a bug, and not a true "fix".
Ideally the upstream bug would get properly fixed -- I'll prod it. Failing that, maybe we can try this early next cycle, but in the meantime you should be able to export CFLAGS in your mozconfig regardless of mq/bookmarks/etc.
| Reporter | ||
Comment 13•7 years ago
|
||
Thanks for the tip. Adding:
mk_add_options "export CFLAGS=-fno-limit-debug-info"
mk_add_options "export CXXFLAGS=-fno-limit-debug-info"
to my mozconfig solves the problem locally for me.
Please advise how to resolve this bug (WONTFIX, INCOMPLETE or somehow leave open dependent on the clang issue)
Comment 14•7 years ago
|
||
Now that we have a fresh cycle, I'm willing to give it a try. We'll see if the sheriffs yell at me...
Comment 15•7 years ago
|
||
See https://bugs.llvm.org/show_bug.cgi?id=38944. clang thought it could safely leave out type information for some of our classes, but that information would have been helpful for debugging. The flag in this patch turns off the debug-info limiting.
| Reporter | ||
Comment 16•7 years ago
|
||
Comment 17•7 years ago
|
||
Comment 18•7 years ago
|
||
| bugherder | ||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 19•7 years ago
•
|
||
Backed out changeset 70ce7207292e (bug 1490743) for increasing build times on Windows platforms. a=backout
Backout link: https://hg.mozilla.org/mozilla-central/rev/df256c98c3fdb56de9bc2900803a6c4d58671100
Updated•7 years ago
|
Updated•7 years ago
|
Comment 20•4 years ago
|
||
In the process of migrating remaining bugs to the new severity system, the severity for this bug cannot be automatically determined. Please retriage this bug using the new severity system.
Description
•