1. [TypeSize] Fix module builds (cassert) (details)
  2. [dsymutil] Fix handling of common symbols in multiple object files. (details)
Commit 0746aafd89754a2ae9992c4d6394e3b4f3623b1d by Kristina Brooks
[TypeSize] Fix module builds (cassert)
TypeSize.h uses `assert` statements without including the <cassert>
header first which leads to failures in modular builds.
llvm-svn: 374138
The file was modifiedllvm/include/llvm/Support/TypeSize.h
Commit 4ac388f7caccc94065712878667829cebd7b8083 by Jonas Devlieghere
[dsymutil] Fix handling of common symbols in multiple object files.
For common symbols the linker emits only a single symbol entry in the
debug map. This caused dsymutil to not relocate common symbols when
linking DWARF coming form object files that did not have this entry.
This patch fixes that by keeping track of common symbols in the object
files and synthesizing a debug map entry for them using the address from
the main binary.
Differential revision:
llvm-svn: 374139
The file was addedllvm/test/tools/dsymutil/Inputs/private/tmp/common/com
The file was modifiedllvm/tools/dsymutil/MachODebugMapParser.cpp
The file was addedllvm/test/tools/dsymutil/Inputs/private/tmp/common/com2.o
The file was addedllvm/test/tools/dsymutil/Inputs/private/tmp/common/com1.o
The file was addedllvm/test/tools/dsymutil/X86/common-sym-multi.test