| commit | 3d43b63a6e9668b90c6fb01f2255e4b42d45e75e | [log] [tgz] |
|---|---|---|
| author | Alexey Samsonov <samsonov@google.com> | Wed Dec 12 14:31:53 2012 +0000 |
| committer | Alexey Samsonov <samsonov@google.com> | Wed Dec 12 14:31:53 2012 +0000 |
| tree | 61944e9be784e785370dccdaa3e87a283e97ac4d | |
| parent | 9bd2e1bacc5455ebcf93aad3cf564ff88cabca96 [diff] |
Improve debug info generated with enabled AddressSanitizer. When ASan replaces <alloca instruction> with <offset into a common large alloca>, it should also patch llvm.dbg.declare calls and replace debug info descriptors to mark that we've replaced alloca with a value that stores an address of the user variable, not the user variable itself. See PR11818 for more context. llvm-svn: 169984