reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | // To generate the corresponding EXE, run: // clang-cl -MD -O2 -gdwarf -c coff-dwarf.cpp && lld-link -debug coff-dwarf.obj extern "C" int puts(const char *str); void __declspec(noinline) foo() { puts("foo1"); puts("foo2"); } // LLVM should inline this into main. static void bar() { foo(); } int main() { bar(); return 0; } |