OSDN Git Service

[dwarfdump] Only print CU relative offset in verbose mode
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 7 Mar 2018 16:28:53 +0000 (16:28 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 7 Mar 2018 16:28:53 +0000 (16:28 +0000)
commit3cfa28f02fd73fef7231421054adca05003271dd
tree8a5d74ffc5535cf0821b6eec8e427366eac3981e
parentb0846f97d65881189c43872d24b465f4b1308f71
[dwarfdump] Only print CU relative offset in verbose mode

Instead of only printing the CU-relative offset in non-verbose mode, it
makes more sense to only printed the resolved address. In verbose mode
we still print both.

Differential revision: https://reviews.llvm.org/D44148

rdar://33525475

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326903 91177308-0d34-0410-b5e6-96231b3b80d8
lib/DebugInfo/DWARF/DWARFFormValue.cpp
test/DebugInfo/X86/vla-dependencies.ll
test/DebugInfo/X86/vla-global.ll
test/DebugInfo/X86/vla-multi.ll
test/tools/dsymutil/X86/basic-linking-x86.test
test/tools/dsymutil/X86/basic-lto-dw4-linking-x86.test
test/tools/dsymutil/X86/basic-lto-linking-x86.test
test/tools/llvm-dwarfdump/X86/gnu_call_site.s