This emits labels around heapallocsite calls and S_HEAPALLOCSITE debug
info in codeview. Currently only changes FastISel, so emitting labels still
needs to be implemented in SelectionDAG.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | ||
|---|---|---|
| 1078 ↗ | (On Diff #196496) | I think it's worth a comment explaining why some of these labels might not be defined. Basically, if the instruction gets replaced anywhere in the codegen pipeline, they won't be defined. |
| llvm/lib/Target/X86/X86FastISel.cpp | ||
| 3988 ↗ | (On Diff #196496) | Please add a new test case that fails if this line of code is removed. I think you can start from this C++ code: struct Foo {
__declspec(allocator) virtual void *alloc();
};
void use_alloc(void*);
void do_alloc(Foo *p) {
use_alloc(p->alloc());
} |