Please use GitHub pull requests for new patches. Phabricator shutdown timeline
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Aug 16 2023
Aug 15 2023
Updated commit message
Updated PR according to feedback
Aug 9 2023
Fix commit message and description, and added comment explaining the test.
Aug 8 2023
Jun 30 2023
Jun 28 2023
Jun 8 2023
Jun 7 2023
Updating missed ifdef to if
Changed ifdef to if.
Jun 6 2023
There are a couple of problems with Build IDs on Darwin. Firstly, Build IDs/UUIDs are 16 bytes on Darwin. I put up a patch at https://reviews.llvm.org/D152309 to fix this. Secondly, a stack trace is not the right place to show Build Ids as multiple frames from the same library lead to repetition. This purpose is better served by the print_module_map sanitizer flag which dumps the Build Ids of all the libraries without repetition. I have followed your recommendations and made the %b specifier and the MaybeBuildIdToBuffer method functional again. @fmayer
Fix typo in test name
Jun 5 2023
Jun 2 2023
May 31 2023
Hi. This is breaking malloc_hook.cpp test. Can you please revert or fix this? Thanks
May 22 2023
In D150298#4354481, @fmayer wrote:In D150298#4354471, @yln wrote:In D150298#4354287, @fmayer wrote:Apart from my other comment, if you want to go ahead I would suggest implementing this in a different way and only removing the MaybeBuildIdToBuffer from the implementation of 'L' in sanitizer_stacktrace_printer.cpp, then a) people can still manually get the build id if their format string uses %b, and b) the MaybeBuildIdToBuffer function doesn't unnecessarily not work on OS X, which is confusing.
I think these are good suggestions. How about combining this with Vitaly's suggestion for using a flag to only change this on Apple platforms (and to enable everyone to still get the current output)?
Just thought of an even more flexible approach. Make the frame format string a configuration option, so we can specify platform-dependent defaults, allow users to get current behavior (on Apple platforms), and give them the ability to fully customize if they desire.
static const char kDefaultFormat[] = " #%n %p %F %L";@vitalybuka @fmayer
What do you think?The custom strings would involve splitting the %b from the %L and putting "%L %b" as the custom string, which would lead to an extraneous space if %b is empty. We could add the space as the first character of the %b, but that's kind of ugly.
May 18 2023
In D150298#4354170, @fmayer wrote:Can you please elaborate in the change description why "On Darwin, we do not want to show the BuildId appended at the end of stack
frames in Sanitizers."?
There is no change in UBSan.
Feedback fixes
May 10 2023
There are two more calls to MaybeBuildIdToBuffer in the switch statement. I did not guard them with !SANITIZER_APPLE because they do not affect the codepath on Darwin. If we want, I can also guard them with !SANITIZER_APPLE, or just guard the function implementation itself rather than the call sites.
Mar 10 2023
This test is failing on ios arm64e. It seems like the function is not getting overridden on ios.
Mar 6 2023
Mar 3 2023
Mar 2 2023
use filter instead of remove
I have reverted the commit for now
Mar 1 2023
@dmaclach Can you please take a look and fix this? Thanks
Feb 28 2023
I was verifying that static versions of these libraries are not present on darwin. Sorry for the delay.
Feb 24 2023
Sorry for this. I need to confirm that asan and tsan are not supported on darwin. Please don't merge until then. Thanks
LGTM
Feb 23 2023
Feb 1 2023
Jan 24 2023
minor refactoring
fix typo
minor typo fix in comments
Minor bugfix
Jan 23 2023
The libcxx test failure seems unrelated and seems to be failing on master
https://buildkite.com/llvm-project/libcxx-ci/builds?branch=master
Jan 20 2023
Removing unnecessary code from test
Jan 17 2023
Closed by 4729f6e03a12b0f3613416dc6f65407afa7e8f19
Jan 11 2023
Addressing comments