Changes are specific to MIPS architecture
Details
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/lsan/lsan_allocator.cc | ||
---|---|---|
41 | indent | |
lib/lsan/lsan_common.h | ||
25 | indent to match previous line | |
lib/sanitizer_common/sanitizer_linux_libcdep.cc | ||
176 | indent I suggest to use clang-format (in Google mode) when working on sanitizer code | |
200 | indent | |
238 | indent | |
lib/sanitizer_common/tests/sanitizer_linux_test.cc | ||
272 | This entire test is equivalent to the following: ASSERT_EQ(pthread_self(), ThreadSelf()) You don't even need to spawn a new thread, as this should hold in the main thread as well. This relies on the assumption that pthread_self() will return exactly the value of THREAD_SELF. This is currently true for all platforms, and will likely remain so. As long as we rely on that fact, we can probably just use pthread_self() in the code and move the THREAD_SELF computation into the test. I can do that in a separate change. |
- Corrected indentation
- Added comment for TlsPreTcbSize()
- Shifted computation of g_tls_size into TlsPreTcbSize()
- Reduced test case in sanitizer_linux_test.cc
This patch is important for http://reviews.llvm.org/D6291 to land.
Are there any suggestions/comments on this current revision ?
Sorry, this fell off my radar. Do you need me to land this?
lib/lsan/lsan_common.cc | ||
---|---|---|
109 | style nit: this should be "#if defined" since there's an "#eilf defined" below |
@earthdok : Thanks for the review. I have corrected the #ifdef directive. @mohit.bhakkad will commit this patch for me.
indent