History log of /llvm-project/llvm/tools/llvm-dwp/llvm-dwp.cpp (Results 126 – 144 of 144)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# e593094a 18-Feb-2016 Benjamin Kramer <benny.kra@googlemail.com>

Add parentheses around arithmetic in operand of '|'.

This avoids a operator precedence warning for mixing + and | in an
expression. I checked that this matches the definition in the Split
DWARF prop

Add parentheses around arithmetic in operand of '|'.

This avoids a operator precedence warning for mixing + and | in an
expression. I checked that this matches the definition in the Split
DWARF proposal.

Patch by Cong Liu!

Differential Revision: http://reviews.llvm.org/D17375

llvm-svn: 261207

show more ...


# 8bce5a05 17-Feb-2016 David Blaikie <dblaikie@gmail.com>

llvm-dwp: Support for type units when merging DWPs into larger DWPs

llvm-svn: 261072


# 376b33a0 17-Feb-2016 David Blaikie <dblaikie@gmail.com>

Fix the hash function.

llvm-svn: 261071


# 23919372 06-Feb-2016 David Blaikie <dblaikie@gmail.com>

[llvm-dwp] Merge cu_index from DWPs

This is almost feature complete - just missing tu_index merging now.

llvm-svn: 259971


Revision tags: llvmorg-3.8.0-rc2, llvmorg-3.8.0-rc1
# 03e2cc30 21-Dec-2015 David Majnemer <david.majnemer@gmail.com>

[MC, COFF] Support link /incremental conditionally

Today, we always take into account the possibility that object files
produced by MC may be consumed by an incremental linker. This results
in us i

[MC, COFF] Support link /incremental conditionally

Today, we always take into account the possibility that object files
produced by MC may be consumed by an incremental linker. This results
in us initialing fields which vary with time (TimeDateStamp) which harms
hermetic builds (e.g. verifying a self-host went well) and produces
sub-optimal code because we cannot assume anything about the relative
position of functions within a section (call sites can get redirected
through incremental linker thunks).

Let's provide an MCTargetOption which controls this behavior so that we
can disable this functionality if we know a-priori that the build will
not rely on /incremental.

llvm-svn: 256203

show more ...


# f5cb6279 14-Dec-2015 David Blaikie <dblaikie@gmail.com>

[llvm-dwp] Deduplicate type units

It's O(N^2) because it does a simple walk through the existing types to
find duplicates, but that will be fixed in a follow-up commit to use a
mapping data structur

[llvm-dwp] Deduplicate type units

It's O(N^2) because it does a simple walk through the existing types to
find duplicates, but that will be fixed in a follow-up commit to use a
mapping data structure of some kind.

llvm-svn: 255482

show more ...


# c3826da8 09-Dec-2015 David Blaikie <dblaikie@gmail.com>

[llvm-dwp] Sink debug_types.dwo emission into the code parsing the type signatures (NFC)

This is a preliminary change towards deduplicating type units based on
their signatures. Next change will ski

[llvm-dwp] Sink debug_types.dwo emission into the code parsing the type signatures (NFC)

This is a preliminary change towards deduplicating type units based on
their signatures. Next change will skip emission of types when their
signature has already been seen.

llvm-svn: 255154

show more ...


# 9e51c844 05-Dec-2015 David Blaikie <dblaikie@gmail.com>

[llvm-dwp] Add coverage for both the presence and absence of type units, and fix/remove the emission of a broken tu_index when no type units are present

llvm-svn: 254833


# 2ed678c6 05-Dec-2015 David Blaikie <dblaikie@gmail.com>

[llvm-dwp] clang-format this to catch anything I've missed along the way

llvm-svn: 254828


# 24c8ac93 05-Dec-2015 David Blaikie <dblaikie@gmail.com>

[llvm-dwp] Support debug_tu_index

llvm-svn: 254827


# 7c4ffe01 04-Dec-2015 David Blaikie <dblaikie@gmail.com>

