[Lldb-commits] [PATCH] D42914: Rewrite TestTargetSymbolsBuildidCase to be more focused

Davide Italiano via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 5 11:23:06 PST 2018


davide added a comment.

In https://reviews.llvm.org/D42914#997974, @zturner wrote:

> Yea this seems like a good candidate for an lldb-test test.   Something like this.
>
>   RUN: yaml2obj %S/Inputs/stripped.yaml > %t.stripped.out
>   RUN: yaml2obj %S/Inputs/unstripped.yaml > %t/.build-id/1b/8a73ac238390e32a7ff4ac8ebe4d6a41ecf5c9.debug
>   RUN: lldb-test symbols %t.stripped.out | FileCheck %s
>  
>   CHECK: main
>


Indeed. It wasn't 100% clear how to do this in my mind, thanks for clarifying :)

-

Davide


https://reviews.llvm.org/D42914





More information about the lldb-commits mailing list