commit | de87c07e876a24b77b27add95a85cfe5e5ec83ac | [log] [tgz] |
---|---|---|
author | Rui Ueyama <ruiu@google.com> | Thu Oct 10 12:41:08 2019 +0000 |
committer | Rui Ueyama <ruiu@google.com> | Thu Oct 10 12:41:08 2019 +0000 |
tree | 2b6e0154e46d1f7bb4c588302a88e6f00749143f | |
parent | 78ff3823616618be876753304e132ac02666254e [diff] |
Make nullptr check more robust The only condition that isecLoc becomes null is Out::bufferStart == nullptr, isec->getParent()->offset == 0, and isec->outSecOff == 0. We can check the first condition only once. git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@374332 91177308-0d34-0410-b5e6-96231b3b80d8
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.
In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.
It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz
The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f.