- Apr 19, 2017
-
-
Xin Tong authored
Summary: VersionPrinter by default outputs information about the Host CPU and Default target. Printing this information requires linking in a large amount of data, such as supported target triples as C strings, which in turn bloats the binary size. Enable a new CMake option LLVM_VERSION_PRINTER_SHOW_HOST_TARGET_INFO which controls printing of the host and target info. This allows the target triple names to be dead-code stripped. This is a nice win for LLVM clients that wish to minimize their binary size, such as graphics drivers. By default this is ON, so there is no change in the default behavior. Clients who wish to suppress this printing can do so by setting this option to off via CMake. A test app on Linux that uses ParseCommandLineOptions() shows a binary size reduction of 23KB (from 149K to 126K) for a Release build, and 24KB (from 135K to 111K) in a MinSizeRel build. Reviewers: klimek, beanz, bogner, chandlerc, compnerd Reviewed By: compnerd Patch by pammon (Peter Ammon) ! Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D30904 llvm-svn: 300630
-
Dylan McKay authored
'PointerSize' was renamed to 'CodePointerSize'. llvm-svn: 300629
-
Reid Kleckner authored
llvm-svn: 300628
-
Eric Fiselier authored
llvm-svn: 300627
-
Eric Fiselier authored
llvm-svn: 300626
-
Eric Fiselier authored
llvm-svn: 300625
-
Dean Michael Berris authored
Summary: This allows us to, if the symbol names are available in the binary, be able to provide the function name in the YAML output. Reviewers: dblaikie, pelikan Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32153 llvm-svn: 300624
-
Eric Fiselier authored
llvm-svn: 300623
-
Eric Fiselier authored
llvm-svn: 300622
-
Craig Topper authored
We were creating an APInt at the top of these methods that isn't always returned. For ranges wider than 64-bits this results in an allocation and deallocation when its not used. In getSignedMax we were creating Upper-1 to use in a compare and then creating it again for a return value. The compiler is unable to determine that these can be shared. So help it out and create the Upper-1 in a temporary that can be reused. This provides a little compile time improvement. llvm-svn: 300621
-
Eric Fiselier authored
This completes the cleanup of the containers, at least within the tests. llvm-svn: 300620
-
Eric Fiselier authored
llvm-svn: 300619
-
Chris Bieneman authored
This is needed to make the Xcode project build since it doesn't have auto-generated Config header. llvm-svn: 300618
-
Sanjay Patel authored
llvm-svn: 300617
-
Bob Haarman authored
llvm-svn: 300616
-
Chris Bieneman authored
This is a little more cleanup from r300579. llvm-svn: 300615
-
Reid Kleckner authored
llvm-svn: 300614
-
Sanjoy Das authored
I will use this in a later change. llvm-svn: 300613
-
Bob Haarman authored
Summary: Fixes PR32689: /msvclto creates response files with lines that are too long for msvc's linker (LNK1170). Reviewers: hans, rnk, ruiu Subscribers: llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D32185 llvm-svn: 300612
-
- Apr 18, 2017
-
-
Richard Smith authored
The driver needs to know whether it's building a module interface or implementation unit because it affects which outputs it produces and how it builds the command pipeline. But the frontend doesn't need to know and should not care: all it needs to know is what action it is being asked to perform on the input. (This is in preparation for permitting -emit-obj to be used on a module interface unit to produce object code without going via a "full" PCM file.) llvm-svn: 300611
-
Chris Bieneman authored
timespec is not available on Windows, and we should use size_t instead of nfds_t. llvm-svn: 300610
-
Richard Smith authored
Do not warn about whitespace between ??/ trigraph and newline in line comments if trigraphs are disabled in the current language. llvm-svn: 300609
-
Craig Topper authored
BasicAA wants to know if a function is either a malloc or calloc like function. Currently we have to check both separately. This means both calls check if its an intrinsic, query TLI, check the nobuiltin attribute, scan the AllocationFnData, etc. This patch adds a isMallocOrCallocLikeFn so we can go through all of the checks once per call. This also changes the one other location I saw that called both together. Differential Revision: https://reviews.llvm.org/D32188 llvm-svn: 300608
-
Davide Italiano authored
llvm-svn: 300607
-
Chris Bieneman authored
This is fallout from r300579. llvm-svn: 300606
-
Chris Bieneman authored
This is causing the Windows bot failures. llvm-svn: 300605
-
Eric Fiselier authored
llvm-svn: 300604
-
Matt Arsenault authored
llvm-svn: 300603
-
Eric Fiselier authored
llvm-svn: 300602
-
Evgeniy Stepanov authored
llvm-svn: 300601
-
Eric Fiselier authored
llvm-svn: 300600
-
Francis Ricci authored
Reviewers: kubamracek, alekseyshl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32165 llvm-svn: 300599
-
Francis Ricci authored
Reviewers: kubamracek, alekseyshl Subscribers: llvm-commits, arichardson Differential Revision: https://reviews.llvm.org/D32183 llvm-svn: 300598
-
Matt Arsenault authored
llvm-svn: 300597
-
Matt Arsenault authored
llvm-svn: 300596
-
Eric Fiselier authored
llvm-svn: 300595
-
Vassil Vassilev authored
Patch by Yuka Takahashi (D32119)! llvm-svn: 300594
-
Francis Ricci authored
Summary: This option is disabled by our other test suites, and will cause failures when unit tests abort instead of failing with an error code. Will also prevent the test suite from being too slow. Reviewers: kubamracek, alekseyshl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32129 llvm-svn: 300593
-
Francis Ricci authored
Reviewers: kubamracek, alekseyshl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32131 llvm-svn: 300592
-
Alex Lorenz authored
UBSAN 'invalid value' failures The commit r300556 introduced a UBSAN issue that was caught by http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap. The DenseMap failed to create an empty/tombstone value as the empty/tombstone values for the SubjectMatchRule enum were not valid enum constants. llvm-svn: 300591
-