[PATCH] D33175: ELF: --gdb-index: Do not add dead sections to the address area.
Rafael Avila de Espindola via llvm-commits
llvm-commits at lists.llvm.org
Mon May 15 09:21:22 PDT 2017
> ===================================================================
> --- /dev/null
> +++ lld/test/ELF/Inputs/gdb-index-gc-sections.o.sh
> @@ -0,0 +1,4 @@
> +#!/bin/sh
> +
> +echo "void _start() {} void dead() {}" | \
> +clang -Os -g -c -ffunction-sections -o gdb-index-gc-sections.o -x c - -Xclang -fdebug-compilation-dir -Xclang .
LGTM, but why can't this be an assembly file?
Cheers,
Rafael
More information about the llvm-commits
mailing list