llvm-project/llvm
David Blaikie 2bddab25db DebugInfo: Don't hash DIE offsets before they're computed
Instead of hashing DIE offsets, hash DIE references the same as they
would be when used outside of a loclist - that is, deep hash the type on
first use, and hash the numbering on subsequent uses.

This does produce different hashes for different type references, where
it did not before (because we were hashing zero all the time - so it
didn't matter what type was referenced, the hash would be identical).

This also allows us to enforce that the DIE offset (& size) is not
queried before it is used (which came up while investigating another bug
recently).
2021-12-25 16:09:12 -08:00
..
benchmarks
bindings
cmake [CMake] Revert -Wl,-O3 2021-12-24 15:41:56 -08:00
docs [VE] Add manuals to CompilerWriterInfo 2021-12-23 14:14:37 +01:00
examples Remove redundant return and continue statements (NFC) 2021-12-24 23:17:54 -08:00
include DebugInfo: Don't hash DIE offsets before they're computed 2021-12-25 16:09:12 -08:00
lib DebugInfo: Don't hash DIE offsets before they're computed 2021-12-25 16:09:12 -08:00
projects
resources
runtimes [runtimes] Remove LLVM_ENABLE_LLD 2021-12-17 15:03:57 -08:00
test DebugInfo: Don't hash DIE offsets before they're computed 2021-12-25 16:09:12 -08:00
tools Reland - [CodeView] Emit S_OBJNAME record 2021-12-21 19:02:14 -05:00
unittests [Verifier] Iteratively traverse all indirect users. 2021-12-23 23:20:12 +01:00
utils [gn build] Port 969a51ff36 2021-12-24 11:05:23 +00:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt Re-apply "Only define LLVM_EXTERNAL_VISIBILITY when building libLLVM dylib" 2021-12-16 09:25:41 -08:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.