On Tue, 5 May 2020, Jan Hubicka wrote: > this patch adds mention of -fprofile-prefix-path and symver attribute.
Thank you, Honza! > + <li><a > href="https://gcc.gnu.org/onlinedocs/gcc-10.1.0/gcc/Optimize-Options.html#index-fprofile-prefix-path"><code>-fprofile-prefix-path</code></a> > + can be used in combination with > <code>-fprofile-generate=profile_dir</code> and > + <code>-fprofile-use=profile_dir</code> to inform GCC where is the > base > + directory of built source tree in case it differs between > instrumentation > + and optimized builds. "...where the base directory ... is in case" (or "...resides in case") Maybe "instrumented" instead of "instrumentation"? And what is a "built source tree"? Can we say "build tree"? > + The <code>symver</code> attributes can be used to to bind symbols to "attribute" (singular) I believe? "to to" -> "to" > + specific version nodes on ELF platfroms. This is preferred to using "platforms" > + inline assembly with GAS <code>symver</code> directive because the > later "with the GNU as <code>symver</code> directive" (though "GNU as" over "GAS" is my preference, feel free to ignore). "the latter" Okay with those changes - thanks! Gerald