- Aug 09, 2019
-
-
Taewook Oh authored
llvm-svn: 368485
-
Diego Astiazaran authored
clang-doc now generates a file that contains only an index to all the infos that can be used as the landing page for the generated website. Differential Revision: https://reviews.llvm.org/D65918 llvm-svn: 368484
-
Taewook Oh authored
llvm-svn: 368483
-
Sam McCall authored
[clangd] Give absolute path to clang-tidy and include-fixer. HintPath should always be absolute, some URI schemes care. llvm-svn: 368482
-
Eric Christopher authored
Revert "[sanitizers] MSVC warning disable for clean build" and follow-up that tried to fix the build as it's still broken. This reverts commit 368476 and 368480. llvm-svn: 368481
-
Martin Storsjö authored
That revision broke compilation with this error: lib/builtins/fixunsxfdi.c:13:2: error: unterminated conditional directive #if !_ARCH_PPC llvm-svn: 368480
-
Craig Topper authored
We don't appear to need this with widening legalization. llvm-svn: 368479
-
Bill Wendling authored
Summary: A block address may be used in inline assembly. In which case it requires a name so that the asm parser has something to parse. Creating a name for every block address is a large hammer, but is necessary because at the point when a temp symbol is created we don't necessarily know if it's used in inline asm. This ensures that it exists regardless. Reviewers: nickdesaulniers, craig.topper Subscribers: nathanchance, javed.absar, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65352 llvm-svn: 368478
-
Bill Wendling authored
Summary: This patch keeps track of MCSymbols created for blocks that were referenced in inline asm. It prevents creating a new symbol which doesn't refer to the block. Inline asm may have a reference to a label. The asm parser however doesn't recognize it as a label and tries to create a new symbol. The result being that instead of the original symbol (e.g. ".Ltmp0") the parser replaces it in the inline asm with the new one (e.g. ".Ltmp00") without updating it in the symbol table. So the machine basic block retains the "old" symbol (".Ltmp0"), but the inline asm uses the new one (".Ltmp00"). Reviewers: nickdesaulniers, craig.topper Subscribers: nathanchance, javed.absar, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65304 llvm-svn: 368477
-
Matthew G McGovern authored
- https://reviews.llvm.org/D66023 llvm-svn: 368476
-
Reid Kleckner authored
This regressed in r368322, and was reported as PR42948 and on the mailing list. The fix is to ignore the specific error code for this case. The problem doesn't seem to reproduce on Windows, where a different error code is used instead. llvm-svn: 368475
-
Douglas Yung authored
Update test to explicity test with -fintegrated-as and -fno-integrated-as and to expect warnings when appropriate. Reviewed by: thakis Differential Revision: https://reviews.llvm.org/D65974 llvm-svn: 368474
-
Michael Pozulp authored
llvm-svn: 368473
-
Mitch Phillips authored
This reverts commit 52a36fae. This commit broke the sanitizer_android buildbot. See comments at https://reviews.llvm.org/rL368373 for more details. llvm-svn: 368472
-
Saleem Abdulrasool authored
CFStrings should be 8-byte aligned when built for the Swift CF runtime ABI as the atomic CF info field must be properly aligned. This is a problem on 32-bit platforms which would give the structure 4-byte alignment rather than 8-byte alignment. llvm-svn: 368471
-
Peter Collingbourne authored
llvm-svn: 368470
-
Peter Collingbourne authored
llvm-svn: 368469
-
Peter Collingbourne authored
llvm-svn: 368468
-
Peter Collingbourne authored
llvm-svn: 368467
-
Peter Collingbourne authored
llvm-svn: 368466
-
Jonas Hahnfeld authored
We have one global RTLs.RequiresFlags, I don't see a need to make a copy per device that the runtime manages. This was problematic anyway because the copy happened during the first __tgt_register_lib(). This made it impossible to call __tgt_register_requires() from normal user funtions for testing. Hence, this change also fixes unified_shared_memory/shared_update.c for older versions of Clang that don't call __tgt_register_requires() before __tgt_register_lib(). Differential Revision: https://reviews.llvm.org/D66019 llvm-svn: 368465
-
Michael Pozulp authored
Summary: Addresses https://bugs.llvm.org/show_bug.cgi?id=42383 Reviewers: jhenderson, alexshap, rupprecht Reviewed By: jhenderson Subscribers: wolfgangp, jakehehrlich, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D65384 llvm-svn: 368464
-
Gabor Horvath authored
This reverts r368454 (git commit 7c3c8ba8) llvm-svn: 368463
-
Gabor Horvath authored
This reverts r368459 (git commit 2bf522ae) llvm-svn: 368462
-
Max Moroz authored
Summary: The purpose is to be able to extract the number of new edges added to the original (i.e. output) corpus directory after doing the merge. Use case example: in ClusterFuzz, we do merge after every fuzzing session, to avoid uploading too many corpus files, and we also record coverage stats at that point. Having a separate line indicating stats after reading the initial output corpus directory would make the stats extraction easier for both humans and parsing scripts. Context: https://github.com/google/clusterfuzz/issues/802. Reviewers: morehouse, hctim Reviewed By: hctim Subscribers: delcypher, #sanitizers, llvm-commits, kcc Tags: #llvm, #sanitizers Differential Revision: https://reviews.llvm.org/D66020 llvm-svn: 368461
-
Diego Astiazaran authored
Two command line options have been added to clang-doc. --repository=<string> - URL of repository that hosts code; used for links to definition locations. --source-root=<string> - Directory where processed files are stored. Links to definition locations will only be generated if the file is in this dir. If the file is in the source-root and a repository options is passed; a link to the source code will be rendered by the HTML generator. Differential Revision: https://reviews.llvm.org/D65483 llvm-svn: 368460
-
Gabor Horvath authored
llvm-svn: 368459
-
Daniel Sanders authored
Summary: The problem: When an operand had bits explicitly set to "1" (as in the InitValue.td test case attached), the decoder was ignoring those bits, and the DecoderMethod was receiving an input where the bits were still zero. The solution: We added an "InitValue" variable that stores the initial value of the operand based on what bits were explicitly initialized to 1 in TableGen code. The generated decoder code then uses that initial value to initialize the "tmp" variable, then calls fieldFromInstruction to read the values for the remaining bits that were left unknown in TableGen. This is mainly useful when there are variations of an instruction that differ based on what bits are set in the operands, since this change makes it possible to access those bits in a DecoderMethod. The DecoderMethod can use those bits to know how to handle the input. Patch by Nicolas Guillemot Reviewers: craig.topper, dsanders, fhahn Reviewed By: dsanders Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D63741 llvm-svn: 368458
-
Evandro Menezes authored
Refactor `LibCallSimplifier::optimizeExp2()` to use the new `emitBinaryFloatFnCall()` version that fetches the function name from TLI. llvm-svn: 368457
-
Sam McCall authored
llvm-svn: 368455
-
Gabor Horvath authored
Differential Revision: https://reviews.llvm.org/D65127 llvm-svn: 368454
-
Evandro Menezes authored
Add the counterpart to a similar function for single operands. Differential revision: https://reviews.llvm.org/D65976 llvm-svn: 368453
-
Evandro Menezes authored
llvm-svn: 368452
-
Sunil Srivastava authored
For type values that do not have proper names, print reasonable representation in llvm-nm, llvm-readobj and llvm-readelf, matching GNU tools.s Fixes PR41713. Differential Revision: https://reviews.llvm.org/D65537 llvm-svn: 368451
-
Whitney Tsang authored
Summary: Make LIT tests unsensitive to analysis output order. Authored By: etiotto llvm-svn: 368450
-
Evandro Menezes authored
Rename `hasUnaryFloatFn()` to `hasFloatFn()` and `getUnaryFloatFn()` to `getFloatFnName()`. llvm-svn: 368449
-
Max Moroz authored
Reviewers: Dor1s Reviewed By: Dor1s Subscribers: dberris, delcypher, #sanitizers, llvm-commits Tags: #llvm, #sanitizers Differential Revision: https://reviews.llvm.org/D66017 llvm-svn: 368448
-
David Bolvansky authored
llvm-svn: 368447
-
Gabor Horvath authored
Differential Revision: https://reviews.llvm.org/D65120 llvm-svn: 368446
-
Sanjay Patel authored
llvm-svn: 368445
-