llvm-project/lld
Rui Ueyama 617f5ccb5c COFF: Separate DefinedCOMDAT from DefinedRegular symbol type. NFC.
Before this change, you got to cast a symbol to DefinedRegular and then
call isCOMDAT() to determine if a given symbol is a COMDAT symbol.
Now you can just use isa<DefinedCOMDAT>().

As to the class definition of DefinedCOMDAT, I could remove duplicate
code from DefinedRegular and DefinedCOMDAT by introducing another base
class for them, but I chose to not do that to keep the class hierarchy
shallow. This amount of code duplication doesn't worth to define a new
class.

llvm-svn: 240319
2015-06-22 19:56:01 +00:00
..
COFF COFF: Separate DefinedCOMDAT from DefinedRegular symbol type. NFC. 2015-06-22 19:56:01 +00:00
cmake/modules
docs Fix docs-lld-html build. 2015-04-10 21:37:42 +00:00
include/lld ArrayRef-ify Driver::parse and related functions. 2015-06-21 06:32:10 +00:00
lib [Mips] Support R_MICROMIPS_HI0_LO16 relocation handling 2015-06-22 09:27:05 +00:00
test [Mips] Support R_MICROMIPS_HI0_LO16 relocation handling 2015-06-22 09:27:05 +00:00
tools ArrayRef-ify Driver::parse and related functions. 2015-06-21 06:32:10 +00:00
unittests ArrayRef-ify Driver::parse and related functions. 2015-06-21 06:32:10 +00:00
utils Move the 'linker-script-test' binary to the tools directory. 2015-03-11 22:05:49 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt COFF: Add a new PE/COFF port. 2015-05-28 19:09:30 +00:00
LICENSE.TXT Update copyright year to 2015. 2015-03-12 20:14:35 +00:00
README.md

README.md

LLVM Linker (lld)

This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.

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