author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | |
Wed, 14 May 2014 10:30:15 +0000 (10:30 +0000) | ||
committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | |
Wed, 14 May 2014 10:30:15 +0000 (10:30 +0000) | ||
commit | eb949e0d19e25e622263218db9d917b3e14a3ea2 | |
tree | 1a1b5c98f426736f8dabe645509215b1f2db711a | tree | snapshot (tar.xz tar.gz zip) |
parent | df75220bc76bf8f6b7b292237b15778b5d746703 | commit | diff |
[asan] Set debug location in ASan function prologue.
Most importantly, it gives debug location info to the coverage callback.
This change also removes 2 cases of unnecessary setDebugLoc when IRBuilder
is created with the same debug location.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208767 91177308-0d34-0410-b5e6-96231b3b80d8
Most importantly, it gives debug location info to the coverage callback.
This change also removes 2 cases of unnecessary setDebugLoc when IRBuilder
is created with the same debug location.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208767 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Instrumentation/AddressSanitizer.cpp | diff | blob | history | |
test/Instrumentation/AddressSanitizer/coverage-dbg.ll | [new file with mode: 0644] | blob |