[PATCH] D139686: [lsan] Add lsan support for loongarch64

Youling Tang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 9 01:57:09 PST 2022


tangyouling added inline comments.


================
Comment at: compiler-rt/test/lsan/TestCases/swapcontext.cpp:8
 // Missing 'getcontext' and 'makecontext' on Android.
-// UNSUPPORTED: arm,aarch64,powerpc64,android
+// UNSUPPORTED: arm,aarch64,loongarch64,powerpc64,android
 
----------------
SixWeining wrote:
> Why we are here? For the same reason as `Android` mentioned above?
Not for that reason.
Test passed when adding a sleep() in Child(), but not quite sure what the reason is?
```
 void Child() {
   int child_stack;
+  sleep(1);
   printf("Child: %p\n", &child_stack);
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D139686



More information about the cfe-commits mailing list