Add callgraph tests for behavior when main is addr-taken or not.

The two tests have almost identical IR, except DSA correctly
reports callgraph for one but not the other.

The issue is related to DSA behavior when main is addr-taken
(addrtaken_main); the correct callgraph is reported when
'main' is renamed to 'main2' and invoked from a new simple
wrapper 'main' (addrtaken_caller).

Tests derived from example submitted by Victor van der Veen.
(Thanks!)

llvm-svn: 238057
2 files changed