[llvm-dwp] Implement the required on-disk probed hash table

llvm-svn: 254770


# b7020255 04-Dec-2015 David Blaikie <dblaikie@gmail.com>

[llvm-dwp] Include the debug_line.dwo section

This probably shouldn't be generated in the .dwo file for CUs, only for
TUs, but it's in the sample .dwos (generated by clang) so dwp should
reflect tha

[llvm-dwp] Include the debug_line.dwo section

This probably shouldn't be generated in the .dwo file for CUs, only for
TUs, but it's in the sample .dwos (generated by clang) so dwp should
reflect that.

Arguably the DWP tool could be smart enough to know that the CUs
shouldn't need a debug_line.dwo section and skip that even when it's
legitimately generated for TUs, but that's a bit more off-book.

llvm-svn: 254767

show more ...


# ad07b5d6 04-Dec-2015 David Blaikie <dblaikie@gmail.com>

[llvm-dwp] Retrieve the DWOID from the CU for the cu_index entry

llvm-svn: 254731


# b3757c00 02-Dec-2015 David Blaikie <dblaikie@gmail.com>

[llvm-dwp] Include only the non-empty columns in the cu_index

llvm-svn: 254555


# b073cb9b 02-Dec-2015 David Blaikie <dblaikie@gmail.com>

[llvm-dwp] Emit a rather fictional debug_cu_index

This is very rudimentary support for debug_cu_index, but it is enough to
allow llvm-dwarfdump to find the offsets for contributions and
correctly d

[llvm-dwp] Emit a rather fictional debug_cu_index

This is very rudimentary support for debug_cu_index, but it is enough to
allow llvm-dwarfdump to find the offsets for contributions and
correctly dump debug_info.

It will need to actually find the real signature of the unit and build
the real hash table with the right number of buckets, as per the DWP
specification.

It will also need to be expanded to cover the tu_index as well.

llvm-svn: 254489

show more ...


# bb94e440 01-Dec-2015 David Blaikie <dblaikie@gmail.com>

[llvm-dwp] Deduplicate strings in the debug_str.dwo section

Also, ensure that references to those strings in debug_str_offsets.dwo
correctly refer to the deduplicated strings.

llvm-svn: 254441


# 98ad82a6 01-Dec-2015 David Blaikie <dblaikie@gmail.com>

[llvm-dwp] Correctly update debug_str_offsets.dwo when linking dwo files

This doesn't deduplicate strings in the debug_str section, nor does it
properly wire up the index so that debug_info can /fin

[llvm-dwp] Correctly update debug_str_offsets.dwo when linking dwo files

This doesn't deduplicate strings in the debug_str section, nor does it
properly wire up the index so that debug_info can /find/ these strings,
but it does correct the str_offsets specifically.

Follow up patches to address those related/next issues.

llvm-svn: 254431

show more ...


# 242b9488 01-Dec-2015 David Blaikie <dblaikie@gmail.com>

[llvm-dwp] Initial partial prototype

This just concatenates the common DWP sections without doing any of the
fancy DWP things like:

1) update str_offsets
2) deduplicating strings
3) merging/creatin

[llvm-dwp] Initial partial prototype

This just concatenates the common DWP sections without doing any of the
fancy DWP things like:

1) update str_offsets
2) deduplicating strings
3) merging/creating cu/tu_index

Patches for these will follow shortly.

(also not sure about target triple/object file type for this tool - do I
really need a whole triple just to write an object file that contains
purely static/hardcoded bytes in each section? & I guess I should just
pick it based on the first input, maybe, rather than hardcoding for now
- but we only produce .dwo on ELF platforms with objcopy for now anyway)

llvm-svn: 254355

show more ...


# df05525d 01-Dec-2015 David Blaikie <dblaikie@gmail.com>

llvm-dwp: Initial layout

llvm-svn: 254354


123456