For those using a GUI, it can be very helpful to have a
particular suffix appended to the report file name, so
it can be opened with a double-click.
(see also: https://github.com/google/sanitizers/issues/951)
Differential D46546
[sanitizer] Add suffix to report file name WallStProg on May 7 2018, 1:29 PM. Authored by
Details
For those using a GUI, it can be very helpful to have a (see also: https://github.com/google/sanitizers/issues/951)
Diff Detail
Event TimelineComment Actions I am a bit reluctant to add more flags, but this change seems to be pretty small, so probably ok. Comment Actions
OK -- give me a couple days to figure out the test infrastructure. AFAICT verbose-log-path_test.cc isn't even being built in my env. Comment Actions Well, I've added a test pgm but the only way I've been able to is within asan (using monkey-see, monkey-do approach ;-) The test is modeled on existing verbose-log-path_test, and appears to run successfully with "make check-all". Getting this into sanitizer-common is way beyond what I can hope to do at this point. If you can provide some pointers on writing tests I can take another shot at it (although frankly I'd much rather not ;-) Hope this is sufficient -- pls let me know. Comment Actions Check out test/sanitizer_common/TestCases/options-include.cc as an example you can use to adapt yours. Instead of having a positive FIXME, please change it to a negative: windows and android don't support X (which is what the line below is doing). Comment Actions Sorry, but I have no idea what all those decorations are, nor do I have any desire to learn how to shave that particular yak. The test program was simply copied and pasted from verbose-log-path-test.cc, so any comment should apply to it as well. Hopefully this will make into trunk at some point -- it's quite useful, and I'd love to be able to stop patching my local builds. Comment Actions It's getting to be a real PITA to build new versions of clang just to get this very useful but trivial change -- not to mention I would *much* rather use the native clang on a particular platform like Ubuntu. Please consider making this part of an upcoming release. Thanks! |