[LLVMdev] Purpose of PROLOG_LABEL in function prologue?

Cameron Esfahani dirty at apple.com
Tue Aug 3 15:04:49 PDT 2010

I've been building/dumping some x86_64 code and I've noticed that each of the routines has 3 temporary symbols, à la:

	pushq	%rbp
	movq	%rsp, %rbp
	subq	$320, %rsp
	movl	%ecx, -276(%rbp)

I've tracked them back to emitPrologue in X86RegisterInfo.cpp.  I'm wonder what's their purpose?

They're filling up my symbol table...

Cameron Esfahani
dirty at apple.com

"All that is necessary for the triumph of evil is that good men do nothing."

Edmund Burke

More information about the llvm-dev mailing list