[PATCH] D33176: ELF: --gdb-index: Change findSection to return an InputSection.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 09:27:01 PDT 2017


> ===================================================================
> --- /dev/null
> +++ lld/test/ELF/Inputs/gdb-index-empty.o.sh
> @@ -0,0 +1,4 @@
> +#!/bin/sh
> +
> +echo "void _start() { __builtin_unreachable(); }" | \
> +clang -Os -g -c -o gdb-index-empty.o -x c - -Xclang -fdebug-compilation-dir -Xclang .

Why can't this be an assembly file?

Cheers,
Rafael


More information about the llvm-commits mailing list