Comment #7 on issue 260 by [email protected]: ASan breaks dead
stripping (-ffunction-sections/-Wl,-gc-section on Linux, -dead_strip on OSX)
http://code.google.com/p/address-sanitizer/issues/detail?id=260
Another idea suggested by Evgeniy to avoid bloating the zero-initialized
globals:
1. For each global we create its descriptor referencing that global.
2. For each global in the .data section:
a) put a pointer to that global's descriptor into its redzone;
b) for each zero-initialized global from the .bss section of the same
module referenced by this global, add a pointer to that global's
descriptors to the parent global's redzone.
3. For each function referencing a global, add a reference to that global's
descriptor to that function.
The only problem here is that we can't easily reference anything from a
function.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.