- Aug 04, 2017
-
-
Zachary Turner authored
llvm-svn: 310131
-
Zachary Turner authored
llvm-svn: 310130
-
Kyle Butt authored
NFC. llvm-svn: 310129
-
Zachary Turner authored
llvm-svn: 310128
-
Petr Hosek authored
This change adds the "-O binary" flag which directs llvm-objcopy to output the object file to the same format as GNU objcopy does when given the flag "-O binary". This was done by splitting the Object class into two subclasses ObjectELF and ObjectBianry which each output a different format but relay on the same code to read in the Object in Object. Patch by Jake Ehrlich Differential Revision: https://reviews.llvm.org/D34480 llvm-svn: 310127
-
Kostya Serebryany authored
llvm-svn: 310126
-
Adrian Prantl authored
llvm-svn: 310124
-
Nico Weber authored
llvm-svn: 310123
-
Sanjay Patel authored
llvm-svn: 310122
-
Vlad Tsyrklevich authored
This reverts commit r310105. llvm-svn: 310121
-
Alexey Bataev authored
llvm-svn: 310120
-
Kostya Kortchinsky authored
Summary: Last one of the `pvalloc` overflow checks! `CheckForPvallocOverflow` was introduced with D35818 to detect when `pvalloc` would wrap when rounding up to the next multiple of the page size. Add this check to ASan's `pvalloc` implementation. Reviewers: alekseyshl Reviewed By: alekseyshl Subscribers: llvm-commits, kubamracek Differential Revision: https://reviews.llvm.org/D36257 llvm-svn: 310119
-
Nico Weber authored
llvm-svn: 310118
-
Amara Emerson authored
Pushes the sext onto the operands of a Sub if NSW is present. Also adds support for propagating the nowrap flags of the llvm.ssub.with.overflow intrinsic during analysis. Differential Revision: https://reviews.llvm.org/D35256 llvm-svn: 310117
-
Kamil Rytarowski authored
Summary: This adds NetBSD specific: - ReadProcMaps() - MemoryMappingLayout::Next() This code is largely shared with FreeBSD. Part of the code inspired by the original work on libsanitizer in GCC 5.4 by Christos Zoulas. Sponsored by <The NetBSD Foundation> Reviewers: kcc, joerg, filcab, vitalybuka, fjricci Reviewed By: fjricci Subscribers: emaste, kubamracek, mgorny, llvm-commits, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D35551 llvm-svn: 310116
-
Quentin Colombet authored
Its sole purpose was to avoid spreading around ifdefs related to building global-isel. Since r309990, GlobalISel is not optional anymore, thus, we can get rid of this mechanism all together. NFC. llvm-svn: 310115
-
Quentin Colombet authored
Thanks to Diana Picus <diana.picus@linaro.org> for noticing. NFC llvm-svn: 310114
-
Kostya Serebryany authored
llvm-svn: 310113
-
Zachary Turner authored
llvm-svn: 310112
-
Nico Weber authored
llvm-svn: 310111
-
Kostya Serebryany authored
llvm-svn: 310110
-
Vlad Tsyrklevich authored
Summary: The regular expression to match STL allocators can't easily account for C++ mangling compression and fails to match some valid instances of STL allocators. Perform this logic in clang instead. Motivated by crbug.com/751385. Reviewers: pcc, kcc, llvm-commits Reviewed By: pcc Differential Revision: https://reviews.llvm.org/D36291 llvm-svn: 310109
-
Zachary Turner authored
This matches the behavior of MSVC's linker. Differential Revision: https://reviews.llvm.org/D36334 llvm-svn: 310108
-
Zachary Turner authored
Image section headers are stored in the DBI stream, but we had no way to dump them. This patch adds dumping support, along with some tests that LLD actually dumps them correctly. Differential Revision: https://reviews.llvm.org/D36332 llvm-svn: 310107
-
Kostya Serebryany authored
llvm-svn: 310106
-
Vlad Tsyrklevich authored
Reland r310097 with a unit test fix for MS ABI build bots. Differential Revision: https://reviews.llvm.org/D36294 llvm-svn: 310105
-
Alexey Bataev authored
Arguments, passed to the outlined function, must have correct address space info for proper Debug info support. Patch sets global address space for arguments that are mapped and passed by reference. Also, cuda-gdb does not handle reference types correctly, so reference arguments are represented as pointers. llvm-svn: 310104
-
Siddharth Bhat authored
This is useful when trying to understand why no GPU code was produced. Differential Revision: https://reviews.llvm.org/D36318 llvm-svn: 310103
-
Sanjay Patel authored
llvm-svn: 310101
-
George Karpenkov authored
-DLIBFUZZER_ENABLE_TESTS=ON is set. llvm-svn: 310100
-
Vlad Tsyrklevich authored
This reverts commit r310097. llvm-svn: 310099
-
Alexey Bataev authored
llvm-svn: 310098
-
Vlad Tsyrklevich authored
Summary: Previously, STL allocators were blacklisted in compiler_rt's cfi_blacklist.txt because they mandated a cast from void* to T* before object initialization completed. This change moves that logic into the front end because C++ name mangling supports a substitution compression mechanism for symbols that makes it difficult to blacklist the mangled symbol for allocate() using a regular expression. Motivated by crbug.com/751385. Reviewers: pcc, kcc Reviewed By: pcc Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D36294 llvm-svn: 310097
-
Florian Gross authored
Differential Revision: https://reviews.llvm.org/D36308 llvm-svn: 310096
-
Florian Gross authored
HasDeclarationMatcher did not handle DeducedType, it always returned false for deduced types. So with code like this: struct X{}; auto x = X{}; This did no longer match: varDecl(hasType(recordDecl(hasName("X")))) Because HasDeclarationMatcher didn't resolve the DeducedType of x. Differential Revision: https://reviews.llvm.org/D36308 llvm-svn: 310095
-
Ulrich Weigand authored
This adds support for the main 128-bit atomic operations, using the SystemZ instructions LPQ, STPQ, and CDSG. Generating these instructions is a bit more complex than usual since the i128 type is not legal for the back-end. Therefore, we have to hook the LowerOperationWrapper and ReplaceNodeResults TargetLowering callbacks. llvm-svn: 310094
-
Ulrich Weigand authored
We currently emit a serialization operation (bcr 14, 0) before every atomic load and after every atomic store. This is overly conservative. The SystemZ architecture actually does not require any serialization for atomic loads, and a serialization after an atomic store only if we need to enforce sequential consistency. This is what other compilers for the platform implement as well. llvm-svn: 310093
-
Evgeny Stupachenko authored
Summary: The bug was uncovered after fix of PR23384 (part 3 of 3). The patch restricts pointer multiplication in SCEV computaion for ICmpZero. Reviewers: qcolombet Differential Revision: http://reviews.llvm.org/D36170 From: Evgeny Stupachenko <evstupac@gmail.com> <evgeny.v.stupachenko@intel.com> llvm-svn: 310092
-
Kostya Serebryany authored
llvm-svn: 310091
-
Rafael Espindola authored
llvm-svn: 310090
-