aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Object/ELFObjectFileTest.cpp
diff options
context:
space:
mode:
authorJan Svoboda <jan_svoboda@apple.com>2020-12-09 13:26:39 +0100
committerJan Svoboda <jan_svoboda@apple.com>2020-12-16 09:44:54 +0100
commitf2661bed185e14a8f5aa9a54565a8b938a7a10aa (patch)
tree50563a8d305686eaefc5abd916a54ffcf6cae797 /llvm/unittests/Object/ELFObjectFileTest.cpp
parent95114f21f5bf1704672dadb45ca7c25efca72e03 (diff)
downloadllvm-f2661bed185e14a8f5aa9a54565a8b938a7a10aa.zip
llvm-f2661bed185e14a8f5aa9a54565a8b938a7a10aa.tar.gz
llvm-f2661bed185e14a8f5aa9a54565a8b938a7a10aa.tar.bz2
[clang][cli] Prevent double denormalization
If both flags created through BoolOption are CC1Option and the keypath has a non-default or non-implied value, the denormalizer gets called twice. If the denormalizer has the ability to generate both flags, we can end up generating the same flag twice. Reviewed By: dexonsmith, Bigcheese Differential Revision: https://reviews.llvm.org/D93094
Diffstat (limited to 'llvm/unittests/Object/ELFObjectFileTest.cpp')
0 files changed, 0 insertions, 0 deletions