search for: inl2

Displaying 13 results from an estimated 13 matches for "inl2".

Did you mean: inl
2016 Dec 15
6
distinct DISubprograms hindering sharing inlined subprogram descriptions
...fectively be so) remain separate - this means that inlined versions in one CU don't refer to an existing subprogram definition in another CU. To demonstrate: inl.h: void f1(); inline __attribute__((always_inline)) void f2() { f1(); } inl1.cpp: #include "inl.h" void c1() { f2(); } inl2.cpp: #include "inl.h" void c2() { f2(); } Compile to IR, llvm-link the result. The DWARF you get is basically the same as the DWARF you'd get without linking: DW_TAG_compile_unit DW_AT_name "inl1.cpp" DW_TAG_subprogram #0 DW_AT_name "f2" DW_TAG_subpro...
2016 Dec 15
1
distinct DISubprograms hindering sharing inlined subprogram descriptions
...n in another CU. > > > > To demonstrate: > > inl.h: > > void f1(); > > inline __attribute__((always_inline)) void f2() { > > f1(); > > } > > inl1.cpp: > > #include "inl.h" > > void c1() { > > f2(); > > } > > inl2.cpp: > > #include "inl.h" > > void c2() { > > f2(); > > } > > > > Compile to IR, llvm-link the result. The DWARF you get is basically the > same as the DWARF you'd get without linking: > > > > DW_TAG_compile_unit > > DW_AT_n...
2016 Dec 15
0
distinct DISubprograms hindering sharing inlined subprogram descriptions
...ns in one CU don't refer to an existing subprogram definition in another CU. > > To demonstrate: > inl.h: > void f1(); > inline __attribute__((always_inline)) void f2() { > f1(); > } > inl1.cpp: > #include "inl.h" > void c1() { > f2(); > } > inl2.cpp: > #include "inl.h" > void c2() { > f2(); > } > > Compile to IR, llvm-link the result. The DWARF you get is basically the same as the DWARF you'd get without linking: > > DW_TAG_compile_unit > DW_AT_name "inl1.cpp" > DW_TAG_subprogra...
2016 Dec 15
0
distinct DISubprograms hindering sharing inlined subprogram descriptions
...n one CU don't refer to an existing subprogram > definition in another CU. > > To demonstrate: > inl.h: > void f1(); > inline __attribute__((always_inline)) void f2() { > f1(); > } > inl1.cpp: > #include "inl.h" > void c1() { > f2(); > } > inl2.cpp: > #include "inl.h" > void c2() { > f2(); > } > > Compile to IR, llvm-link the result. The DWARF you get is basically the > same as the DWARF you'd get without linking: > > DW_TAG_compile_unit > DW_AT_name "inl1.cpp" > DW_TAG_subpro...
2016 Dec 15
2
distinct DISubprograms hindering sharing inlined subprogram descriptions
...n one CU don't refer to an existing subprogram > definition in another CU. > > To demonstrate: > inl.h: > void f1(); > inline __attribute__((always_inline)) void f2() { > f1(); > } > inl1.cpp: > #include "inl.h" > void c1() { > f2(); > } > inl2.cpp: > #include "inl.h" > void c2() { > f2(); > } > > Compile to IR, llvm-link the result. The DWARF you get is basically the > same as the DWARF you'd get without linking: > > DW_TAG_compile_unit > DW_AT_name "inl1.cpp" > DW_TAG_subpro...
2016 Dec 23
0
distinct DISubprograms hindering sharing inlined subprogram descriptions
...ns in one CU don't refer to an existing subprogram definition in another CU. > > To demonstrate: > inl.h: > void f1(); > inline __attribute__((always_inline)) void f2() { > f1(); > } > inl1.cpp: > #include "inl.h" > void c1() { > f2(); > } > inl2.cpp: > #include "inl.h" > void c2() { > f2(); > } > > Compile to IR, llvm-link the result. The DWARF you get is basically the same as the DWARF you'd get without linking: > > DW_TAG_compile_unit > DW_AT_name "inl1.cpp" > DW_TAG_subprogra...
2016 Dec 15
0
distinct DISubprograms hindering sharing inlined subprogram descriptions
...gt; definition in another CU. >> >> To demonstrate: >> inl.h: >> void f1(); >> inline __attribute__((always_inline)) void f2() { >> f1(); >> } >> inl1.cpp: >> #include "inl.h" >> void c1() { >> f2(); >> } >> inl2.cpp: >> #include "inl.h" >> void c2() { >> f2(); >> } >> >> Compile to IR, llvm-link the result. The DWARF you get is basically the >> same as the DWARF you'd get without linking: >> >> DW_TAG_compile_unit >> DW_AT_name &...
2016 Dec 23
2
distinct DISubprograms hindering sharing inlined subprogram descriptions
...n one CU don't refer to an existing subprogram > definition in another CU. > > To demonstrate: > inl.h: > void f1(); > inline __attribute__((always_inline)) void f2() { > f1(); > } > inl1.cpp: > #include "inl.h" > void c1() { > f2(); > } > inl2.cpp: > #include "inl.h" > void c2() { > f2(); > } > > Compile to IR, llvm-link the result. The DWARF you get is basically the > same as the DWARF you'd get without linking: > > DW_TAG_compile_unit > DW_AT_name "inl1.cpp" > DW_TAG_subpro...
2016 Dec 24
0
distinct DISubprograms hindering sharing inlined subprogram descriptions
...gt; To demonstrate: >>> inl.h: >>> void f1(); >>> inline __attribute__((always_inline)) void f2() { >>> f1(); >>> } >>> inl1.cpp: >>> #include "inl.h" >>> void c1() { >>> f2(); >>> } >>> inl2.cpp: >>> #include "inl.h" >>> void c2() { >>> f2(); >>> } >>> >>> Compile to IR, llvm-link the result. The DWARF you get is basically the same as the DWARF you'd get without linking: >>> >>> DW_TAG_compile_uni...
2016 Dec 15
2
distinct DISubprograms hindering sharing inlined subprogram descriptions
...fectively be so) remain separate - this means that inlined versions in one CU don't refer to an existing subprogram definition in another CU. To demonstrate: inl.h: void f1(); inline __attribute__((always_inline)) void f2() { f1(); } inl1.cpp: #include "inl.h" void c1() { f2(); } inl2.cpp: #include "inl.h" void c2() { f2(); } Compile to IR, llvm-link the result. The DWARF you get is basically the same as the DWARF you'd get without linking: DW_TAG_compile_unit DW_AT_name "inl1.cpp" DW_TAG_subprogram #0 DW_AT_name "f2" DW_TAG_subpro...
2016 Dec 16
0
distinct DISubprograms hindering sharing inlined subprogram descriptions
...n one CU don't refer to an existing subprogram > definition in another CU. > > To demonstrate: > inl.h: > void f1(); > inline __attribute__((always_inline)) void f2() { > f1(); > } > inl1.cpp: > #include "inl.h" > void c1() { > f2(); > } > inl2.cpp: > #include "inl.h" > void c2() { > f2(); > } > > Compile to IR, llvm-link the result. The DWARF you get is basically the > same as the DWARF you'd get without linking: > > DW_TAG_compile_unit > DW_AT_name "inl1.cpp" > DW_TAG_subpro...
2016 Dec 16
2
distinct DISubprograms hindering sharing inlined subprogram descriptions
...n one CU don't refer to an existing subprogram > definition in another CU. > > To demonstrate: > inl.h: > void f1(); > inline __attribute__((always_inline)) void f2() { > f1(); > } > inl1.cpp: > #include "inl.h" > void c1() { > f2(); > } > inl2.cpp: > #include "inl.h" > void c2() { > f2(); > } > > Compile to IR, llvm-link the result. The DWARF you get is basically the > same as the DWARF you'd get without linking: > > DW_TAG_compile_unit > DW_AT_name "inl1.cpp" > DW_TAG_subpro...
2016 Dec 16
0
distinct DISubprograms hindering sharing inlined subprogram descriptions
...gt; definition in another CU. >> >> To demonstrate: >> inl.h: >> void f1(); >> inline __attribute__((always_inline)) void f2() { >> f1(); >> } >> inl1.cpp: >> #include "inl.h" >> void c1() { >> f2(); >> } >> inl2.cpp: >> #include "inl.h" >> void c2() { >> f2(); >> } >> >> Compile to IR, llvm-link the result. The DWARF you get is basically the >> same as the DWARF you'd get without linking: >> >> DW_TAG_compile_unit >> DW_AT_name &...