diff options
author | Hafiz Abid Qadeer <abidh@codesourcery.com> | 2020-07-16 21:40:31 +0100 |
---|---|---|
committer | Hafiz Abid Qadeer <abidh@codesourcery.com> | 2020-07-28 21:18:01 +0100 |
commit | 1f166edeb47ea3584f4f6a267a9054af994af45c (patch) | |
tree | 6dbcb882d8282f226976085e41ecd4600f9345b3 /clang/lib/CodeGen/CodeGenAction.cpp | |
parent | 1e027b77f056fb50e50d9f743e21eb41151c32da (diff) | |
download | llvm-1f166edeb47ea3584f4f6a267a9054af994af45c.zip llvm-1f166edeb47ea3584f4f6a267a9054af994af45c.tar.gz llvm-1f166edeb47ea3584f4f6a267a9054af994af45c.tar.bz2 |
[lld][linkerscript] Fix handling of DEFINED.
Current implementation did not check that symbols is actually defined. Only checked for presence. GNU ld documentation says,
"Return 1 if symbol is in the linker global symbol table and is defined before the statement using DEFINED in the script, otherwise return 0."
https://sourceware.org/binutils/docs/ld/Builtin-Functions.html#Builtin-Functions
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D83758
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions