- Oct 01, 2016
-
-
Craig Topper authored
llvm-svn: 283015
-
Craig Topper authored
llvm-svn: 283014
-
Mehdi Amini authored
llvm-svn: 283013
-
Mehdi Amini authored
llvm-svn: 283012
-
Mehdi Amini authored
This reverts commit r283009. Bots are broken. llvm-svn: 283011
-
Jason Molenda authored
assembly inspection class is designed to detect. This is only about half of the instructions that it needs to recognize - I'll complete this in a separate checkin. The larger full-function style test cases I'd checked in previously covered nearly all of these already, but I wanted simpler test cases too, so if they fail in the future, it will be easier to spot the issue. llvm-svn: 283010
-
Mehdi Amini authored
llvm-svn: 283009
-
Mehdi Amini authored
llvm-svn: 283008
-
Mehdi Amini authored
llvm-svn: 283007
-
Mehdi Amini authored
llvm-svn: 283006
-
Mehdi Amini authored
llvm-svn: 283005
-
Mehdi Amini authored
llvm-svn: 283004
-
Mehdi Amini authored
This reverts commit r282999. Tests are not passing: http://lab.llvm.org:8011/builders/clang-x86_64-linux-selfhost-modules/builds/20038 llvm-svn: 283003
-
Eric Christopher authored
of the TargetMachine. NFC. llvm-svn: 283002
-
Eric Christopher authored
TargetTriple, just grab it off of the TargetMachine. NFC. llvm-svn: 283001
-
Eric Christopher authored
and can be pulled from the TargetMachine. NFC. llvm-svn: 283000
-
Matt Arsenault authored
This removes many re-initializations of a base register to 0. llvm-svn: 282999
-
Mehdi Amini authored
llvm-svn: 282998
-
Mehdi Amini authored
llvm-svn: 282997
-
Mehdi Amini authored
llvm-svn: 282996
-
Kostya Serebryany authored
[libFuzzer] implement the -shrink=1 option that tires to make elements of the corpus smaller, off by default llvm-svn: 282995
-
Kostya Serebryany authored
llvm-svn: 282994
-
Jim Ingham authored
The lldbutil.run_break_set_by_file_and_line has already checked that the number of locations was 1, so don't check it again. And certainly don't check it again by grubbing in break list output. Also, we know the Thread's IsStopped state is wrong, and have a test for that, so don't keep testing it in other files where that isn't the primary thing we're testing. I removed the xfail for Darwin. If this also passes on other systems, we can remove the xfails from them as we find that out. llvm-svn: 282993
-
Nirav Dave authored
To lex hash directives we peek ahead to find component tokens, create a unified token, and unlex the peeked tokens so the parser does not need to parse the tokens then. Make sure we do not to lex another hash directive during peek operation. This fixes PR28921. Reviewers: rnk, loladiro Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D24839 llvm-svn: 282992
-
Jason Molenda authored
'push 0x20(%esp)' which clang can generate when emitting -fomit-frame-pointer code for 32-bit. Add a unit test program which includes this instruction. Also fix a bug in the refactoring/rewrite of the x86 assembly instruction profiler where I'd hard coded it as a 64-bit disassembler instead of using the ArchSpec to pick a 32-bit or 64-bit disassembler from llvm. When the disassembler would hit an instruction that is invalid in 64-bit mode, it would stop disassembling the function. This likely led to the TestSBData testsuite failure on linux with 32-bit i386 and gcc-4.9; I'll test that in a bit. The newly added unit test program is 32-bit i386 code and it includes an instruction which is invalid in 64-bit mode so it will catch this. <rdar://problem/28557876> llvm-svn: 282991
-
Todd Fiala authored
This change addresses the corner case bug in the test infrastructure where a test file times out *outside* of any running test method. In those cases, the issue was charged to the file, not to a test method within the file. When that file is re-run successfully, none of the test-method-level successes would clear the file-level issue. This change fixes that: for all test files that are getting rerun (whether by being marked flaky or via the --rerun-all-issues flag), file-level test issues are searched for in each of those files. Each file-level issue found in the rerun file list then gets cleared. A test of this feature is added to issue_verification, using the technique there of moving the *.py.park file to *.py to do an end-to-end validation. This change also adds a .gitignore entry for pyenv project-level files and fixes up a few minor pep8 formatting violations in files I touched. Fixes: llvm.org/pr27423 llvm-svn: 282990
-
Richard Trieu authored
With templated classes, is possible to not be able to determine is a member function is a special member function before the class is instantiated. Only these special member functions can be defaulted. In some cases, knowing whether a function is a special member function can't be determined until instantiation, so an uninstantiated function could possibly be defaulted too. Add a case to the error diagnostic when the function marked with a default is not known to be a special member function. llvm-svn: 282989
-
Mehdi Amini authored
The binder is in a specific section that "reverse" the edges in a regular dead-stripping: the binder is live as long as a global it references is live. This is a big hammer that prevents LLVM from dead-stripping these, while still allowing linker dead-stripping (with special knowledge of the section). Differential Revision: https://reviews.llvm.org/D24673 llvm-svn: 282988
-
Justin Lebar authored
llvm-svn: 282987
-
Justin Lebar authored
Reviewers: tra, rnk Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D25129 llvm-svn: 282986
-
Justin Lebar authored
Also add a test that we disallow __constant__ __shared__ int x; because it's possible to break this without breaking __shared__ __constant__ int x; Reviewers: rnk Subscribers: cfe-commits, tra Differential Revision: https://reviews.llvm.org/D25125 llvm-svn: 282985
-
Richard Smith authored
llvm-svn: 282984
-
Kostya Serebryany authored
llvm-svn: 282983
-
Davide Italiano authored
llvm-svn: 282982
-
Richard Smith authored
just warn that the second declaration is missing the 'inline' keyword. This is valid, and we shouldn't be suggesting otherwise. llvm-svn: 282981
-
Saleem Abdulrasool authored
When emitting the fundamental type information constants, inherit the DLLExportAttr from `__fundamental_type_info`. We would previously not honor the `__declspec(dllexport)` on the type information. llvm-svn: 282980
-
Matthias Braun authored
llvm-svn: 282979
-
Jim Ingham authored
Remove the test for thread stopped states from this test. That isn't set properly now, and its setting doesn't matter till we actually support non-stop debugging, so we shouldn't have unrelated tests failing from it. Also changed some code that was trying and failing to grub command line output, and replaced it by SB API calls. llvm-svn: 282976
-
Richard Smith authored
assume that ::operator new provides no more alignment than is necessary for any primitive type, except when we're on a GNU OS, where glibc's malloc guarantees to provide 64-bit alignment on 32-bit systems and 128-bit alignment on 64-bit systems. This can be controlled by the command-line -fnew-alignment flag. llvm-svn: 282974
-
Eric Fiselier authored
Summary: The title says it all. Reviewers: rsmith, GorNishanov Subscribers: mehdi_amini, cfe-commits Differential Revision: https://reviews.llvm.org/D25078 llvm-svn: 282973
-