diff options
| author | Frederic Riss <friss@apple.com> | 2015-01-19 23:33:14 +0000 |
|---|---|---|
| committer | Frederic Riss <friss@apple.com> | 2015-01-19 23:33:14 +0000 |
| commit | e4a6fef98ffd066db6360c53986032bcbd338275 (patch) | |
| tree | c35204b154bbcf6b0e748c8fed4a866029827c75 /llvm/test/tools | |
| parent | 13890af51cf1de674b2a8bccce2a2cb870617a21 (diff) | |
| download | bcm5719-llvm-e4a6fef98ffd066db6360c53986032bcbd338275.tar.gz bcm5719-llvm-e4a6fef98ffd066db6360c53986032bcbd338275.zip | |
[dsymutil] Add the detected target triple to the debug map.
It will be needed to instantiate the Target object that we will
use to create all the MC objects for the dwarf emission.
llvm-svn: 226525
Diffstat (limited to 'llvm/test/tools')
| -rw-r--r-- | llvm/test/tools/dsymutil/debug-map-parsing.test | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/llvm/test/tools/dsymutil/debug-map-parsing.test b/llvm/test/tools/dsymutil/debug-map-parsing.test index f1b310f9b71..b64ad9ff2e4 100644 --- a/llvm/test/tools/dsymutil/debug-map-parsing.test +++ b/llvm/test/tools/dsymutil/debug-map-parsing.test @@ -8,7 +8,7 @@ RUN: not llvm-dsymutil -v -parse-only %p/Inputs/inexistant 2>&1 | FileCheck %s - Check that We can parse the debug map of the basic executable. CHECK-NOT: error -CHECK: DEBUG MAP: +CHECK: DEBUG MAP: x86_64-unknown-unknown-macho CHECK: /Inputs/basic1.macho.x86_64.o: CHECK: 0000000000000000 => 0000000100000ea0 _main CHECK: /Inputs/basic2.macho.x86_64.o: @@ -26,7 +26,7 @@ CHECK: END DEBUG MAP Check that we can parse the debug-map of the basic-lto executable CHECK-LTO-NOT: error -CHECK-LTO: DEBUG MAP: +CHECK-LTO: DEBUG MAP: x86_64-unknown-unknown-macho CHECK-LTO: /Inputs/basic-lto.macho.x86_64.o: CHECK-LTO: 0000000000000050 => 0000000100000f90 _bar CHECK-LTO: 0000000000000658 => 0000000100001000 _baz @@ -48,7 +48,8 @@ CHECK-ARCHIVE-NEXT: opened new archive {{.*}}/libbasic.a' CHECK-ARCHIVE-NEXT: found member in current archive. CHECK-ARCHIVE-NEXT: trying to open {{.*}}/libbasic.a(basic3.macho.x86_64.o)' CHECK-ARCHIVE-NEXT: found member in current archive. -CHECK-ARCHIVE: DEBUG MAP: object addr => executable addr symbol name +CHECK-ARCHIVE: DEBUG MAP: x86_64-unknown-unknown-macho +CHECK-ARCHIVE: object addr => executable addr symbol name CHECK-ARCHIVE: /Inputs/basic1.macho.x86_64.o: CHECK-ARCHIVE: 0000000000000000 => 0000000100000ea0 _main CHECK-ARCHIVE: /Inputs/./libbasic.a(basic2.macho.x86_64.o): @@ -69,6 +70,7 @@ NOT-FOUND: cannot open{{.*}}"/Inputs/basic1.macho.x86_64.o": {{[Nn]o}} such file NOT-FOUND: cannot open{{.*}}"/Inputs/basic2.macho.x86_64.o": {{[Nn]o}} such file NOT-FOUND: cannot open{{.*}}"/Inputs/basic3.macho.x86_64.o": {{[Nn]o}} such file NOT-FOUND: DEBUG MAP: +NOT-FOUND-NEXT: object addr => executable addr symbol name NOT-FOUND-NEXT: END DEBUG MAP Check that we correctly error out on invalid executatble. |

