[PATCH] LLVM changes for indirect call target profiling support
Xinliang David Li
davidxl at google.com
Sat Jun 6 11:37:55 PDT 2015
>> __llvm_profile_value_data here if we allocate that statically.
>
> Dynamic allocation is favored over static allocation.
yes. I have listed the reasons why dynamic allocation is preferred in
another thread. Regarding Justin's concern about the runtime
overhead, I have done some profiling to see it can be a problem -- the
answer is no. The overhead from dynamic allocation is tiny and
negligible : ~0.0002% (2 out 1M samples).
thanks,
David
>
More information about the llvm-commits
mailing list