[PATCH] D48554: Handle absolute symbols as branch targets in disassembly.

Sterling Augustine via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 25 11:21:56 PDT 2018


saugustine updated this revision to Diff 152733.
saugustine added a comment.

Add missing test file.


Repository:
  rL LLVM

https://reviews.llvm.org/D48554

Files:
  test/tools/llvm-objdump/call-absolute-symbol-elf.test


Index: test/tools/llvm-objdump/call-absolute-symbol-elf.test
===================================================================
--- /dev/null
+++ test/tools/llvm-objdump/call-absolute-symbol-elf.test
@@ -0,0 +1,3 @@
+// RUN: llvm-objdump --disassemble %p/Inputs/call-absolute-symbol.elf-x86_64 | FileCheck %s
+
+CHECK: 201000:	e8 fb f0 df ff 	callq	-2100997 <foo>
\ No newline at end of file


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48554.152733.patch
Type: text/x-patch
Size: 393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180625/e38aaeca/attachment.bin>


More information about the llvm-commits mailing list