[asan-asm-instrumentation] Added comment describing how asm instrumentation works.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp | ||
---|---|---|
46 ↗ | (On Diff #15406) | That's not how the code works, is it? We look at the opcode to find the access size. |
68 ↗ | (On Diff #15406) | Why not do LEA MemOp, RDI and use the same register for AddressReg and ShadowReg, spilling 1 register instead of 2? |
93 ↗ | (On Diff #15406) | This is not really about leaf functions, but rather about the -fno-omit-frame-pointer setting, the presence of dynamic allocas, etc. It just happens. |