[PATCH] D77182: [AddressSanitizer] Fix for wrong argument values appearing in backtraces

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 1 11:49:15 PDT 2020


eugenis added inline comments.


================
Comment at: llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp:3023
+      InitInsts.push_back(cast<Instruction>(Val));
+    InitInsts.push_back(Store);
+  }
----------------
What happens with

```
a = alloca
store arg, a
load a
store arg2, a
```
will the second store be moved across the aliasing load?



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77182





More information about the llvm-commits mailing list