[PATCH] [asan] Make ASan report the correct thread address ranges to LSan.

Kostya Serebryany kcc at google.com
Mon May 27 02:40:05 PDT 2013


  I'd better do what Alexey suggests: rename ClearShadowForThreadStack to ClearShadowForThreadStackAndTLS
  and make it clear the shadow for TLS as well.

  We'll need a test for that:
    - create a thread
    - manually poison TLS there
    - exit the thread and create a new one (make sure the TLS is reused)
    - make sure the TLS is not poisoned.

http://llvm-reviews.chandlerc.com/D862



More information about the llvm-commits mailing list