[PATCH] D21476: Handle .weak in IRObjectFile RecordStreamer

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 17 10:18:35 PDT 2016

LGTM with a nit:

> +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
> +target triple = "x86_64-unknown-freebsd11.0"
> +
> +module asm ".weak __libc_blah"
> +module asm ".equ __libc_blah, blah"

The test body can be just

module asm ".weak __libc_blah"
module asm "__libc_blah:"

no need to include an IR function.


More information about the llvm-commits mailing list