This patch includes the changes for intrinsics
int_addressofreturnaddress,
int_frameaddress & int_sponentry.
A few more intrinsics will be coming with
similar changes in future patches.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
There also need to be some codegen changes. SelectionDAG uses the wrong pointer type as well when lowering
lib/CodeGen/SjLjEHPrepare.cpp | ||
---|---|---|
481 | This needs to use the alloca address space | |
lib/Target/X86/X86WinEHState.cpp | ||
343 | Ditto | |
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp | ||
768–770 | Ditto | |
904 | Ditto | |
lib/Transforms/Instrumentation/SanitizerCoverage.cpp | ||
846 | Ditto |
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | ||
---|---|---|
5557–5558 | You can use TLI.getFrameIndexTy |
You can use TLI.getFrameIndexTy