| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The build system was inconsistent in its naming conventions for
link flags. This patch changes all uses of LINKFLAGS to LINK_FLAGS,
for consistency with cmake's LINK_FLAGS property.
This patch should make it easier to search the source code for
uses of link flags, as well as providing the benefit of improved
style and consistency.
Reviewers: compnerd, beanz
Subscribers: kubabrecka, llvm-commits, mgorny
Differential Revision: https://reviews.llvm.org/D28506
llvm-svn: 291539
|
|
|
|
| |
llvm-svn: 279352
|
|
|
|
| |
llvm-svn: 271257
|
|
|
|
|
|
|
|
|
| |
This is a testcase for http://llvm.org/PR27646, hitting the bug on x86_64,
aarch64, mips.
Differential Revision: http://reviews.llvm.org/D19944
llvm-svn: 268981
|
|
|
|
| |
llvm-svn: 267967
|
|
|
|
|
|
|
|
|
| |
Instead of calling a sanitizer_common function, implement GetPageSize in the
test directly. MSan runtime does not export __sanitizer::* symbols, and the
current code breaks when the test and the runtime library are in the separate
link units (ex. when the test is built as a shared library).
llvm-svn: 266910
|
|
|
|
|
|
|
|
|
|
|
|
| |
This breaks the valloc test on PowerPC, which has 64kiB pages. Since
getting page size portably is nontrivial, and there's already a function
for that in __sanitizer, just use it. Unfortunately, sanitizer_common.h
conflicts with the interface headers inclucded by msan_test.cc (and a few
of its own macros), so we have to declare it manually.
Differential Revision: http://reviews.llvm.org/D19227
llvm-svn: 266688
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D19217
llvm-svn: 266646
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: samsonov
Subscribers: jaydeep, sagar, llvm-commits
Differential Revision: http://reviews.llvm.org/D17262
llvm-svn: 261837
|
|
|
|
| |
llvm-svn: 261049
|
|
|
|
| |
llvm-svn: 261048
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: eugenis, kcc, samsonov
Subscribers: jaydeep, sagar, llvm-commits
Differential Revision: http://reviews.llvm.org/D17135
llvm-svn: 260946
|
|
|
|
| |
llvm-svn: 260749
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With COMPILER_RT_INCLUDE_TESTS turned ON and in a cross compiling
environment, the unit tests fail to link. This patch does the following changes
>Rename COMPILER_RT_TEST_CFLAGS to COMPILER_RT_UNITTEST_CFLAGS to reflect the
way it's used.
>Add COMPILER_RT_TEST_COMPILER_CFLAGS to COMPILER_RT_UNITTEST_CFLAGS so
that cross-compiler would be able to build/compile the unit tests
>Add COMPILER_RT_UNITTEST_LINKFLAGS to COMPILER_RT_UNITTEST_CFLAGS so
that cross-compiler would be able to link the unit tests (if needed)
Differential Revision: http://reviews.llvm.org/D16165
llvm-svn: 257783
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
compiling"
This broke the build. For example, from
http://lab.llvm.org:8011/builders/clang-cmake-aarch64-full/builds/1191/steps/cmake%20stage%201/logs/stdio:
-- Compiler-RT supported architectures: aarch64
CMake Error at projects/compiler-rt/cmake/Modules/AddCompilerRT.cmake:170 (string):
string sub-command REPLACE requires at least four arguments.
Call Stack (most recent call first):
projects/compiler-rt/lib/CMakeLists.txt:4 (include)
llvm-svn: 257694
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
environment, the unit tests fail to link. This patch does the following changes
>Rename COMPILER_RT_TEST_CFLAGS to COMPILER_RT_UNITTEST_CFLAGS to reflect the
way it's used.
>Add COMPILER_RT_TEST_COMPILER_CFLAGS to COMPILER_RT_UNITTEST_CFLAGS so that
cross-compiler would be able to build/compile the unit tests
>Add COMPILER_RT_UNITTEST_LINKFLAGS to COMPILER_RT_UNITTEST_CFLAGS so that
cross-compiler would be able to link the unit tests (if needed)
Differential Revision:http://reviews.llvm.org/D15082
llvm-svn: 257686
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds some fixes for MSAN with libc++ for aarch64:
1. Adds the libmsan_loadable name for aarch64.
2. Fixes some pthread_attr_setstacksize for aarch64, since glibc sets
the mininum stack size to be higher than the x86_64 default (16KB
vs 128KB).
3. Fixes a swprintf null char constant definition.
llvm-svn: 254015
|
|
|
|
| |
llvm-svn: 250957
|
|
|
|
|
|
|
|
|
|
| |
CMake build rules listed -I flags for two different libc++ header
locations which broke when libc++ headers started using include_next.
Also change -I to -isystem to avoid compiler warning about
include_next.
llvm-svn: 249759
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Currently there is a libc++ test failing under MSAN because wcrtomb is not intercepted. This patch adds an interceptor for it.
Reviewers: samsonov, eugenis
Subscribers: tberghammer, danalbert, srhines, llvm-commits
Differential Revision: http://reviews.llvm.org/D12311
llvm-svn: 245994
|
|
|
|
|
|
|
| |
Instead, refactor the build rules so that we build libc++ with MSan for
each supported architecture.
llvm-svn: 243785
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Use CMake's cmake_parse_arguments() instead.
It's called in a slightly different way, but supports all our use cases.
It's in CMake 2.8.8, which is our minimum supported version.
CMake 3.0 doc (roughly the same. No direct link to 2.8.8 doc):
http://www.cmake.org/cmake/help/v3.0/module/CMakeParseArguments.html?highlight=cmake_parse_arguments
Since I was already changing these calls, I changed ARCH and LIB into
ARCHS and LIBS to make it more clear that they're lists of arguments.
Reviewers: eugenis, samsonov, beanz
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D10529
llvm-svn: 240120
|
|
|
|
| |
llvm-svn: 231293
|
|
|
|
| |
llvm-svn: 230639
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enabling internal ptrace for mips, which fixes some
ptrace related tests. Along with this fixing some
other failures.
Reviewers: Reviewers: eugenis, kcc, samsonov
Subscribers: dsanders, sagar, lldb-commits
Differential Revision: http://reviews.llvm.org/D7332
llvm-svn: 229656
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7587
llvm-svn: 229491
|
|
|
|
|
|
|
| |
Add alignment attrubutes to ensure that the tests actually test unaligned
access irrespective of the stack layout.
llvm-svn: 229398
|
|
|
|
|
|
|
|
| |
number
Differential Revision: http://reviews.llvm.org/D7341
llvm-svn: 229389
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7588
llvm-svn: 229388
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7343
llvm-svn: 229387
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7340
llvm-svn: 229386
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7339
llvm-svn: 229385
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7335
llvm-svn: 229384
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7334
llvm-svn: 229383
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7342
llvm-svn: 228125
|
|
|
|
| |
llvm-svn: 227797
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7252
llvm-svn: 227790
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7253
llvm-svn: 227571
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: Reviewers: eugenis, kcc, samsonov, petarj
Subscribers: dsanders, sagar, lldb-commits
Differential Revision: http://reviews.llvm.org/D7194
llvm-svn: 227189
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7145
llvm-svn: 227106
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7144
llvm-svn: 227100
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7091
llvm-svn: 226801
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7089
llvm-svn: 226800
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7086
llvm-svn: 226799
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7083
llvm-svn: 226650
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D6968
llvm-svn: 226648
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7052
llvm-svn: 226554
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D7051
llvm-svn: 226461
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D6929
llvm-svn: 225688
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D6926
llvm-svn: 225686
|