1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/tools
Adrian McCarthy 5a218694ff Remove faulty assertion in llvm-pdbutil
If a class's first data member is an instance of an empty class, then an
assertion in the PrettyClassLayoutGraphicalDumper would fail. The
storage is reserved, but it's not marked as in use.

As far as I understand, it's the assertion that's faulty, so I removed it
and updated the nearby comment.

Found by running llvm-pdbutil against its own PDB, and this assertion would
fail on HashAdjusters, which is a HashTable whose first data member is a
TraitsT, which is a PdbHashTraits<T>, which is an empty struct. (The struct
has a specialization for uint32_t, but that specialization doesn't apply
here because the T is actually ulittle32_t.)

Differential Revision: https://reviews.llvm.org/D45645

llvm-svn: 330135
2018-04-16 17:01:18 +00:00
..
bugpoint Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
bugpoint-passes Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
dsymutil [Support] Add convenience functions to WithColor. NFC. 2018-04-14 21:36:42 +00:00
gold Enable debug fission for thinLTO linked via gold-plugin 2018-04-13 05:03:28 +00:00
llc Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
lli Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-ar Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-as Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-as-fuzzer
llvm-bcanalyzer Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-c-test [LLVM-C] Move DIBuilder Bindings For Block Scopes 2018-04-07 06:07:55 +00:00
llvm-cat Pass a reference to a module to the bitcode writer. 2018-02-14 19:11:32 +00:00
llvm-cfi-verify Fix broken builds due to mismatched min/max types 2018-02-02 00:07:14 +00:00
llvm-config [tools] Change std::sort to llvm::sort in response to r327219 2018-04-01 21:24:53 +00:00
llvm-cov Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-cvtres Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-cxxdump Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-cxxfilt Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-demangle-fuzzer llvm-demangle-fuzzer: Link in Support 2017-11-17 20:46:55 +00:00
llvm-diff Let llvm-diff correctly deal with Undef/ConstantAggregateZero/ConstantVector/IndirectBr 2018-04-12 21:28:04 +00:00
llvm-dis Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-dwarfdump Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-dwp Rename *CommandFlags.def to *CommandFlags.inc 2018-04-11 18:49:37 +00:00
llvm-exegesis [llvm-exegesis] Fix use after free. 2018-04-13 14:46:48 +00:00
llvm-extract Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-go Update some code.google.com links 2017-11-13 23:47:58 +00:00
llvm-isel-fuzzer Rename *CommandFlags.def to *CommandFlags.inc 2018-04-11 18:49:37 +00:00
llvm-jitlistener Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-link Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-lto Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-lto2 Rename *CommandFlags.def to *CommandFlags.inc 2018-04-11 18:49:37 +00:00
llvm-mc Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-mc-assemble-fuzzer Rename *CommandFlags.def to *CommandFlags.inc 2018-04-11 18:49:37 +00:00
llvm-mc-disassemble-fuzzer
llvm-mca Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-modextract Pass a reference to a module to the bitcode writer. 2018-02-14 19:11:32 +00:00
llvm-mt Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-nm Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-objcopy Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-objdump Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-opt-fuzzer Rename *CommandFlags.def to *CommandFlags.inc 2018-04-11 18:49:37 +00:00
llvm-opt-report Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-pdbutil Remove faulty assertion in llvm-pdbutil 2018-04-16 17:01:18 +00:00
llvm-profdata Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-rc Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-readobj Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-rtdyld Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-shlib Rename llvm library from libLLVM-X.Y to libLLVM-X 2018-03-29 09:44:09 +00:00
llvm-size Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-special-case-list-fuzzer
llvm-split Pass a reference to a module to the bitcode writer. 2018-02-14 19:11:32 +00:00
llvm-stress
llvm-strings Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-symbolizer Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
llvm-xray [tools] Change std::sort to llvm::sort in response to r327219 2018-04-01 21:24:53 +00:00
lto Rename *CommandFlags.def to *CommandFlags.inc 2018-04-11 18:49:37 +00:00
msbuild
obj2yaml Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
opt [DebugInfo][OPT] NFC follow-up on "Fixing a couple of DI duplication bugs of CloneModule" 2018-04-13 21:23:11 +00:00
opt-viewer [opt-viewer] Kill parser processes before moving onto rendering 2018-02-26 21:15:51 +00:00
sancov Remove redundant includes from tools. 2017-12-13 21:31:10 +00:00
sanstats
verify-uselistorder Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
xcode-toolchain [llvm] Add stripped installation targets 2017-11-30 21:48:26 +00:00
yaml2obj Define InitLLVM to do common initialization all at once. 2018-04-13 18:26:06 +00:00
CMakeLists.txt
LLVMBuild.txt Re-land r329156 "Add llvm-exegesis tool." 2018-04-04 11:37:06 +00:00