Displaying 1 result from an estimated 1 matches for "c218f786".
Did you mean:
1218786
2013 Jan 08
1
[LLVMdev] LTO "bug" and Clang warnings
Hi Duncan,
Ok, I found that even if main() does reference foo, setup() still gets
chopped off and the results is the unexpected:
Foo: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Bar: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Baz: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
So, while there is the issue in LTO, I still think Clang could give a
warning. This is a source of buffer overflow