[PATCH] D104553: [compiler-rt][hwasan] Add InitState options to thread initialization

Petr Hosek via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jun 19 12:53:51 PDT 2021


phosek added inline comments.


================
Comment at: compiler-rt/lib/hwasan/hwasan_linux.cpp:430
 
-void Thread::InitStackAndTls() {
+void Thread::InitStackAndTls(const InitState *state) {
   uptr tls_size;
----------------
If it's unused then you can omit the argument name to avoid the unused variable warning.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104553/new/

https://reviews.llvm.org/D104553



More information about the cfe-commits mailing list