[asan-asm-instrumentation] Added comment describing how asm instrumentation works.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp | ||
---|---|---|
46 | That's not how the code works, is it? We look at the opcode to find the access size. | |
68 | Why not do LEA MemOp, RDI and use the same register for AddressReg and ShadowReg, spilling 1 register instead of 2? | |
93 | 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. |
That's not how the code works, is it? We look at the opcode to find the access size.