- After D102479 code in Clang.cpp only propagates -flto instead of -flto=thin if we pass -flto -flto=thin to clang, ignoring the last -flto=.* argument.
- I also noticed that parseLTOMode returns LTOK_Thin when we pass -flto=thin -flto. Using the -flto= argument even though a later -flto is present.
Another option would be to do the following, but i am not sure if there is any code that explicitly checks for/needs "=full":