search for: irsymtab

Displaying 17 results from an estimated 17 matches for "irsymtab".

2017 Apr 25
2
RFC: Moving the module summary into the irsymtab
Hi all, I've been making a number of changes to the summary representation recently, and I wanted to lay out some of my plans so that folks are aware of my ultimate direction with this. Basically I want to move the summary into the irsymtab that we will be storing to disk after D32061 lands. This would help solve a number of problems: - To read a summary, you need to read all summaries in a module. For example, if a client only wants to read summaries for prevailing symbols, it still needs to read summaries for all symbols. We should...
2017 May 01
3
RFC: Moving the module summary into the irsymtab
...>> Hi all, >> >> I've been making a number of changes to the summary representation >> recently, and I wanted to lay out some of my plans so that folks are aware >> of my ultimate direction with this. >> >> Basically I want to move the summary into the irsymtab that we will be >> storing to disk after D32061 lands. This would help solve a number of >> problems: >> - To read a summary, you need to read all summaries in a module. For >> example, if a client only wants to read summaries for prevailing symbols, >> it still needs...
2019 Mar 14
3
RFC: ELF Autolinking
...a comment(lib, "foo") would result in: > > > > .section ".autolink","eMS", at llvm_autolink,1 > > .asciz "foo" > > > > For LTO, equivalent information to the contents of a the .autolink > section will be written to the IRSymtab so that it is available to the > linker for symbol resolution. > > > > I'm not sure I understand the bit about "for symbol resolution". I > think that what you mean is that you will encode the autolink section > using symbols instead of as a section, and the linke...
2019 Mar 14
11
RFC: ELF Autolinking
..." pragmas map directly to. As an example, #pragma comment(lib, "foo") would result in: .section ".autolink","eMS", at llvm_autolink,1 .asciz "foo" For LTO, equivalent information to the contents of a the .autolink section will be written to the IRSymtab so that it is available to the linker for symbol resolution. The linker will process the .autolink strings in the following way: 1. Inputs from the .autolink sections of a relocatable object file are added when the linker decides to include that file (which could itself be in a library) in the li...
2019 Mar 14
2
RFC: ELF Autolinking
...>>> > >>> > .section ".autolink","eMS", at llvm_autolink,1 >>> > .asciz "foo" >>> > >>> > For LTO, equivalent information to the contents of a the .autolink >>> section will be written to the IRSymtab so that it is available to the >>> linker for symbol resolution. >>> > >>> >>> I'm not sure I understand the bit about "for symbol resolution". I >>> think that what you mean is that you will encode the autolink section >>> usin...
2019 Mar 18
2
RFC: ELF Autolinking
...> .section ".autolink","eMS", at llvm_autolink,1 >>>>> > .asciz "foo" >>>>> > >>>>> > For LTO, equivalent information to the contents of a the .autolink >>>>> section will be written to the IRSymtab so that it is available to the >>>>> linker for symbol resolution. >>>>> > >>>>> >>>>> I'm not sure I understand the bit about "for symbol resolution". I >>>>> think that what you mean is that you will encod...
2019 Mar 14
3
RFC: ELF Autolinking
...ma comment(lib, "foo") would result in: >> >> .section ".autolink","eMS", at llvm_autolink,1 >> .asciz "foo" >> >> For LTO, equivalent information to the contents of a the .autolink >> section will be written to the IRSymtab so that it is available to the >> linker for symbol resolution. >> >> The linker will process the .autolink strings in the following way: >> >> 1. Inputs from the .autolink sections of a relocatable object file are >> added when the linker decides to include that...
2018 May 11
2
[RFC] (Thin)LTO with Linker Scripts
...using the explicit section attribute.   After discussions with Peter, I believe we don't need to introduce an   additional attribute. Step 2: Symbol resolution in the linker ======================================= The linker loads all bitcode input files and performs symbol resolution. The IRSymtab already exposes the explicit section attributes for symbols; in our case, all symbols now carry this information. (2.1) In addition to communicating the exisiting SymbolResolution flags (VisibileToRegularObj etc.), the linker also matches the linker script, determines an output section for each sy...
2019 Mar 14
2
RFC: ELF Autolinking
...ma comment(lib, "foo") would result in: >> >> .section ".autolink","eMS", at llvm_autolink,1 >> .asciz "foo" >> >> For LTO, equivalent information to the contents of a the .autolink >> section will be written to the IRSymtab so that it is available to the >> linker for symbol resolution. >> >> The linker will process the .autolink strings in the following way: >> >> 1. Inputs from the .autolink sections of a relocatable object file are >> added when the linker decides to include that...
2019 Mar 19
2
RFC: ELF Autolinking
...: >>>> >>>> .section ".autolink","eMS", at llvm_autolink,1 >>>> .asciz "foo" >>>> >>>> For LTO, equivalent information to the contents of a the .autolink >>>> section will be written to the IRSymtab so that it is available to the >>>> linker for symbol resolution. >>>> >>>> The linker will process the .autolink strings in the following way: >>>> >>>> 1. Inputs from the .autolink sections of a relocatable object file are >>>&g...
2019 Mar 21
3
RFC: ELF Autolinking
...gt; .section ".autolink","eMS", at llvm_autolink,1 >>>>>> .asciz "foo" >>>>>> >>>>>> For LTO, equivalent information to the contents of a the .autolink >>>>>> section will be written to the IRSymtab so that it is available to the >>>>>> linker for symbol resolution. >>>>>> >>>>>> The linker will process the .autolink strings in the following way: >>>>>> >>>>>> 1. Inputs from the .autolink sections of a re...
2019 Mar 25
3
RFC: ELF Autolinking
...t;,"eMS", at llvm_autolink,1 >>>>>>>> .asciz "foo" >>>>>>>> >>>>>>>> For LTO, equivalent information to the contents of a the .autolink >>>>>>>> section will be written to the IRSymtab so that it is available to the >>>>>>>> linker for symbol resolution. >>>>>>>> >>>>>>>> The linker will process the .autolink strings in the following way: >>>>>>>> >>>>>>>> 1. In...
2018 May 14
0
[RFC] (Thin)LTO with Linker Scripts
...e. > After discussions with Peter, I believe we don't need to introduce an > additional attribute. > > Step 2: Symbol resolution in the linker > ======================================= > > The linker loads all bitcode input files and performs symbol resolution. The > IRSymtab already exposes the explicit section attributes for symbols; in our > case, all symbols now carry this information. > > (2.1) In addition to communicating the exisiting SymbolResolution flags > (VisibileToRegularObj etc.), the linker also matches the linker script, > determines an ou...
2019 Mar 25
2
RFC: ELF Autolinking
...t;,"eMS", at llvm_autolink,1 >>>>>>>> .asciz "foo" >>>>>>>> >>>>>>>> For LTO, equivalent information to the contents of a the .autolink >>>>>>>> section will be written to the IRSymtab so that it is available to the >>>>>>>> linker for symbol resolution. >>>>>>>> >>>>>>>> The linker will process the .autolink strings in the following way: >>>>>>>> >>>>>>>> 1. In...
2019 Mar 26
2
RFC: ELF Autolinking
...link,1 >>>>>>>>>> .asciz "foo" >>>>>>>>>> >>>>>>>>>> For LTO, equivalent information to the contents of a the >>>>>>>>>> .autolink section will be written to the IRSymtab so that it is available >>>>>>>>>> to the linker for symbol resolution. >>>>>>>>>> >>>>>>>>>> The linker will process the .autolink strings in the following >>>>>>>>>> way: >&g...
2019 Mar 27
4
RFC: ELF Autolinking
...gt;>>>>> .asciz "foo" >>>>>>>>>>>> >>>>>>>>>>>> For LTO, equivalent information to the contents of a the >>>>>>>>>>>> .autolink section will be written to the IRSymtab so that it is available >>>>>>>>>>>> to the linker for symbol resolution. >>>>>>>>>>>> >>>>>>>>>>>> The linker will process the .autolink strings in the following >>>>>>>...
2020 Apr 23
7
Cannot build master
Hi, Using master at b0a1c0b72c9c61f8b0a223e08f43498abb64f5e8, I cannot build LLVM. I configured with: CC=clang CXX=clang++ cmake -DCMAKE_INSTALL_PREFIX=$HOME/opt/llvm11-git \ -DCMAKE_BUILD_TYPE=Release \ -DLLVM_BUILD_LLVM_DYLIB=ON \ -DLLVM_LINK_LLVM_DYLIB=ON \ -DBUILD_SHARED_LIBS=OFF \ -DLLVM_ENABLE_EH=ON \ -DLLVM_ENABLE_RTTI=ON \