[lld] r194290 - [mach-o] fix uninitialized variable

shankare at codeaurora.org shankare at codeaurora.org
Fri Nov 8 16:15:04 PST 2013


Hi Sean,

I was trying to setup the buildbots for running Asan/Tsan on lld.

Its currently under review and Rick foos is working on it, as we have some
build machines which could be used for running lld tests.

MSan is not being handled currently as libstdc++ need to be compiled with
that flag, which I have not yet done.

Thanks

Shankar Easwaran

> Would this have been caught by ASan/MSan? If so, then maybe we should look
> into setting up a bot.
>
> -- Sean Silva
>
>
> On Fri, Nov 8, 2013 at 6:00 PM, Nick Kledzik <kledzik at apple.com> wrote:
>
>> Author: kledzik
>> Date: Fri Nov  8 17:00:26 2013
>> New Revision: 194290
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=194290&view=rev
>> Log:
>> [mach-o] fix uninitialized variable
>>
>> Modified:
>>     lld/trunk/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
>>
>> Modified: lld/trunk/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
>> URL:
>> http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/MachO/MachOLinkingContext.cpp?rev=194290&r1=194289&r2=194290&view=diff
>>
>> ==============================================================================
>> --- lld/trunk/lib/ReaderWriter/MachO/MachOLinkingContext.cpp (original)
>> +++ lld/trunk/lib/ReaderWriter/MachO/MachOLinkingContext.cpp Fri Nov  8
>> 17:00:26 2013
>> @@ -115,6 +115,7 @@ MachOLinkingContext::MachOLinkingContext
>>      : _outputFileType(MH_EXECUTE), _outputFileTypeStatic(false),
>>        _doNothing(false), _arch(arch_unknown), _os(OS::macOSX),
>> _osMinVersion(0),
>>        _pageZeroSize(unspecifiedPageZeroSize),
>> +      _pageSize(4096),
>>        _compatibilityVersion(0), _currentVersion(0),
>>        _deadStrippableDylib(false), _kindHandler(nullptr) {}
>>
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>




More information about the llvm-commits mailing list