Displaying 3 results from an estimated 3 matches for "inittmbuild".
Did you mean:
inittmbuilder
2017 Sep 07
2
[ThinLTO] static library failure with object files with the same name
...to every new buffer. Something like this diff:
diff --git a/llvm/lib/LTO/ThinLTOCodeGenerator.cpp
b/llvm/lib/LTO/ThinLTOCodeGenerator.cpp
index ffd78dad9228..d6e5d4d0c213 100644
--- a/llvm/lib/LTO/ThinLTOCodeGenerator.cpp
+++ b/llvm/lib/LTO/ThinLTOCodeGenerator.cpp
@@ -535,7 +535,9 @@ static void initTMBuilder(TargetMachineBuilder
&TMBuilder,
} // end anonymous namespace
void ThinLTOCodeGenerator::addModule(StringRef Identifier, StringRef Data)
{
- ThinLTOBuffer Buffer(Data, Identifier);
+ std::string Id =
+ (Twine(Identifier) + "_" + std::to_string(Modules.size())).str();
+ Th...
2017 Sep 11
2
[ThinLTO] static library failure with object files with the same name
...gt; diff --git a/llvm/lib/LTO/ThinLTOCodeGenerator.cpp
>> b/llvm/lib/LTO/ThinLTOCodeGenerator.cpp
>> index ffd78dad9228..d6e5d4d0c213 100644
>> --- a/llvm/lib/LTO/ThinLTOCodeGenerator.cpp
>> +++ b/llvm/lib/LTO/ThinLTOCodeGenerator.cpp
>> @@ -535,7 +535,9 @@ static void initTMBuilder(TargetMachineBuilder
>> &TMBuilder,
>> } // end anonymous namespace
>>
>> void ThinLTOCodeGenerator::addModule(StringRef Identifier, StringRef
>> Data) {
>> - ThinLTOBuffer Buffer(Data, Identifier);
>> + std::string Id =
>> + (Twine(Ide...
2017 Sep 06
3
[ThinLTO] static library failure with object files with the same name
On Wed, Sep 6, 2017 at 1:10 PM, Johan Engelen via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> On Tue, Sep 5, 2017 at 11:34 PM, Davide Italiano <dccitaliano at gmail.com>
> wrote:
>>
>> On Tue, Sep 5, 2017 at 2:09 PM, Teresa Johnson <tejohnson at google.com>
>> wrote:
>> >
>> > Hi Johan,
>> >
>> > Right, per the bug