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
- Repository
- rL LLVM
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 ↗ | (On Diff #209189) | This needs to use the alloca address space |
lib/Target/X86/X86WinEHState.cpp | ||
343 ↗ | (On Diff #209189) | Ditto |
lib/Transforms/Instrumentation/HWAddressSanitizer.cpp | ||
769 ↗ | (On Diff #209189) | Ditto |
903 ↗ | (On Diff #209189) | Ditto |
lib/Transforms/Instrumentation/SanitizerCoverage.cpp | ||
846 ↗ | (On Diff #209189) | Ditto |
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | ||
---|---|---|
5557–5559 ↗ | (On Diff #209465) | You can use TLI.getFrameIndexTy |