| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
|
|
| |
In order to support building clang out-of-tree the install_symlink script needs to be installed, and it needs to be found by searching the CMAKE_MODULE_PATH.
This change renames install_symlink -> LLVMInstallSymlink so it doesn't conflict with naming from other projects, and adds searching behavior in AddLLVM.cmake
llvm-svn: 248009
|
| |
|
|
| |
llvm-svn: 248008
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: FreeBSD and NetBSD share the same library execinfo.
Reviewers: joerg, sas, brucem
Subscribers: brucem, sas, lldb-commits
Differential Revision: http://reviews.llvm.org/D12750
Change by Kamil Rytarowski <n54@gmx.com>
llvm-svn: 248007
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
For bitfield insert OR matching, check both operands for larger pattern
first before checking for smaller pattern.
Add pattern for unsigned bitfield insert-in-zero done with SHL+AND.
Resolves PR21631.
Reviewers: jmolloy, t.p.northover
Subscribers: aemerson, rengolin, llvm-commits, mcrosier
Differential Revision: http://reviews.llvm.org/D12908
llvm-svn: 248006
|
| |
|
|
|
|
|
| |
Leaving it unset can make the triple look confusing, especially
when using -m32 or -m64.
llvm-svn: 248005
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
With the recent changes to separate clang from the core structures
of LLDB, many inclusions of clang headers can be removed.
Reviewers: clayborg
Subscribers: lldb-commits
Differential Revision: http://reviews.llvm.org/D12954
llvm-svn: 248004
|
| |
|
|
|
|
| |
On behalf of Dean De Leo
llvm-svn: 248003
|
| |
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D12916
llvm-svn: 248002
|
| |
|
|
|
|
|
|
|
|
|
| |
An ifdef for OMPT_TRACE needs to be OMPT_BLAME so that both instances of a
callback are controlled by the same ifdef.
Patch by John Mellor-Crummey
Differential Revision: http://reviews.llvm.org/D12911
llvm-svn: 248001
|
| |
|
|
| |
llvm-svn: 248000
|
| |
|
|
|
|
|
| |
The content at the new links is /also/ a little dated, but that's our
(Apple's) problem.
llvm-svn: 247999
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now does proper Unicode code region scanning for invalid XML
characters. Strips out XML-invalid characters.
Does this for:
failure result: message, backtrace
error result: message, backtrace
skipped test: skip reason
pexpect timeouts were still generating characters that would break
XML readers (correctly so).
llvm-svn: 247998
|
| |
|
|
| |
llvm-svn: 247997
|
| |
|
|
|
|
|
|
| |
Currently aarch64 lacks instrumentation support for variadic arguments
for MSan. This patch sets the UBSan tests that uses it as to require
stable-runtime and sets aarch64/ubsan as an unstable one.
llvm-svn: 247996
|
| |
|
|
|
|
|
| |
And remove a needless 'const' since ArrayRef is immutable.
Both as suggested by dblaikie on cfe-commits.
llvm-svn: 247995
|
| |
|
|
|
|
| |
Without this lld leaves temporary files behind when it crashes.
llvm-svn: 247994
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
64-bit builds
and assert when mask is too large to apply in the small case,
previously the extra words were silently ignored.
clang-format the entire function to match current code standards.
This is a rewrite of r247972 which was reverted in r247983 due to
warning and possible UB on 32-bits hosts.
llvm-svn: 247993
|
| |
|
|
|
|
|
|
| |
With this a program can call into a shared library with
jmp *foo@GOTPCREL(%rip)
llvm-svn: 247992
|
| |
|
|
|
|
|
|
|
|
|
|
| |
patch by Daniel Sanders.
Reviewers: labath, krytarowski
Subscribers: krytarowski, labath, lldb-commits
Differential Revision: http://reviews.llvm.org/D12900
llvm-svn: 247991
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Some values of 'reglist' are reserved and cause the disassembler to read past
the end of the Regs array. Treat lwm32's containing reserved values as invalid
instructions.
Reviewers: zoran.jovanovic
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D12959
llvm-svn: 247990
|
| |
|
|
| |
llvm-svn: 247989
|
| |
|
|
| |
llvm-svn: 247988
|
| |
|
|
|
|
|
|
|
|
| |
Summary: Update documentation of the modernize module with clang-modernize's documentation.
Subscribers: cfe-commits, klimek, alexfh
Differential Revision: http://reviews.llvm.org/D12961
llvm-svn: 247987
|
| |
|
|
| |
llvm-svn: 247986
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Currently LazyValueInfo will report only alloca's as having nonnull range.
For loads with !nonnull metadata it will bailout with no additional information.
Same is true for calls returning nonnull pointers.
This change extends LazyValueInfo to handle additional nonnull instructions.
Differential Revision: http://reviews.llvm.org/D12932
llvm-svn: 247985
|
| |
|
|
|
|
|
|
| |
Reviewed By: reames
Differential Revision: http://reviews.llvm.org/D12844
llvm-svn: 247984
|
| |
|
|
|
|
| |
is undefined behavior on implementations where uinptr_t is 32-bits. One such platform is Windows, MSVC, x86.
llvm-svn: 247983
|
| |
|
|
|
|
|
|
| |
Reviewed By: vsk
Differential Revision: http://reviews.llvm.org/D12847
llvm-svn: 247982
|
| |
|
|
| |
llvm-svn: 247981
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The change was accidentally undone by r245290.
Original log message:
When calling DisplayGraph and a PS viewer is chosen, two programs are executed: The GraphViz generator and the PostScript viewer. Always wait for the generator to finish to ensure that the .ps file is written before opening the viewer for that file. DisplayGraph's wait parameter refers to whether to wait until the user closes the viewer.
This happened on Windows and if none of the options to open the .dot file directly applies, also on Linux.
Differential Revision: http://reviews.llvm.org/D11876
llvm-svn: 247980
|
| |
|
|
| |
llvm-svn: 247979
|
| |
|
|
|
|
|
|
|
|
|
| |
We shifted the MachineBasicBlocks to the end of the MachineFunction in
DFS order. This will not ensure that MachineBasicBlocks which fell
through to one another will remain contiguous. Instead, implement
a stable sort algorithm for iplist.
This partially reverts commit r214150.
llvm-svn: 247978
|
| |
|
|
|
|
| |
"non-clang-driver".
llvm-svn: 247977
|
| |
|
|
|
|
| |
Add parsing, sema analysis and codegen for 'if' clause in 'cancel' directive.
llvm-svn: 247976
|
| |
|
|
|
|
|
|
|
|
| |
Example:
typedef int __td3;
#pragma weak td3 = __td3
Differential Revision: http://reviews.llvm.org/D12904
llvm-svn: 247975
|
| |
|
|
|
|
|
| |
We can't apply two words of 32-bit mask in the small case
where the internal storage is just one 32-bit word.
llvm-svn: 247974
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When pexpect errors occurred, the <error>/<failure> element's
message attribute could get too long and contain
invalid characters for xml attributes, even when quoted.
Particularly for pexpect failures.
Now <error> and <failure> entries truncate the message
attribute to contain the first line of the message.
<error> and <failure> blocks now contain both the
complete message and the backtrace (finally!) in the
text body of the error/failure element.
llvm-svn: 247973
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
and 64-bit builds.
Extend mask value to 64 bits before taking its complement and assert when mask is
too large to apply in the small case (previously the extra words were silently ignored).
http://reviews.llvm.org/D11890
Patch by James Touton!
llvm-svn: 247972
|
| |
|
|
| |
llvm-svn: 247971
|
| |
|
|
|
|
|
| |
This currently does not change the behavior in Polly, but it allows us to later
also overwrite the EscapeMap with our GlobalMap.
llvm-svn: 247970
|
| |
|
|
| |
llvm-svn: 247969
|
| |
|
|
|
|
|
|
|
|
|
| |
SUMMARY:
Using response.IsUnsupportedResponse instead of !response.IsNormalResponse().
Reviewers: clayborg, labath
Subscribers: nitesh.jain, mohit.bhakkad, sagar, bhushan and lldb-commits
Differential Revision: http://reviews.llvm.org/D12876
llvm-svn: 247968
|
| |
|
|
|
|
|
|
| |
Use an enumeration and change the use of the FloatABI from a string to the
enumeration. This avoids the use of string values to represent an enumeration.
NFC.
llvm-svn: 247967
|
| |
|
|
| |
llvm-svn: 247966
|
| |
|
|
|
|
| |
This change makes equalsConstant a bit faster (193ms -> 163ms).
llvm-svn: 247965
|
| |
|
|
|
|
|
| |
This patch simplifies code by removing micro-optimization that doesn't
contribute to speed.
llvm-svn: 247964
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, ICF created a vector for each SectionChunk. The vector
contained pointers to successors, which are namely associative sections
and COMDAT relocation targets. The reason I created vectors is because
I thought that that would make section comparison faster.
It did make the comparison faster. When self-linking, for example, it
saved about 10 ms on each iteration. The time we spent on constructing
the vectors was 124 ms. If we iterate more than 12 times, return from
the investment exceeds the initial cost.
In reality, it usually needs 5 iterations. So we shouldn't construct
the vectors.
llvm-svn: 247963
|
| |
|
|
|
|
|
|
|
| |
The Jenkins JUnit publisher handled our output, but
the Jenkins xUnit plugin's JUnit support did not like
that we didn't have a <testsuites> element wrapping
everything. They both work with this fix.
llvm-svn: 247962
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
equalsConstants() is the heaviest function in ICF, and that consumes
more than half of total ICF execution time. Of which, section content
comparison accounts for roughly one third.
Previously, we compared section contents at the beginning of the
function after comparing their checksums. The comparison is very
likely to succeed because when the control reaches that comparison,
their checksums are always equal. And because checksums are 64-bit
CRC, they are unlikely to collide.
We compared relocations and associative sections after that.
If they are different, the time we spent on byte-by-byte comparison
of section contents were wasted.
This patch moves the comparison at the end of function. If the
comparison fails, the time we spent on relocation comparison are
wasted, but as I wrote it's very unlikely to happen.
LLD took 1198 ms to link itself to produce a 27.11 MB executable.
Of which, ICF accounted for 536 ms. This patch cuts it by 90 ms,
which is 17% speedup of ICF and 7.5% speedup overall. All numbers
are median of ten runs.
llvm-svn: 247961
|
| |
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D12944
llvm-svn: 247960
|