[PATCH] D36351: [lld][ELF] Add profile guided section layout

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 31 11:26:05 PST 2018


Michael Spencer via Phabricator <reviews at reviews.llvm.org> writes:

> Index: test/ELF/cgprofile-object.s
> ===================================================================
> --- /dev/null
> +++ test/ELF/cgprofile-object.s
> @@ -0,0 +1,50 @@
> +# REQUIRES: x86
> +
> +# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
> +# RUN: ld.lld %t -o %t2
> +# RUN: llvm-readobj -symbols %t2 | FileCheck %s
> +# RUN: ld.lld %t -o %t2 -no-call-graph-profile-sort
> +# RUN: llvm-readobj -symbols %t2 | FileCheck %s --check-prefix=NOSORT
> +
> +    .section    .text.hot._Z4fooav,"ax", at progbits
> +    .globl  _Z4fooav

Please demangle the test.

Cheers,
Rafael


More information about the llvm-commits mailing list