diff options
author | Fangrui Song <i@maskray.me> | 2020-11-12 08:46:53 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2020-11-12 08:46:53 -0800 |
commit | 2a9aed0e8b538955f38f036bd34ea79adfce2ad7 (patch) | |
tree | a419eaa7a8fbffe445f16e498ce14a497ed9cb48 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 170e45ae186b3eed16898db933c94a85ac623933 (diff) | |
download | llvm-2a9aed0e8b538955f38f036bd34ea79adfce2ad7.zip llvm-2a9aed0e8b538955f38f036bd34ea79adfce2ad7.tar.gz llvm-2a9aed0e8b538955f38f036bd34ea79adfce2ad7.tar.bz2 |
[ELF] Support multiple SORT in an input section description
The second `SORT` in `*(SORT(...) SORT(...))` is incorrectly parsed as a file pattern.
Fix the bug by stopping at `SORT*` in `readInputSectionsList`.
Reviewed By: grimar
Differential Revision: https://reviews.llvm.org/D91180
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions