Displaying 8 results from an estimated 8 matches for "createsections".
2006 Apr 18
6
Postgresql and ActiveRecords problems
Hi all. I have a problem with postgresql PK columns and ActiveRecord.
The error is: PGError: ERROR: null value in column "item_id" violates
not-null.
Ok, it''s wrong to insert NULL into PK columns, but rails doing it. How
to fix? So sad..
2016 Feb 03
2
lld dynamic relocation creation issue
...Sym. Value Sym. Name + Addend
000000010dc0 000000000403 R_AARCH64_RELATIV 7a8
Where 0x7a8 (dynamic relocation r_addend) points to a function at
.text segment (in this case frame_dummy).
I am trying to made this on lld, but current step sequence is:
- Write::run
\_ Write::createSections
\_ Write::scanRelocs
\_ Write::addReloc // Dynamic Relocation creation
\_ Write::writeSections
\_ OutputSectionBase::writeTo
\_ InputSection::writeTo
\_ InputSection::relocate
\_ TargetInfo::relocateOne
The problem is only at TargetInfo::reloca...
2018 Jul 25
2
LLD COFF library: crashes when lld::coff::link is called twice
...const_iterator<std::_Vector_val<std::_Simple_types<lld::coff::Chunk
*> > > _Where, lld::coff::Chunk * const * _First, lld::coff::Chunk * const
* _Last) Line 1376 C++
zig.exe!lld::coff::SymbolTable::getChunks() Line 311 C++
zig.exe!`anonymous namespace'::Writer::createSections() Line 340 C++
zig.exe!`anonymous namespace'::Writer::run() Line 288 C++
zig.exe!lld::coff::writeResult() Line 166 C++
zig.exe!lld::coff::LinkerDriver::link(llvm::ArrayRef<char const *>
ArgsArr) Line 1331 C++
zig.exe!lld::coff::link(llvm::ArrayRef<char c...
2018 Aug 08
2
LLD COFF library: crashes when lld::coff::link is called twice
...t;std::_Simple_types<lld::coff::Chunk
>> *> > > _Where, lld::coff::Chunk * const * _First, lld::coff::Chunk * const *
>> _Last) Line 1376 C++
>> zig.exe!lld::coff::SymbolTable::getChunks() Line 311 C++
>> zig.exe!`anonymous namespace'::Writer::createSections() Line 340
>> C++
>> zig.exe!`anonymous namespace'::Writer::run() Line 288 C++
>> zig.exe!lld::coff::writeResult() Line 166 C++
>> zig.exe!lld::coff::LinkerDriver::link(llvm::ArrayRef<char const *>
>> ArgsArr) Line 1331 C++
>>...
2017 Jul 31
3
[RFC] Profile guided section layout
Hi Rafael,
On 07/31/2017 04:20 PM, Rafael Avila de Espindola via llvm-dev wrote:
> However, do we need to start with instrumentation? The original paper
> uses sampling with good results and current intel cpus can record every
> branch in a program.
>
> I would propose starting with just an lld patch that reads the call
> graph from a file. The format would be very similar to
2017 Jul 31
2
[RFC] Profile guided section layout
...eturn OrderMap.lookup(IS); });
+ break;
+ }
+}
+
template <class ELFT>
void Writer<ELFT>::forEachRelSec(std::function<void(InputSectionBase &)> Fn) {
for (InputSectionBase *IS : InputSections) {
@@ -928,6 +1081,7 @@ template <class ELFT> void Writer<ELFT>::createSections() {
Old.end());
Script->fabricateDefaultCommands();
+ sortByCFGProfile<ELFT>(OutputSections);
sortBySymbolsOrder<ELFT>();
sortInitFini(findSection(".init_array"));
sortInitFini(findSection(".fini_array"));
2017 Jun 15
7
[RFC] Profile guided section layout
...eturn OrderMap.lookup(IS); });
+ break;
+ }
+}
+
template <class ELFT>
void Writer<ELFT>::forEachRelSec(std::function<void(InputSectionBase &)> Fn) {
for (InputSectionBase *IS : InputSections) {
@@ -949,6 +1102,7 @@ template <class ELFT> void Writer<ELFT>::createSections() {
if (IS)
Factory.addInputSec(IS, getOutputSectionName(IS->Name));
+ sortByCFGProfile<ELFT>(OutputSections);
sortBySymbolsOrder<ELFT>(OutputSections);
sortInitFini(findSection(".init_array"));
sortInitFini(findSection(".fini_array"));
---...
2017 Aug 01
2
[RFC] Profile guided section layout
...eturn OrderMap.lookup(IS); });
+ break;
+ }
+}
+
template <class ELFT>
void Writer<ELFT>::forEachRelSec(std::function<void(InputSectionBase &)> Fn) {
for (InputSectionBase *IS : InputSections) {
@@ -928,6 +1077,7 @@ template <class ELFT> void Writer<ELFT>::createSections() {
Old.end());
Script->fabricateDefaultCommands();
+ sortByCFGProfile<ELFT>();
sortBySymbolsOrder<ELFT>();
sortInitFini(findSection(".init_array"));
sortInitFini(findSection(".fini_array"));
-------------- next part -...