Related to https://reviews.llvm.org/D80916
Details
Diff Detail
Event Timeline
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp | ||
---|---|---|
1088 | It's possible that AllocasToInstrument ends up being empty, or AllocaToPaddedAllocaMap is empty, or OperandsToInstrument is non empty but with a mask that make all instrumentation fail. |
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp | ||
---|---|---|
1128–1130 | You don't need braces around a single line. |
llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp | ||
---|---|---|
1162 | there are changes below. if we assume Changed is true by this point, then probably we should return true below? |
HWAddressSanitizer LGTM, but looks like simplifyCFG is here by mistake?
llvm/lib/Transforms/Utils/SimplifyCFG.cpp | ||
---|---|---|
2765 ↗ | (On Diff #270157) | maybe move next after "IRBuilder<> Builder(PBI);" |
Remove irrelevant part of the patch to focus on HWAdressSanitizer. Sorry for the noise.
I don't understand this false. getDynamicShadowNonTls creates IR (unless it returns nullptr).