Change the way we handle lifetime intrinsics: for each intrinsic check
if it describes one of the "interesting" allocas. Assume that allocas can go through
casts and phi-nodes before appearing as llvm.lifetime arguments.
Details
Details
- Reviewers
kcc
Diff Detail
Diff Detail
Event Timeline
lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
---|---|---|
328 | Maybe like this? | |
329 | no need for this typedef anymore | |
1238 | do you need this if? | |
1341 | Res = AllocaForValue[V]; // Creates a 0 value if there is not such element. return Res; |
do you really need this map?
w/o it things may become simpler