commit | 1afbb517965e29b07cb42e2335d5eadd87de6535 | [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 | 4ca2a2f4c8eecd1ca7daeebe22eb5ca9a4355c81 | |
parent | cd5eb17be65627a1bf4b1e87b0a79573ba23463d [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169984 91177308-0d34-0410-b5e6-96231b3b80d8