Files
clang-p2996/llvm/test/tools/llvm-symbolizer/debuginfod-missing-build-id.test
Daniel Thornburgh dcd4950d42 [Symbolizer] Add Build ID flag to llvm-symbolizer.
This adds a --build-id=<hex build ID> flag to llvm-symbolizer. If --obj
is unspecified, this will attempt to look up the provided build ID using
whatever mechanisms are available to the Symbolizer (typically,
debuginfod). The semantics are then as if the found binary were given
using the --obj flag.

Reviewed By: jhenderson, phosek

Differential Revision: https://reviews.llvm.org/D118633
2022-02-08 23:08:18 +00:00

11 lines
317 B
Plaintext

RUN: llvm-symbolizer --build-id=abad 0x1234 0x5678 > %t.stdout 2> %t.stderr
RUN: FileCheck %s --check-prefix=STDOUT < %t.stdout
RUN: FileCheck %s --check-prefix=STDERR < %t.stderr
STDOUT: ??
STDOUT: ??:0:0
STDOUT: ??
STDOUT: ??:0:0
STDERR-COUNT-2: LLVMSymbolizer: error reading file: could not find build ID 'ABAD'