We need a new LLVM intrinsic to implement MS _AddressOfReturnAddress builtin on 64-bit Windows.
Details
Diff Detail
- Build Status
Buildable 381 Build 381: arc lint + arc unit
Event Timeline
| test/CodeGen/X86/win64_frame.ll | ||
|---|---|---|
| 187 | Yes, added test for that too. | |
| docs/LangRef.rst | ||
|---|---|---|
| 9317 | I would just state this as a complete sentence: This intrinsic is only implemented for x86. | |
| lib/CodeGen/IntrinsicLowering.cpp | ||
| 446 | is that what clang-format does? | |
| test/CodeGen/X86/addr-of-ret-addr.ll | ||
| 9 | Use CHECK-LABEL, and check for the pushl and pushq for x86 and x64 respectively. That's where we get the 4 and 8 offsets from. | |
| test/CodeGen/X86/win64_frame.ll | ||
| 187 | Can you check for pushq and CHECK-NOT for push in f12? | |
| lib/CodeGen/IntrinsicLowering.cpp | ||
|---|---|---|
| 446 | No, that was how it was formatted above, in return/frame address. I applied clang-format in both places now. | |
I would just state this as a complete sentence: