AbortedChanges

Summary

  1. MemTag: stack initializer merging. (details)
  2. Recommit "[llvm-objcopy][MachO] Support load commands used in (details)
  3. Fixed placement of llvm.global_dtors on Windows. (details)
  4. Refactor isPointerOffset (NFC). (details)
  5. Recommit "[llvm-objcopy][MachO] Implement a layout algorithm for (details)
  6. Recommit "[Attributor] Fix: Do not partially resolve returned calls." (details)
  7. Fix use-after-free (details)
  8. [CaptureTracker] Let subclasses provide dereferenceability information (details)
  9. [ORC] fix use-after-free detected by -Wreturn-stack-address (details)
  10. Windows: Include "windows" Instead of "Windows" (details)
  11. [Support][Time profiler] Make FE codegen blocks to be inside frontend (details)
  12. [lit] Check for accidental external command calls (details)
  13. [cmake] Link in LLVMPasses due to dependency by LLVMOrcJIT; NFC (details)
  14. [sanitizer_common] Extend test after switch to posix_spawn (details)
  15. Provide a meaningful diagnostic when LLVM_PATH doesn't point to a (details)
  16. [lldb] Fix typo on the BreakpointLocation header and the lldbtest.py (details)
  17. [TSan] Rename file with libdispatch interceptors (details)
  18. [SLP][NFC] Avoid repetitive calls to getSameOpcode() (details)
  19. Fix typo.  "piont" => "point" (details)
  20. [WebAssembly][MC] Simplify WasmObjectWriter::recordRelocation. NFC. (details)
  21. [WebAssembly][MC] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off (details)
  22. [analyzer] NFC: Drop support for extra text attached to bug reports. (details)
  23. [analyzer] NFC: Rename GRBugReporter to PathSensitiveBugReporter. (details)
  24. [CallGraph] Take into accound calls that aren't within any function (details)
  25. MCAsmMacro: add `#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)` to (details)
  26. [AsmPrinter] Remove const qualifier from EmitBasicBlockStart. (details)
  27. [NFC] Test commit, fix some comment spelling. (details)
  28. [Attributor] Fix the "clamp" operator (details)
  29. [Attributor] Use structured deduction for AANonNull (details)
  30. [Attributor] Use structured deduction for AADereferenceable (details)
  31. [Attributor][NFC] Cleanup statistics code (details)
  32. [Attributor] Create abstract attributes on-demand (details)
  33. [X86] Add back the -x86-experimental-vector-widening-legalization comand (details)
  34. [Attributor] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off (details)
  35. [compiler-rt][crt] Pass -fno-lto in check_cxx_section_exists (details)
  36. [MC] Delete an overload of MCExpr::evaluateKnownAbsolute and its (details)
  37. [test/Object] - Move/rewrite 2 more test cases. (details)
  38. [ELF][PPC] Allow PT_LOAD to have overlapping p_offset ranges (details)
  39. [ELF][AArch64] Allow PT_LOAD to have overlapping p_offset ranges (details)
  40. Rudimentary support for Doxygen \retval command (details)
  41. [llvm-objcopy][MachO] Fix method names. NFC. (details)
  42. [ELF][X86] Allow PT_LOAD to have overlapping p_offset ranges on EM_386 (details)
  43. [yaml2obj/obj2yaml][MachO] Allow setting custom section data (details)
  44. [clangd] Skip function bodies inside processed files while indexing (details)
  45. [ELF][PPC] Allow PT_LOAD to have overlapping p_offset ranges on EM_PPC (details)
  46. [lldb] D66174 `RegularExpression` cleanup (details)
  47. [lldb][NFC] Test quotes when completing (details)
  48. [DWARF] Fix DWARFUnit::getDebugInfoSize() for 64-bit DWARF. (details)
  49. [COFF] Allow using custom .edata from input object files (details)
  50. [yaml2obj/obj2yaml][MachO] Fix a test failure in big endian hosts (details)
  51. [COFF] Require an explicit -implib option for creating implibs in mingw (details)
  52. [libcxx] Fix build breakage on mips (details)
  53. [X86][Btver2] Fix latency and throughput of CMPXCHG instructions. (details)
  54. Fix MSVC "result of 32-bit shift implicitly converted to 64 bits" (details)
  55. [MCA][X86] Add tests for LOCK variants of standard X86 arithmetic ops (details)
  56. [CMake] Update C4324 MSVC warning comment to explain its still broken at (details)
  57. Recommit "MemoryBuffer: Add a missing error-check to getOpenFileImpl" (details)
  58. [cmake] Remove the test for libstdc++<4.9 (details)
  59. [OpenCL] Add const, volatile and pointer builtin handling (details)
  60. unittests: Use yaml2obj as a library instead of an external process (details)
  61. [RISCV] Implement getExprForFDESymbol to ensure RISCV_32_PCREL is used (details)
  62. [InstCombine] add tests for min/max with min/max of same operands; NFC (details)
  63. [llvm-readobj] Prepend argv[0] to error/warning messages (details)
  64. [DWARF] Fix reading 64-bit DWARF type units. (details)
  65. Convert minidump unittests to use llvm::yaml::convertYAML (details)
  66. Removed the 'id' AST matcher, which is superseded by '.bind()' (details)
  67. Fix build for r369374 (details)
  68. [llvm-objdump] - Remove one of `report_error` functions and improve the (details)
  69. Regex: +regex string lifetime comment (details)
  70. [X86][FMA] Add FMA 'negated expression' combine tests for D63141 (details)
  71. [Syntax] Added function to get macro expansion tokens to TokenBuffer. (details)
  72. [InstCombine] simplify min/max of min/max with same operands (PR35607) (details)
  73. [clangd] Fix one testcase in XRefsTests. (details)
  74. [X86][BtVer2] Fix latency and throughput of atomic INC/DEC/NEG/NOT. (details)
  75. [BlockExtractor] Avoid assert with wrong line format (details)
  76. [InstCombine] improve readability for icmp with cast folds; NFC (details)
  77. [llvm-objcopy] Append '\n' to warning messages (details)
  78. [llvm-objcopy][test] Add a test to show that argv[0] is included in (details)
  79. [libc++] Explicitly cast in generate_canonical (details)
  80. [libc++] std::abs should not return double (details)
  81.     [CodeGen] Add a pass to do block predication on SSA machine IR. (details)
  82. Regex: Add isValid() with no parameter (details)
  83. [clang] Use the new Regex::isValid() with no parameter (details)
  84. [lldb] Use the new Regex::isValid() with no parameter (details)
  85. Fix availability of __thread_id on builds with external threading. (details)
  86. [scudo][standalone] Fix malloc_iterate (details)
  87. gn build: Merge r369298 (details)
  88. win: Enable /Zc:twoPhase by default if targeting MSVC 2017 update 3 or (details)
  89. [GlobalISel] Handle multiple registers in dbg.value intrinsic (details)
  90. [ARM] Select vaddva (details)
  91. [CodeGen] Add EarlyIfConvert test missed in previous commit (details)
  92. [libc++] Populate a lit feature including the compiler patch level (details)
  93. Make the FindTypes(std::vector<CompilerContext>, ...) API testable in (details)
  94. [LifetimeAnalysis] Add support for free functions (details)
  95. [libc++] Disable <chrono> ""d and ""y literal tests on AppleClang 10.0.0 (details)
  96. [X86] Use isNullConstant instead of getConstantOperandVal == 0. NFC (details)
  97. [InstCombine] make fold for icmp with sext more efficient; NFC (details)
  98. [X86][BtVer2] Use ReadAfterLd entries for the register operands of (details)
  99. [libc++] fix test for unsigned char (details)
  100. [Attr] Support _attribute__ ((fallthrough)) (details)
  101. bump lld version used by buildbots (details)
  102. Revert "AMDGPU: Fix iterator error when lowering SI_END_CF" (details)
  103. Fix name of the error message, NFC. (details)
  104. Fix typo in comment. NFCI. (details)
  105. [libc++] Precise XFAIL for AppleClang 11 (details)
  106. [InstCombine] add helper function for icmp+zext/sext; NFC (details)
  107. [libc++] Implement LWG 3199 (details)
  108. [WebAssembly][lld] Fix crash when applying relocations to debug sections (details)
  109. [ClangExpressionParser] Add ClangDeclVendor (details)
  110. [COFF] Print the file name on errors writing the pdb file (details)
  111. [TargetMachine] Don't try to create COFFSTUB references on windows on (details)
  112. [Sema][Typo] Fix assertion failure for expressions with multiple typos (details)
  113. fix buildbot start script to no longer hang (details)
  114. [libc++] Avoid implicit conversion warning in a <random> test (details)
  115. Force honoring nthreads-var and thread-limit-var inside teams construct (details)
  116. [X86] Add isel patterns for (i64 (zext (i8 (bitcast (v16i1 X))))) to use (details)
  117. [OPENMP]Fix delayed diagnostics for standalone declare target directive. (details)
  118. [GWP-ASan] Fix typos. (details)
  119. [X86] Add a DAG combine to transform (i8 (bitcast (v8i1 (details)
  120. [CMake] Remove LLDB_TEST_USE_CUSTOM_C(XX)_COMPILER (details)
  121. [Symbol][NFC] Remove references to clang in TypeMap (details)
  122. [libc++] Fix std::abs tests (details)
  123. [llvm-extract] Update the help message for group extraction feature (details)
  124. [InstCombine] add tests for mismatched cast ops for icmp; NFC (details)
  125. [AutoFDO] Make call targets order deterministic for sample profile (details)
  126. [AArch64] Speed-up leak and address sanitizers on AArch64 for 48-bit VMA (details)
  127. [NewPM] Run ubsan-coroutines test under the legacy pass manager only (details)
  128. [test] Fix tests when run on windows after SVN r369426. NFC. (details)
  129. [Attributor] Remove unused variable. NFC. (details)
  130. [COFF] Check errorCount before committing the output file (details)
  131. [InstCombine] add more extra use tests for icmp with extends; NFC (details)
  132. Fix a couple of unguarded operator, calls in algorithm. Fixes PR#43063. (details)
  133. [analyzer] Improve VirtualCallChecker and enable parts of it by default. (details)
  134. [analyzer] Fix a crash when destroying a non-region. (details)
  135. [analyzer] NFC: Remove the BugTypes set from BugReporter. (details)
  136. [NFC] Update RegularExpression documentation (details)
  137. [LLDB][Test] Remove `skipIfWindows` for conditional breakpoint test (details)
  138. Adds support for writing the .bss section for XCOFF object files. (details)
  139. Teach GlobalISelEmitter to treat used iPTRAny operands as pointer (details)
  140. [Symbol] Move VerifyDecl to ClangASTContext (details)
  141. Revert [WinEH] Allocate space in funclets stack to save XMM CSRs (details)
  142. [DebugInfo] Add debug location to dynamic atexit destructor (details)
  143. [DAGCombiner][X86] Teach visitCONCAT_VECTORS to combine (concat_vectors (details)
  144. [AArch64][GlobalISel] Select patterns which use shifted register (details)
  145. [NFC] Fix -Wdocumentation warnings in Utility. (details)
  146. Remove assert with tautological compare from XCOFFObjectWriter. (details)
  147. Add a missing _VSTD:: before a call to merge. Fixes PR43034. Checked the (details)
  148. [MemorySSA] Fix existing phis when inserting defs. (details)
  149. [AArch64][GlobalISel] Select logical_imm32 and logical_imm64 patterns (details)
  150. [MemorySSA] Make Phi cleanups consistent. (details)
  151. [RISCV GlobalISel] Adding initial GlobalISel infrastructure (details)
  152. [Sanitizer] Remove unused functions (details)
  153. [X86] Autogenerate vec_* tests. NFC (details)
  154. [Attributor] Liveness for internal functions. (details)
  155. Fix assert in XCOFFObjectWriter related to program code csects. (details)
  156. [AArch64][asan] fix typo in AsanStats::Print (details)
  157. Add TinyPtrVector support for general pointer-like things. (details)
  158. Add triple to new test to try to pacify bots (details)
  159. [X86] Automatically generate shift tests. NFC (details)
  160. gn build: Merge r369467 (details)
  161. [dotest] Don't set the DWARF version override in CFLAGS_EXTRA. (details)
  162. Remove llvm/utils/git/find-rev (details)
  163. [Doxygen] Document private class members. (details)
  164. [AArch64][GlobalISel] Add support for narrowScalar of G_ZEXT (details)
  165. libcxx: Rename .hpp files in libcxx/test/support to .h (details)
  166. Attempt to fix MSAN failures in benchmarks (details)
  167. Fix missing __muloti4 function with UBSAN (details)
  168. Update a few tests that may change the platform to save & restore the (details)
  169. [NFC] Remove lldb_utility namespace. (details)
  170. Autogenerate the shebang lines for tools/opt-viewer (details)
  171. libcxx: Rename .hpp files in libcxx/benchmarks to .h (details)
  172. [ELF] More dynamic relocation packing (details)
  173. [ELF][test] Add CHECK lines omitted in r369488 (details)
  174. Fix 'fall through' annotation (details)
  175. [NFC] Simplify code (details)
  176. [NFC] Remove unused function GetHexWithFixedSize (details)
  177. [NFC] Return llvm::StringRef from StringExtractor::GetStringRef. (details)
  178. [Symbol] Remove unused clang headers from Type (details)
  179. Revert r369472 and r369441 (details)
  180. [PPC Docs] Remove duplicate info about __builtin_setrnd() (details)
  181. Revert D65242 "[ELF] More dynamic relocation packing" (details)
  182. [NFC] Mark CallTargetComparator() as const to fix libc++ warnings (details)
  183. Be explicit about Windows coff name trailing character policy (details)
  184. Properly EXCLUDE_FROM_ALL the testing support library (details)
  185. Fix an unused variable warning in ClangASTContext.cpp (details)
  186. Removed some dead code in BugReporter and related files (details)
  187. [AArch64] Update MTE system register encodings (details)
  188. [lldb][NFC] Add tests for invalid command invocations (details)
  189. Reland D65242 "[ELF] More dynamic relocation packing"" (details)
  190. [DebugInfo] Avoid dropping location info across block boundaries (details)
  191. [MIPS GlobalISel] NarrowScalar G_TRUNC (details)
  192. [MIPS GlobalISel] Consider type1 when legalizing shifts after r351882 (details)
  193. [MIPS GlobalISel] NarrowScalar G_ZEXT and G_SEXT (details)
  194. [MIPS GlobalISel] NarrowScalar G_ZEXTLOAD and G_SEXTLOAD (details)
  195. [lldb][NFC] Add tests for register command (details)
  196. [clangd] Ignore implicit conversion-operator nodes in find refs. (details)
  197. [llvm-objdump] - Cleanup the error reporting. (details)
  198. [LLD][ELF] - Simplify the bad-archive.s test case. (details)
  199. MinidumpYAML: move serialization code to MinidumpEmitter.cpp (details)
  200. [gtest] Fix printing of StringRef and SmallString in assert messages. (details)
  201. [InstCombine] narrow icmp with extended operands of different widths (details)
  202. [DAGCombiner] Various nits. NFC (details)
  203. [lldb] Add tests for setting completions and enable 'settings remove' (details)
  204. Fix two compiler warnings (details)
  205. Recommit "Minidump/Windows: Fix module lookup"" (details)
  206. [lldb] Add tests for 'settings remove' and fix error message typos (details)
  207. Revert "[gtest] Fix printing of StringRef and SmallString in assert (details)
  208. Add 9.0 release bug to merge request script (details)
  209. reland [gtest] Fix printing of StringRef and SmallString in assert (details)
  210. [RISCV] Add support for RVC HINT instructions (details)
  211. [DWARF] Adjust return type of DWARFUnit::getLength(). (details)
  212. [lldb][NFC] Merge multiple TestApropos.py (details)
  213. [LLVM][Alignment] Introduce Alignment In MachineFrameInfo (details)
  214. [AMDGPU] Prevent VGPR copies from moving across the EXEC mask (details)
  215. Improving CodeView debug info type record's inline comments (details)
  216. compiler-rt: Fix warning if COMPILER_RT_HAS_FCNTL_LCK is 0 (details)
  217. [ELF][ARM] Simplify some llvm-objdump tests with both ARM/Thumb states (details)
  218. clang: Fix typo in comment (details)
  219. [libcxx] Only declare contents of threading API when (details)
  220. git-llvm: Give "push" a --force flag to disable confirm prompt on (details)
  221. clang: Fix typo in comment (details)
  222. clang: Fix typo in comment (details)
  223. [instcombine] icmp eq/ne (sub C, Y), C -> icmp eq/ne Y, 0 (details)
  224. clang: Fix typo in comment (details)
  225. [Sanitizer] Disable -Wframe-larger-than on SystemZ (details)
  226. git-llvm: Make push --force suppress error on nothing to commit as well (details)
  227. [ARM] Formatting for ARMInstrMVE.td. NFC (details)
  228. Add a couple of extra test noticed in post-commit discussion of rL369541 (details)
  229. GlobalISel: Implement moreElementsVector for G_UNMERGE_VALUES sources (details)
  230. [LoopPassManager + MemorySSA] Only enable use of MemorySSA for LPMs (details)
  231. Fix -Wimplicit-fallthrough warnings in regcomp.c (details)
  232. [LTO] Always mark regular LTO units with EnableSplitLTOUnit=1 under the (details)
  233. [GWP-ASan] Build stack_trace_compressor_fuzzer. (details)
  234. [GWP-ASan] Add public-facing documentation [6]. (details)
  235. [docs] Convert remaining command guide entries from md to rst. (details)
  236. Add newline to GWP-ASan sphinx document. Should fix the document (details)
  237. Generalize FindTypes with CompilerContext to support fuzzy lookup (details)
  238. [docs] Fix GwpAsan.rst (details)
  239. [BitcodeReader] Check if we can create a null constant for type. (details)
  240. [lld-link] implement -lto-obj-path (details)
  241. [docs] Add GwpAsan to toctree. (details)
  242. [DAGCombiner] Remove mostly redundant calls to AddToWorklist (details)
  243. [mips] Remove duplicated case from the `StringSwitch`. NFC (details)
  244. [mips] Replace call `expandLoadAddress` by `loadAndAddSymbolAddress`. (details)
  245. [TableGen] Include ValueTypes.td directly into the intrinsic-varargs.td (details)
  246. [MVT] Add v16f16 and v32f16 vectors. (details)
  247. [WebAssembly] Handle aliases in WebAssemblyFixFunctionBitcasts (details)
  248. Revert r367389 (and follow-up r368404); it caused PR43073. (details)
  249. [clang-tidy] Check for dynamically initialized statics in headers. (details)
  250. Revert r369549 as it broke the bots. (details)
  251. [GVN] Do PHI translations across all edges between the load and the (details)
  252. gn build: Make sync script not exit 1 if it writes changes (details)
  253. gn build: Merge r369568 (details)
  254. Fix -Werror=unused-variable error after r369528. (details)
  255. [analyzer] Mention whether an event is about a condition in a bug report (details)
  256. [Attributor] Use existing unreachable instead of introducing new ones (details)
  257. [Attributor][NFC] Remove leftover semicolon (details)
  258. [Attributor][NFC] Fix copy & paste error (details)
  259. Fix documentation build after rL369568 (details)
  260. [BinaryFormat] Teach identify_magic about Tapi files. (details)
  261. [RISCV] Fix use of side-effects in asserts in decoder functions (details)
  262. Use C++14 heteregenous lookup for a couple of std::map<std::string, ...> (details)
  263. Add char8_t support (C++20) (details)
  264. [analyzer][NFC] Add different interestingness kinds (details)
  265. When building file without debug info, include the architecture setting (details)
  266. NFCI: Simplify SourceManager::translateFile by removing code path that (details)
  267. [Attributor][NFCI] Introduce tight iteration bounds in the tests (details)
  268. Add FileWriter to GSYM and encode/decode functions to AddressRange and (details)
  269. [Attributor] Fix: Gracefully handle non-instruction users (details)
  270. [analyzer] Don't make ConditionBRVisitor events prunable when the (details)
  271. [RISCV] Remove fix introduced by r369573, superseded by r369580 (details)
  272. [LifetimeAnalysis] Support more STL idioms (template forward declaration (details)
  273. [Attributor] FIX: Try to make bots happy (details)
  274. gn build: Merge r369587 (details)
  275. gn build: Merge r369591 (details)
  276. [test] Update test so it matches the Windows output (details)
  277. [analyzer] Mention whether an event is about a condition in a bug report (details)
  278. libcxx: Rename last two .hpp files in libcxx to .h (details)
  279. [X86] Replace a couple hardcoded '5's with X86::AddrNumOperands for (details)
  280. [X86] Correct the scheduler classes for TAILJMP and TCRETURN CodeGenOnly (details)
  281. [Object] Add tapi files to object (details)
  282. [TSan] #include header instead of forward declaring interceptees (details)
  283. [Object] FIX: update PlatformKind name in TapiFile (details)
  284. gn build: Merge r369600 (details)
  285. [analyzer] TrackConstraintBRVisitor: Do not track unknown values (details)
  286. [analyzer] CastValueChecker: Store the dynamic types and casts (details)
  287. [GWP-ASan] Remove c++ standard lib dependency. (details)
  288. [analyzer] CastValueChecker: Rewrite dead header hotfix (details)
  289. gn build: Merge r369605 (details)
  290. [analyzer] CastValueChecker: Try to fix the buildbots (details)
  291. [COFF] Fix section name for constants larger than 64 bits on Windows (details)
  292. The g_format_infos table needs to be updated in concert with the enum (details)
  293. [X86] Making X86OptimizeLEAs pass public. NFC (details)
  294. [analyzer] Don't track the condition of foreach loops (details)
  295. [FormatManager] Add static_assert to keep formats in sync. (details)
  296. [analyzer] CastValueChecker: Model isa(), isa_and_nonnull() (details)
  297. [analyzer] Enable control dependency condition tracking by default (details)
  298. [FormatManage] Fix the format info order (details)
  299. [lldb] Replace std::once_flag with llvm::once_flag. (details)
  300. [OpenMP] Permit map with DSA on combined directive (details)
  301. [lit] Diagnose insufficient args to internal env (details)
  302. [debugserver] Switch back to std::once_flag (details)
  303. [TargetLowering] Remove optional arguments passing to makeLibCall (details)
  304. Revert "[GWP-ASan] Remove c++ standard lib dependency." (details)
  305. [lldb][NFC] Remove WordComplete mode, make result array indexed from 0 (details)
  306. [lldb][NFC] Remove dead code that is supposed to handle invalid command (details)
  307. [ARM] Fix lsrl with a 128/256 bit shift amount or a shift of 32 (details)
  308. [Support] Improve readNativeFile(Slice) interface (details)
  309. [X86] Lower the cost of v2i32->v2f64 sint_to_fp under vector widening (details)
  310. Remove an unused function, suppress -Wunused-function warning. (details)
  311. [llvm-readobj] - Remove `reportError(std::error_code EC, StringRef (details)
  312. [clangd] The ClangdServer::EnableHiddenFeatures is not used any more. (details)
  313. [lldb][NFC] NFC cleanup for the completion code (details)
  314. Revert r369458 "[DebugInfo] Add debug location to dynamic atexit (details)
  315. [llvm-objdump] - Remove an outdated "FIXME". NFC. (details)
  316. [lldb][NFC] Remove unused return value from (details)
  317. Revert r369626 "[ARM] Fix lsrl with a 128/256 bit shift amount or a (details)
  318. [Loop Peeling] Fix silly bug in metadata update. (details)
  319. Reapply: [ARM] Fix lsrl with a 128/256 bit shift amount or a shift of 32 (details)
  320. [MVT] Add MVT equivalent to EVT::getHalfNumVectorElementsVT() helper. (details)
  321. [OpenCL] Fix declaration of enqueue_marker (details)
  322. [X86][BtVer2] Fix latency and throughput of XCHG and XADD. (details)
  323. Remove \brief commands from doxygen comments. (details)
  324. Fix some regressions caused by r369553 on old versions of Debian and (details)
  325. [yaml2obj] - Lookup relocation symbols in dynamic symbol when .dynsym (details)
  326. [lldb][NFC] Add test for target stop-hook disable/enable/delete (details)
  327. Revert r369402 "win: Enable /Zc:twoPhase by default if targeting MSVC (details)
  328. [MCA] consistently use MCPhysReg instead of unsigned as register type. (details)
  329. [SlotIndexes] Add print-slotindexes to disable printing slotindexes (details)
  330. [lldb][NFC] Fix indentation in CommandObjectProcess (details)
  331. [Attributor][NFC] Move DerefState to header and use StateWrapper (details)
  332. [lldb] Fix `TestDataFormatterStdList` regression (details)
  333. [clangd] Send suppported codeActionKinds to the client. (details)
  334. [PowerPC][XCOFF][MC] Explicitly set containing csect on symbols. [NFC] (details)
  335. [PowerPC] Add combined ELF ABI and 32/64 bit queries to the subtarget. (details)
  336. [PowerPC] Regenerate reciprocal tests, as discussed on D66548 (details)
  337. [lldb] Remove ')' to fix the build (details)
  338. [X86][BtVer2] Fix latency/throughput of scalar integer MUL instructions. (details)
  339. [DAGCombiner] Remove explicit call to AddToWorklist in sqrt and (details)
  340. [MBP] Disable aggressive loop rotate in plain mode (details)
  341. [X86] Remove MCInstLower code that drops operands from some CALL and (details)
  342. Fixed Missing Expected error handling (details)
  343. [NFC][InstCombine] New tests: unrecognized_three-way-comparison.ll is (details)
  344. [OPENMP]Generalization of handling of declare target attribute. (details)
  345. Doxygenify comments. (details)
  346. Remove redundant curly braces. (details)
  347. [MachO][TLOF] Use hasLocalLinkage to determine if indirect symbol is (details)
  348. [libc++] Mark lock_guard nodiscard test as unsupported in C++03 (details)
  349. GlobalISel: Don't create G_UADDE with constant false carry in (details)
  350. Retire llvm::less/equal in favor of C++14 std::less<>/equal_to<>. (details)
  351. Retire llvm::less_ptr. llvm::deref is much more flexible. (details)
  352. [Clangd] Tweaktesting replace toString with consumeError (details)
  353. Revert "[LifetimeAnalysis] Support more STL idioms (template forward (details)
  354. gn build: Merge r369677 (details)
  355. [clangd] Fold string copy into lambda capture. NFC. (details)
  356. Introduce FileEntryRef and use it when handling includes to report (details)
  357. gn build: Merge r369680 (details)
  358. Implement nullPointerConstant() using a better API. (details)
  359. [heap.py] Add missing declaration for malloc_get_all_zones (details)
  360. [AArch64] autogenerate some tests. NFC (details)
  361. Fix the nullPointerConstant() test to get bots back to green. (details)
  362. Improve the documentation for OpenCL vector types. (details)
  363. Disable the ScanDepsReuseFilemanager test on Windows (details)
  364. [llvm-objcopy][NFC] Refactor symbol/section matching (details)
  365. Extend FindTypes with CompilerContext to allow filtering by language. (details)
  366. Add missing include (details)
  367. Add missing include (details)
  368. [libc++] Fix broken <random> test (details)
  369. [COFF] Add libcall symbols to the link when LTO is being used (details)
  370. Fight a bit against global initializers. NFC. (details)
  371. [NFC][InstCombine] New tests: unrecognized_three-way-comparison.ll is (details)
  372. IR. Change strip* family of functions to not look through aliases. (details)
  373. Rename lldb/source/Interpreter/OptionValueFileSpecLIst.cpp to       (details)
Commit 50affbe47fc97f9514ef32d657b36b54285da214 by eugeni.stepanov
MemTag: stack initializer merging.
Summary: MTE provides instructions to update memory tags and data at the
same time. This change makes use of those to generate more compact code
for stack variable tagging + initialization.
We collect memory store and memset instructions following an alloca or a
lifetime.start call, and replace them with the corresponding MTE
intrinsics. Since the intrinsics work on 16-byte aligned chunks, the
stored values are combined as necessary.
Reviewers: pcc, vitalybuka, ostannard
Subscribers: srhines, javed.absar, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66167
llvm-svn: 369297
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetMachine.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64.h
The file was modifiedllvm/test/CodeGen/AArch64/O3-pipeline.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64StackTagging.cpp
The file was addedllvm/test/CodeGen/AArch64/stack-tagging-initializer-merge.ll
Commit 552bcb854cfdfb7ca4fed8b07630d69f06907971 by nuta
Recommit "[llvm-objcopy][MachO] Support load commands used in
executables/shared libraries"
Summary: This patch implements copying some load commands that appear in
executables/shared libraries such as the indirect symbol table.
I don't add tests intentionally because this patch is incomplete: we
need a layout algorithm for executables/shared libraries. I'll submit it
as a separate patch with tests.
Reviewers: alexshap, rupprecht, jhenderson, compnerd
Reviewed By: alexshap
Subscribers: abrachet, mgorny, mgrang, MaskRay, mtrent, jakehehrlich,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D63395
llvm-svn: 369298
The file was addedllvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.h
The file was modifiedllvm/tools/llvm-objcopy/MachO/Object.h
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOReader.h
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOWriter.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOWriter.h
The file was modifiedllvm/tools/llvm-objcopy/CMakeLists.txt
The file was addedllvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
Commit f7229ac7d88ef7a47732cc3438b87f70e00ec6af by vyacheslav.p.zakharin
Fixed placement of llvm.global_dtors on Windows.
Differential revision: https://reviews.llvm.org/D66373
llvm-svn: 369299
The file was addedllvm/test/CodeGen/X86/dtor-priority-coff.ll
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
Commit 55ccd16354d90a70e890f4a79b9bfd20186b3c5f by eugeni.stepanov
Refactor isPointerOffset (NFC).
Summary: Simplify the API using Optional<> and address comments in
        https://reviews.llvm.org/D66165
Reviewers: vitalybuka
Subscribers: hiraditya, llvm-commits, ostannard, pcc
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66317
llvm-svn: 369300
The file was modifiedllvm/lib/Analysis/ValueTracking.cpp
The file was modifiedllvm/lib/Transforms/Scalar/MemCpyOptimizer.cpp
The file was modifiedllvm/include/llvm/Analysis/ValueTracking.h
The file was modifiedllvm/lib/Target/AArch64/AArch64StackTagging.cpp
Commit 12bd490427d7d19425ba1a7e5c55c3b22d8aa61d by nuta
Recommit "[llvm-objcopy][MachO] Implement a layout algorithm for
executables"
Summary: The layout algorithm for relocatable objects and for executable
are somewhat different. This patch implements the latter one based on
the algorithm in LLD (MachOFileLayout).
Reviewers: alexshap, rupprecht, jhenderson
Reviewed By: alexshap
Subscribers: jakehehrlich, abrachet, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65539
llvm-svn: 369301
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
The file was addedllvm/test/tools/llvm-objcopy/MachO/basic-executable-copy.test
Commit de7674ce76e06971e46e7ba7bef55fb3394e5102 by jdoerfert
Recommit "[Attributor] Fix: Do not partially resolve returned calls."
This reverts commit b1752f670f3d6393306dd5d37546b6e23384d8a2.
Fixed the issue with a different commit, reapply this one as it was,
afaik, not broken.
llvm-svn: 369303
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 8b0d15e43f339371204961566aa7ba5f64c209c5 by M.Gehre
Fix use-after-free
Summary: The warning
``` lldb/source/Core/FormatEntity.cpp:2350:25: warning: object backing
the pointer will be destroyed at the end of the full-expression
[-Wdangling]
``` is emitted after annotating `llvm::StringRef` with
`[[gsl::Pointer]]`.
The reason is that in
```
size_t FormatEntity::AutoComplete(CompletionRequest &request) {
llvm::StringRef str = request.GetCursorArgumentPrefix().str();
``` the function `GetCursorArgumentPrefix()` returns a `StringRef`, and
`StringRef::str()` returns a temporary `std::string`.
Reviewers: jingham, JDevlieghere
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D66442
llvm-svn: 369304
The file was modifiedlldb/source/Core/FormatEntity.cpp
Commit 8b962f2814999e1cf48e964096fb9b657ba5b6eb by jdoerfert
[CaptureTracker] Let subclasses provide dereferenceability information
Summary: CaptureTracker subclasses might have better dereferenceability
information which allows null pointer checks to be no-capturing. The
first user will be D59922.
Reviewers: sanjoy, hfinkel, aykevl, sstefan1, uenoku, xbolva00
Subscribers: hiraditya, bollu, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66371
llvm-svn: 369305
The file was modifiedllvm/include/llvm/Analysis/CaptureTracking.h
The file was modifiedllvm/lib/Analysis/CaptureTracking.cpp
Commit 5b3275e56f3c8e1b3cbc15f3866d903b9275c132 by M.Gehre
[ORC] fix use-after-free detected by -Wreturn-stack-address
Summary: llvm/lib/ExecutionEngine/Orc/Layer.cpp:53:12: warning:
returning address of local temporary object [-Wreturn-stack-address]
In
``` StringRef IRMaterializationUnit::getName() const {
[...]
    return TSM.withModuleDo(
       [](const Module &M) { return M.getModuleIdentifier(); });
```
`getModuleIdentifier()` returns a `const std::string &`, but the
implicit return type of the lambda is `std::string` by value, and thus
the returned `StringRef` refers to a temporary `std::string`.
Detect by annotating `llvm::StringRef` with `[[gsl::Pointer]]`.
Reviewers: lhames, sgraenitz
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66440
llvm-svn: 369306
The file was modifiedllvm/lib/ExecutionEngine/Orc/Layer.cpp
Commit 2e8b57558df248e0a2f504cf5da51b0db33e05ae by Saleem Abdulrasool
Windows: Include "windows" Instead of "Windows"
The actual include directory is lldb/Host/windows not lldb/Host/Windows
which breaks on case sensitive file systems
Patch by Gwen Mittertreiner!
llvm-svn: 369307
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_WoW64.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_i386.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeThreadWindows.cpp
The file was modifiedlldb/source/Plugins/Process/Windows/Common/NativeRegisterContextWindows_x86_64.cpp
Commit 3f3a2573c307c4399aa3bc211cfb4d3e148798f5 by anton.a.afanasyev
[Support][Time profiler] Make FE codegen blocks to be inside frontend
blocks
Summary: Add `Frontend` time trace entry to `HandleTranslationUnit()`
function. Add test to check all codegen blocks are inside frontend
blocks. Also, change `--time-trace-granularity` option a bit to make
sure very small time blocks are outputed to json-file when using
`--time-trace-granularity=0`.
This fixes http://llvm.org/pr41969
Reviewers: russell.gallop, lebedev.ri, thakis
Reviewed By: russell.gallop
Subscribers: vsapsai, aras-p, lebedev.ri, hiraditya, cfe-commits,
llvm-commits
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D63325
llvm-svn: 369308
The file was addedclang/test/Driver/check-time-trace-sections.py
The file was modifiedllvm/lib/Support/TimeProfiler.cpp
The file was addedclang/test/Driver/check-time-trace-sections.cpp
The file was modifiedclang/lib/CodeGen/CodeGenAction.cpp
Commit 971a9f7eea31c6b27bf798cc8c39ede1dae8f0d2 by jdenny.ornl
[lit] Check for accidental external command calls
This patch extends lit's test suite to check that lit's internal shell
doesn't accidentally execute internal commands as external commands. It
does so by putting fake failing versions of those commands in
`PATH` while the entire lit test suite is running.  Without the fixes in
D65697 but with its tests, this approach catches accidental external
`env` calls.
Reviewed By: probinson
Differential Revision: https://reviews.llvm.org/D66293
llvm-svn: 369309
The file was addedllvm/utils/lit/tests/Inputs/fake-externals/fake_external.py
The file was addedllvm/utils/lit/tests/Inputs/fake-externals/mkdir
The file was modifiedllvm/utils/lit/tests/lit.cfg
The file was addedllvm/utils/lit/tests/Inputs/fake-externals/export
The file was addedllvm/utils/lit/tests/Inputs/fake-externals/diff
The file was addedllvm/utils/lit/tests/Inputs/fake-externals/rm
The file was addedllvm/utils/lit/tests/Inputs/fake-externals/cd
The file was addedllvm/utils/lit/tests/Inputs/fake-externals/env
Commit 71974b517550fbcf3b24dc1cf9f8de4a343c86de by hubert.reinterpretcast
[cmake] Link in LLVMPasses due to dependency by LLVMOrcJIT; NFC
Summary: rL367756 (f5c40cb) increases the dependency of LLVMOrcJIT on
LLVMPasses. In particular, symbols defined in LLVMPasses that are
referenced by the destructor of `PassBuilder` are now referenced by
LLVMOrcJIT through
`Speculation.cpp.o`.
We believe that referencing symbols defined in LLVMPasses in the
destructor of `PassBuilder` is valid, and that adding to the set of such
symbols is legitimate. To support such cases, this patch adds LLVMPasses
to the set of libraries being linked when linking in LLVMOrcJIT causes
such symbols from LLVMPasses to be referenced.
Reviewers: Whitney, anhtuyen, pree-jackie
Reviewed By: pree-jackie
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66441
llvm-svn: 369310
The file was modifiedllvm/tools/lli/CMakeLists.txt
The file was modifiedllvm/unittests/ExecutionEngine/Orc/CMakeLists.txt
The file was modifiedllvm/lib/ExecutionEngine/Orc/CMakeLists.txt
Commit 9f985dd380a3be782a0f483b8684f064762919b1 by jlettner
[sanitizer_common] Extend test after switch to posix_spawn
llvm-svn: 369311
The file was modifiedcompiler-rt/test/asan/TestCases/Darwin/sandbox-symbolizer.cpp
Commit 5a14c1722183bbe3224f8c69b8e189326185522a by Louis Dionne
Provide a meaningful diagnostic when LLVM_PATH doesn't point to a
directory
llvm-svn: 369312
The file was modifiedlibcxxabi/cmake/Modules/HandleOutOfTreeLLVM.cmake
The file was modifiedlibcxx/cmake/Modules/HandleOutOfTreeLLVM.cmake
Commit 6815b6ef2a1a7e52dca4afe82f85bf1bed2200c5 by medismail.bennani
[lldb] Fix typo on the BreakpointLocation header and the lldbtest.py
(NFC)
Summary: This commit fixes some typo I found while exploring LLDB's
codebase.
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D66452
llvm-svn: 369313
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointLocation.h
The file was modifiedlldb/include/lldb/Breakpoint/BreakpointOptions.h
The file was modifiedlldb/packages/Python/lldbsuite/test/lldbtest.py
Commit def061e6f0d58a5f9741ce507ab24390a657f72e by jlettner
[TSan] Rename file with libdispatch interceptors
llvm-svn: 369314
The file was addedcompiler-rt/lib/tsan/rtl/tsan_interceptors_libdispatch.cpp
The file was modifiedcompiler-rt/lib/tsan/CMakeLists.txt
The file was removedcompiler-rt/lib/tsan/rtl/tsan_libdispatch_interceptors.cpp
Commit 081c57989e8846ed947707f559b6ce6481aad827 by dtemirbulatov
[SLP][NFC] Avoid repetitive calls to getSameOpcode()
We can avoid repetitive calls getSameOpcode() for already known tree
elements by keeping MainOp and AltOp in TreeEntry.
Differential Revision: https://reviews.llvm.org/D64700
llvm-svn: 369315
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
Commit 8f9e489a6658a77267f4ebcf59b639c0c26a183d by rtrieu
Fix typo.  "piont" => "point"
Found by Chris Morris (cwmorris).
llvm-svn: 369316
The file was modifiedclang-tools-extra/test/clang-tidy/abseil-duration-conversion-cast.cpp
The file was modifiedclang-tools-extra/clang-tidy/abseil/DurationConversionCastCheck.cpp
Commit ecc5e8084f500958f3c84335b214b3964356bc15 by sbc
[WebAssembly][MC] Simplify WasmObjectWriter::recordRelocation. NFC.
WebAssembly doesn't support PC relative relocation or relocation
expressions that can't be reduced to single symbol.
The only support for we have for fixups involving two symbols are when
both symbols are defined and withing the same section.  In this case
evaluateFixup will already have evaluated to the expression before
calling recordRelocation.
llvm-svn: 369317
The file was addedllvm/test/MC/WebAssembly/bad-fixup-expr.s
The file was modifiedllvm/lib/MC/WasmObjectWriter.cpp
Commit e828ce1b8887aa20e9aa2bc7fbcbfa0a4eeff567 by maskray
[WebAssembly][MC] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off
builds after r369317
llvm-svn: 369318
The file was modifiedllvm/lib/MC/WasmObjectWriter.cpp
Commit 48786cf8d3d5a84a966be2a8ab5c5e8097493731 by Artem Dergachev
[analyzer] NFC: Drop support for extra text attached to bug reports.
It was introduced in 2011 but never used since then.
llvm-svn: 369319
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporter.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
Commit ee92f12fd18e42dd417174bcbb6429da60f47afa by Artem Dergachev
[analyzer] NFC: Rename GRBugReporter to PathSensitiveBugReporter.
The GR prefix is super ancient.
llvm-svn: 369320
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporter.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
Commit 8cf3dfea54187769b9c3feeb032f084857e8c79c by Artem Dergachev
[CallGraph] Take into accound calls that aren't within any function
bodies.
This patch improves Clang call graph analysis by adding in expressions
that are not found in regular function bodies, such as default arguments
or member initializers.
Patch by Joshua Cranmer!
Differential Revision: https://reviews.llvm.org/D65453
llvm-svn: 369321
The file was modifiedclang/include/clang/Analysis/CallGraph.h
The file was addedclang/test/Analysis/cxx-callgraph.cpp
The file was modifiedclang/test/Analysis/exploded-graph-rewriter/objects_under_construction.cpp
The file was modifiedclang/lib/Analysis/CallGraph.cpp
Commit ce21c3e12c3367740f4e2c44e759e7c0f377014d by maskray
MCAsmMacro: add `#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)` to
some dump() declarations
llvm-svn: 369324
The file was modifiedllvm/include/llvm/MC/MCAsmMacro.h
The file was modifiedllvm/lib/MC/MCAsmMacro.cpp
Commit 40da6be2bd393b41907588afad4253f45966fc25 by karl-johan.karlsson
[AsmPrinter] Remove const qualifier from EmitBasicBlockStart.
Overriders may want to modify state in it. AMDGPU wants to, but has to
make its members mutable in order to do so.
Besides, EmitBasicBlockEnd is not const, so why should Start be?
Patch by Bevin Hansson.
Reviewed By: nickdesaulniers
Differential Revision: https://reviews.llvm.org/D66341
llvm-svn: 369325
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.h
The file was modifiedllvm/lib/Target/NVPTX/NVPTXAsmPrinter.cpp
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXAsmPrinter.h
The file was modifiedllvm/include/llvm/CodeGen/AsmPrinter.h
Commit a08e139d5074c7ca2b81d780525e958d27d2c8aa by thomas.raoux
[NFC] Test commit, fix some comment spelling.
llvm-svn: 369326
The file was modifiedllvm/lib/Target/Lanai/LanaiDelaySlotFiller.cpp
Commit 028b2aa56a627f6175dbe89ed37c2852a884281a by jdoerfert
[Attributor] Fix the "clamp" operator
The clamp operator should not take the known of the given state as the
known is potentially based on assumed information. This also adds TODOs
to guide improvements.
llvm-svn: 369327
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit b9b8791fedead479eb12996e8296af38eb00875a by jdoerfert
[Attributor] Use structured deduction for AANonNull
Summary: What D66126 did for AAAlign, this patch does for AANonNull.
Agian, the logic becomes more concise and localized. Again, returned
poiners are not annotated properly but that will not be an issue if this
lands with the "on-demand" generation of attributes. First improvements
due to the genericValueTraversal are already visible.
Reviewers: sstefan1, uenoku
Subscribers: hiraditya, bollu, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66128
llvm-svn: 369328
The file was modifiedllvm/test/Transforms/FunctionAttrs/noalias_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noreturn_sync.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noreturn_async.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/dereferenceable.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nosync.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit cfcca1a5b12df4d05fa4d084c8d6cac37791fa5a by jdoerfert
[Attributor] Use structured deduction for AADereferenceable
Summary: This is analogous to D66128 but for AADereferenceable. We have
the logic concentrated in the floating value updateImpl and we use the
combiner helper classes for arguments and return values.
The regressions will go away with "on-demand" attribute creation.
Improvements are already visible in the existing tests.
Reviewers: uenoku, sstefan1
Subscribers: hiraditya, bollu, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66272
llvm-svn: 369329
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noalias_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/dereferenceable.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 169af994bcd66ff967441b036500b29d2cbef6c9 by jdoerfert
[Attributor][NFC] Cleanup statistics code
llvm-svn: 369330
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 12cbbab9d9366d37bb2c6f1057491d07c83aba59 by jdoerfert
[Attributor] Create abstract attributes on-demand
Before, we create the set of abstract attributes initially and then
dealt with the fact hat a lookup could fail, e.g., return a nullptr.
This patch will ensure we always return a valid object from a lookup,
allowing us not only to remove the nullptr checks but also to grow the
set of abstract attributes "in-flight" on-demand.
One can now start from those that have the best chance of improving
performance without the need to specify all they might depend on.
While this introduces some boilerplate, the usage of attributes is much
easier and cleaner now.
Reviewers: uenoku, sstefan1
Subscribers: hiraditya, bollu, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66276
llvm-svn: 369331
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nosync.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/dereferenceable.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noalias_returned.ll
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
Commit 1ada137854be55265f1b8128e1a19c57c48582f9 by craig.topper
[X86] Add back the -x86-experimental-vector-widening-legalization comand
line flag and all associated code, but leave it enabled by default
Google is reporting performance issues with the new default behavior and
have asked for a way to switch back to the old behavior while we
investigate and make fixes.
I've restored all of the code that had since been removed and added
additional checks of the command flag onto code paths that are not
otherwise guarded by a check of getTypeAction.
I've also modified the cost model tables to hopefully get us back to the
previous costs.
Hopefully we won't need to support this for very long since we have no
test coverage of the old behavior so we can very easily break it.
llvm-svn: 369332
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit f182617352261d12ed990fdf833b8ce69a0642da by maskray
[Attributor] Fix -Wunused-variable in -DLLVM_ENABLE_ASSERTIONS=off
builds after r369331
llvm-svn: 369334
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 9e8b011195a3602dff7193f71527697b121fb551 by hans
[compiler-rt][crt] Pass -fno-lto in check_cxx_section_exists
Otherwise it doesn't work when building with -DLLVM_ENABLE_LTO=thin
(We hit this in Chromium in
https://bugs.chromium.org/p/chromium/issues/detail?id=966403)
llvm-svn: 369336
The file was modifiedcompiler-rt/lib/crt/CMakeLists.txt
Commit 2682340cdf91fde7cc581da6479337fc322ae444 by maskray
[MC] Delete an overload of MCExpr::evaluateKnownAbsolute and its
associated hack
The hack dated back to 2010 (r121076) and was documented by r122144:
  // FIXME: The use if InSet = Addrs is a hack. Setting InSet causes us
// absolutize differences across sections and that is what the MachO
writer
// uses Addrs for.
llvm-svn: 369337
The file was modifiedllvm/include/llvm/MC/MCExpr.h
The file was modifiedllvm/lib/MC/MCExpr.cpp
Commit ebc8fd3c0c644faabaf2affbfc3d172f592ac5f3 by grimar
[test/Object] - Move/rewrite 2 more test cases.
This patch makes a change for test/Object tests responsible for
relocations.
* 2 tests were moved to llvm-readobj/llvm-objdump folders:
Object/elf-reloc-no-sym.test -> tools/llvm-readobj/elf-reloc-no-sym.test
Object/objdump-reloc-shared.test ->
tools/llvm-objdump/relocations-in-nonreloc.test
* A prerecompiled binary was removed and these tests were refactored.
Differential revision: https://reviews.llvm.org/D66291
llvm-svn: 369342
The file was removedllvm/test/Object/objdump-reloc-shared.test
The file was removedllvm/test/Object/Inputs/elf-reloc-no-sym.x86_64
The file was addedllvm/test/tools/llvm-objdump/relocations-in-nonreloc.test
The file was addedllvm/test/tools/llvm-readobj/elf-reloc-no-sym.test
The file was removedllvm/test/Object/elf-reloc-no-sym.test
Commit 01c7f4b6066935c5bd6f844fdb1d419c568aef14 by maskray
[ELF][PPC] Allow PT_LOAD to have overlapping p_offset ranges
This change affects the non-linker script case (precisely, when the
`SECTIONS` command is not used). It deletes 3 alignments at PT_LOAD
boundaries for the default case: the size of a powerpc64 binary can be
decreased by at most 192kb. The technique can be ported to other
targets.
Let me demonstrate the idea with a maxPageSize=65536 example:
When assigning the address to the first output section of a new PT_LOAD,
if the end p_vaddr of the previous PT_LOAD is 0x10020, we advance to the
next multiple of maxPageSize: 0x20000. The new PT_LOAD will thus have
p_vaddr=0x20000. Because p_offset and p_vaddr are congruent modulo
maxPageSize, p_offset will be 0x20000, leaving a p_offset gap [0x10020,
0x20000) in the output.
Alternatively, if we advance to 0x20020, the new PT_LOAD will have
p_vaddr=0x20020. We can pick either 0x10020 or 0x20020 for p_offset!
Obviously 0x10020 is the choice because it leaves no gap. At runtime,
p_vaddr will be rounded down by pagesize (65536 if
pagesize=maxPageSize). This PT_LOAD will load additional initial
contents from p_offset ranges [0x10000,0x10020), which will also be
loaded by the previous PT_LOAD. This is fine if -z noseparate-code is in
effect or if we are not transiting between executable and non-executable
segments.
ld.bfd -z noseparate-code leverages this technique to keep output small.
This patch implements the technique in lld, which is mostly effective on
targets with large defaultMaxPageSize (AArch64/MIPS/PPC: 65536). The 3
removed alignments can save almost 3*65536 bytes.
Two places that rely on p_vaddr%pagesize = 0 have to be updated.
1) We used to round p_memsz(PT_GNU_RELRO) up to commonPageSize (defaults
to 4096 on all targets). Now p_vaddr%commonPageSize may be non-zero.
The updated formula takes account of that factor. 2) Our TP offsets
formulae are only correct if p_vaddr%p_align = 0.
Fix them. See the updated comments in InputSection.cpp for details.
  On targets that we enable the technique (only PPC64 now),
we can potentially make `p_vaddr(PT_TLS)%p_align(PT_TLS) != 0`
if `sh_addralign(.tdata) < sh_addralign(.tbss)`
  This exposes many problems in ld.so implementations, especially the
offsets of dynamic TLS blocks. Known issues:
  FreeBSD 13.0-CURRENT rtld-elf (i386/amd64/powerpc/arm64)
glibc (HEAD) i386 and x86_64
https://sourceware.org/bugzilla/show_bug.cgi?id=24606
musl<=1.1.22 on TLS Variant I architectures (aarch64/powerpc64/...)
  So, force p_vaddr%p_align = 0 by rounding dot up to p_align(PT_TLS).
The technique will be enabled (with updated tests) for other targets in
subsequent patches.
Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D64906
llvm-svn: 369343
The file was modifiedlld/test/ELF/ppc64-ifunc.s
The file was modifiedlld/test/ELF/ppc64-func-entry-points.s
The file was modifiedlld/ELF/InputSection.cpp
The file was modifiedlld/test/ELF/ppc64-toc-addis-nop.s
The file was modifiedlld/test/ELF/ppc64-entry-point.s
The file was modifiedlld/test/ELF/ppc64-toc-relax-jumptable.s
The file was modifiedlld/test/ELF/ppc64-toc-relax-ifunc.s
The file was modifiedlld/test/ELF/ppc64-toc-restore.s
The file was modifiedlld/test/ELF/ppc64-toc-addis-nop-lqsq.s
The file was modifiedlld/test/ELF/ppc64-relocs.s
The file was modifiedlld/test/ELF/ppc64-toc-rel.s
The file was modifiedlld/test/ELF/ppc64-dtprel.s
The file was modifiedlld/test/ELF/ppc64-weak-undef-call.s
The file was modifiedlld/test/ELF/ppc64-error-missaligned-ds.s
The file was modifiedlld/test/ELF/ppc64-call-reach.s
The file was modifiedlld/test/ELF/ppc64-local-dynamic.s
The file was modifiedlld/test/ELF/ppc64-toc-restore-recursive-call.s
The file was modifiedlld/test/ELF/ppc64-long-branch-localentry-offset.s
The file was modifiedlld/test/ELF/relro-copyrel-bss-script.s
The file was modifiedlld/test/ELF/ppc64-reloc-rel.s
The file was modifiedlld/test/ELF/ppc64-bsymbolic-toc-restore.s
The file was modifiedlld/test/ELF/ppc64-shared-long_branch.s
The file was modifiedlld/test/ELF/ppc64-tls-ie.s
The file was modifiedlld/test/ELF/ppc64-error-missaligned-dq.s
The file was modifiedlld/test/ELF/ppc64-abs64-dyn.s
The file was modifiedlld/test/ELF/ppc64-long-branch.s
The file was modifiedlld/test/ELF/basic-ppc64.s
The file was addedlld/test/ELF/ppc64-tls-vaddr-align.s
The file was modifiedlld/test/ELF/ppc64-toc-relax.s
The file was modifiedlld/test/ELF/ppc64-toc-relax-constants.s
The file was modifiedlld/test/ELF/ppc64-dq.s
The file was modifiedlld/test/ELF/ppc64-plt-stub.s
The file was modifiedlld/test/ELF/ppc64-rel-calls.s
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/test/ELF/ppc64-tls-gd.s
Commit f66b767abe5edcdd7ab4a25007b71437f58c1369 by maskray
[ELF][AArch64] Allow PT_LOAD to have overlapping p_offset ranges
Ported the D64906 technique to AArch64. It deletes 3 alignments at
PT_LOAD boundaries for the default case: the size of an aarch64 binary
decreases by at most 192kb.
If `sh_addralign(.tdata) < sh_addralign(.tbss)`, we can potentially make
`p_vaddr(PT_TLS)%p_align(PT_TLS) != 0`.
ld.so that are known to have problems if p_vaddr%p_align!=0:
* musl<=1.1.22
* FreeBSD 13.0-CURRENT (and before) rtld-elf arm64
New test aarch64-tls-vaddr-align.s checks that our workaround makes
p_vaddr%p_align = 0.
Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D64930
llvm-svn: 369344
The file was modifiedlld/test/ELF/aarch64-tls-le.s
The file was modifiedlld/test/ELF/pr34660.s
The file was modifiedlld/test/ELF/aarch64-prel16.s
The file was modifiedlld/test/ELF/plt-aarch64.s
The file was modifiedlld/test/ELF/basic-aarch64.s
The file was modifiedlld/test/ELF/aarch64-lo12-alignment.s
The file was modifiedlld/test/ELF/aarch64-gnu-ifunc-plt.s
The file was modifiedlld/test/ELF/aarch64-gnu-ifunc-nonpreemptable.s
The file was modifiedlld/test/ELF/aarch64-tstbr14-reloc.s
The file was modifiedlld/test/ELF/aarch64-relative.s
The file was addedlld/test/ELF/aarch64-tls-vaddr-align.s
The file was modifiedlld/test/ELF/aarch64-condb-reloc.s
The file was modifiedlld/test/ELF/aarch64-abs16.s
The file was modifiedlld/test/ELF/aarch64-cortex-a53-843419-large.s
The file was modifiedlld/test/ELF/aarch64-feature-bti.s
The file was modifiedlld/test/ELF/aarch64-fpic-got.s
The file was modifiedlld/test/ELF/aarch64-nopic-plt.s
The file was modifiedlld/test/ELF/pack-dyn-relocs-loop.s
The file was modifiedlld/test/ELF/aarch64-gnu-ifunc-nonpreemptable2.s
The file was modifiedlld/test/ELF/global-offset-table-position-aarch64.s
The file was modifiedlld/test/ELF/aarch64-ifunc-bti.s
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/test/ELF/aarch64-gnu-ifunc-address.s
The file was modifiedlld/test/ELF/relocation-b-aarch64.test
The file was modifiedlld/test/ELF/aarch64-thunk-section-location.s
The file was modifiedlld/test/ELF/aarch64-undefined-weak.s
The file was modifiedlld/test/ELF/aarch64-gnu-ifunc.s
The file was modifiedlld/test/ELF/aarch64-call26-thunk.s
The file was modifiedlld/test/ELF/aarch64-tlsld-ldst.s
The file was modifiedlld/test/ELF/aarch64-copy.s
The file was modifiedlld/test/ELF/aarch64-feature-pac.s
The file was modifiedlld/test/ELF/aarch64-data-relocs.s
The file was modifiedlld/test/ELF/aarch64-cortex-a53-843419-recognize.s
The file was modifiedlld/test/ELF/aarch64-tls-ie.s
The file was modifiedlld/test/ELF/aarch64-tls-gdle.s
The file was modifiedlld/test/ELF/aarch64-feature-btipac.s
The file was modifiedlld/test/ELF/aarch64-tls-gdie.s
The file was modifiedlld/test/ELF/aarch64-load-alignment.s
The file was modifiedlld/test/ELF/aarch64-abs32.s
The file was modifiedlld/test/ELF/aarch64-relocs.s
The file was modifiedlld/test/ELF/aarch64-relro.s
The file was modifiedlld/test/ELF/aarch64-ldprel-lo19-invalid.s
The file was modifiedlld/test/ELF/pack-dyn-relocs.s
The file was modifiedlld/test/ELF/aarch64-gnu-ifunc2.s
The file was modifiedlld/test/ELF/aarch64-cortex-a53-843419-tlsrelax.s
The file was modifiedlld/test/ELF/aarch64-prel32.s
The file was modifiedlld/test/ELF/aarch64-got-weak-undef.s
The file was modifiedlld/test/ELF/aarch64-tlsdesc.s
The file was modifiedlld/test/ELF/aarch64-jump26-thunk.s
Commit 982b105d2f33abb89f0b25bee652afc049f2d38c by sbergman
Rudimentary support for Doxygen \retval command
...so that at least a preceding \param etc. that lacks a description
gets a
-Wdocumentation warning (instead of erroneously treating the \retval ...
text as its paragraph).
Differential Revision: https://reviews.llvm.org/D66350
llvm-svn: 369345
The file was modifiedclang/include/clang/AST/CommentCommands.td
The file was modifiedclang/test/Sema/warn-documentation.cpp
Commit 36848ff8dfb308a284aab9fd2da0c0c240d561d1 by nuta
[llvm-objcopy][MachO] Fix method names. NFC.
Reviewers: alexshap, rupprecht, jhenderson
Reviewed By: alexshap, rupprecht
Subscribers: jakehehrlich, abrachet, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65540
llvm-svn: 369346
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOWriter.cpp
Commit 9c371309f38cfe1fe1bf52af2e70dd448044e7e2 by maskray
[ELF][X86] Allow PT_LOAD to have overlapping p_offset ranges on EM_386
Ported the D64906 technique to EM_386.
If `sh_addralign(.tdata) < sh_addralign(.tbss)`, we can potentially make
`p_vaddr(PT_TLS)%p_align(PT_TLS) != 0`.
ld.so that are known to have problems if p_vaddr%p_align!=0:
* FreeBSD 13.0-CURRENT rtld-elf
* glibc https://sourceware.org/bugzilla/show_bug.cgi?id=24606
New test i386-tls-vaddr-align.s checks our workaround makes
p_vaddr%p_align = 0.
Reviewed By: ruiu
Differential Revision: https://reviews.llvm.org/D65865
llvm-svn: 369347
The file was modifiedlld/test/ELF/i386-relax-reloc.s
The file was modifiedlld/test/ELF/i386-tls-ld-preemptable.s
The file was modifiedlld/test/ELF/gnu-ifunc-plt-i386.s
The file was modifiedlld/test/ELF/shared.s
The file was modifiedlld/test/ELF/global-offset-table-position-i386.s
The file was modifiedlld/test/ELF/i386-gotoff-shared.s
The file was modifiedlld/test/ELF/i386-gotpc.s
The file was modifiedlld/test/ELF/undef-with-plt-addr-i686.s
The file was modifiedlld/test/ELF/basic-i386.s
The file was modifiedlld/test/ELF/i386-tls-le.s
The file was modifiedlld/test/ELF/relocation-copy-i686.s
The file was modifiedlld/test/ELF/got32-i386.s
The file was modifiedlld/test/ELF/relocation-i686.s
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/test/ELF/got32x-i386.s
The file was modifiedlld/test/ELF/i386-tls-ie-shared.s
The file was modifiedlld/test/ELF/i386-pc8-pc16-addend.s
The file was modifiedlld/test/ELF/static-with-export-dynamic.s
The file was modifiedlld/test/ELF/map-file-i686.s
The file was modifiedlld/test/ELF/i386-retpoline-pic.s
The file was modifiedlld/test/ELF/i386-tls-dynamic.s
The file was modifiedlld/test/ELF/i386-tls-opt-iele-nopic.s
The file was modifiedlld/test/ELF/gnu-ifunc-i386.s
The file was modifiedlld/test/ELF/i386-merge.s
The file was modifiedlld/test/ELF/gnu-ifunc-noplt-i386.s
The file was modifiedlld/test/ELF/got-i386.s
The file was modifiedlld/test/ELF/i386-retpoline-nopic.s
The file was modifiedlld/test/ELF/i386-tls-opt.s
The file was modifiedlld/test/ELF/i386-gotpc-dynamic.s
The file was addedlld/test/ELF/i386-tls-vaddr-align.s
The file was modifiedlld/test/ELF/plt-i686.s
The file was modifiedlld/test/ELF/dynamic-got.s
The file was modifiedlld/test/ELF/got32-i386-pie-rw.s
The file was modifiedlld/test/ELF/i386-tls-gdiele.s
Commit 522377494b3d7c4bfcaa9a632497231ac3c19143 by nuta
[yaml2obj/obj2yaml][MachO] Allow setting custom section data
Reviewers: alexshap, jhenderson, rupprecht
Reviewed By: alexshap, jhenderson
Subscribers: abrachet, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65799
llvm-svn: 369348
The file was modifiedllvm/include/llvm/ObjectYAML/MachOYAML.h
The file was modifiedllvm/lib/ObjectYAML/MachOEmitter.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/MachO.h
The file was modifiedllvm/include/llvm/Object/MachO.h
The file was modifiedllvm/tools/obj2yaml/macho2yaml.cpp
The file was modifiedllvm/lib/Object/MachOObjectFile.cpp
The file was modifiedllvm/lib/ObjectYAML/MachOYAML.cpp
The file was addedllvm/test/ObjectYAML/MachO/section_data.yaml
The file was modifiedllvm/test/ObjectYAML/MachO/virtual_section.yaml
Commit 30c86b64da71a9386c35f8ab973ae360bec9b651 by ibiryukov
[clangd] Skip function bodies inside processed files while indexing
Summary: This significantly improves performance of background indexing.
We do not collect references and declarations inside the processed
files, so this does not affect the final indexing results.
The idea is borrowed from libclang, which has a similar optimization in
its indexing functionality.
Measurements show a nice decrease in indexing time, up to ~40% for
building the whole index. These are not proper benchmarks, so one should
not rely on these results too much.
1. Rebuilding the whole index for LLVM:
- Before. Total time: 14m58s.
   ./bin/clangd -pch-storage=memory < ./clangd.input  23917.67s user
515.86s system 2718% cpu 14:58.68 total
- After. Total time: 8m41s.
   ./bin/clangd -pch-storage=memory < ./clangd.input  13627.29s user
288.10s system 2672% cpu 8:40.67 total
2. Rebuilding index after removing shards matching '*clangd*'
(case-insensitively):
- Before. Total time: 30s.
   ./bin/clangd -pch-storage=memory < ./clangd.input  130.94s user 6.82s
system 452% cpu 30.423 total
- After. Total time: 26s.
   ./bin/clangd -pch-storage=memory < ./clangd.input  80.51s user 5.40s
system 333% cpu 25.777 total
Reviewers: kadircet, sammccall
Reviewed By: kadircet
Subscribers: MaskRay, jkorous, arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66226
llvm-svn: 369349
The file was modifiedclang-tools-extra/clangd/index/IndexAction.cpp
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.h
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.cpp
Commit 12d83b427015083f40964c706a5b9e428d9d88df by maskray
[ELF][PPC] Allow PT_LOAD to have overlapping p_offset ranges on EM_PPC
Ported the D64906 technique to EM_PPC.
Delete ppc-rela.s that is covered by ppc32-abs-pic.s
llvm-svn: 369351
The file was removedlld/test/ELF/ppc-rela.s
The file was modifiedlld/ELF/Writer.cpp
The file was modifiedlld/test/ELF/basic-ppc.s
The file was modifiedlld/test/ELF/ppc32-gnu-ifunc.s
The file was modifiedlld/test/ELF/ppc32-call-stub-nopic.s
The file was modifiedlld/test/ELF/ppc32-tls-ie.s
The file was modifiedlld/test/ELF/ppc32-call-stub-pic.s
The file was modifiedlld/test/ELF/ppc32-gnu-ifunc-nonpreemptable.s
The file was modifiedlld/test/ELF/ppc32-abs-pic.s
The file was modifiedlld/test/ELF/ppc32-reloc-got.s
The file was modifiedlld/test/ELF/ppc32-tls-ld.s
The file was modifiedlld/test/ELF/ppc32-tls-gd.s
Commit f9d90bc5f690de43cbfd8bd15f6f3d3e01471615 by jan.kratochvil
[lldb] D66174 `RegularExpression` cleanup
I find as a good cleanup to drop the Compile method. As I do not find
TIMTOWTDI as an advantage and there is already constructor parameter to
compile the regex.
Differential Revision: https://reviews.llvm.org/D66392
llvm-svn: 369352
The file was modifiedlldb/source/Core/AddressResolverName.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp
The file was modifiedlldb/source/Utility/RegularExpression.cpp
The file was modifiedlldb/source/Commands/CommandObjectType.cpp
The file was modifiedlldb/include/lldb/Utility/RegularExpression.h
The file was modifiedlldb/source/Commands/CommandObjectFrame.cpp
The file was modifiedlldb/source/Interpreter/OptionValueRegex.cpp
The file was modifiedlldb/source/Interpreter/CommandObjectRegexCommand.cpp
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedlldb/source/Target/ThreadPlanStepInRange.cpp
The file was modifiedlldb/include/lldb/Interpreter/OptionValueRegex.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp
The file was modifiedlldb/source/Breakpoint/BreakpointResolverName.cpp
Commit 213a5abb4fa8c4e1f4466edb2cc8b97cf4997942 by Raphael Isemann
[lldb][NFC] Test quotes when completing
llvm-svn: 369353
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
Commit e64af75745ae3483ee3af15892adfeed461c2862 by ikudrin
[DWARF] Fix DWARFUnit::getDebugInfoSize() for 64-bit DWARF.
The calculation there was correct only for DWARF32.
Differential Revision: https://reviews.llvm.org/D66421
llvm-svn: 369356
The file was modifiedllvm/include/llvm/BinaryFormat/Dwarf.h
The file was addedllvm/test/tools/llvm-dwarfdump/X86/debug_info_min_dwarf64.s
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
Commit dadc6f24886844dc36e2c5a8d888faaaa08f0f49 by martin
[COFF] Allow using custom .edata from input object files
This is used by Wine for manually crafting export tables.
If the input object contains .edata sections, GNU ld references them in
the export directory instead of synthesizing an export table using
either export directives or the normal auto export mechanism. (AFAIK,
historically, way way back, GNU ld didn't support synthesizing the
export table - one was supposed to generate it using dlltool and link it
in instead.)
If faced with --out-implib and --output-def, GNU ld still populates
those output files with the same export info as it would have generated
otherwise, disregarding the input .edata. As this isn't an intended
usage combination, I'm not adding checks for that in tests.
Differential Revision: https://reviews.llvm.org/D65903
llvm-svn: 369358
The file was addedlld/test/COFF/edata.s
The file was modifiedlld/COFF/Config.h
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/COFF/Writer.cpp
Commit b8dcc193890c70f7b7b4fc762a0b535f6e9fadfa by nuta
[yaml2obj/obj2yaml][MachO] Fix a test failure in big endian hosts
These section contents are dummy data (0xdeadbeef) and it's endianess
does not matter.
- http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/37265
llvm-svn: 369360
The file was modifiedllvm/test/ObjectYAML/MachO/virtual_section.yaml
Commit 6540e55067e30c81987151f311af0bf69da2b17c by martin
[COFF] Require an explicit -implib option for creating implibs in mingw
mode
GNU ld doesn't produce implibs unless explicitly requested.
Differential Revision: https://reviews.llvm.org/D66367
llvm-svn: 369363
The file was addedlld/test/COFF/implib-name-mingw.test
The file was modifiedlld/COFF/Driver.cpp
Commit a83220c6f2ece2ca5f1ef9854fc95c033364d04b by mikhail.maltsev
[libcxx] Fix build breakage on mips
Fixes https://bugs.llvm.org/show_bug.cgi?id=43011 caused by
https://reviews.llvm.org/D63284.
Committing as obvious.
llvm-svn: 369364
The file was modifiedlibcxx/include/__locale
Commit b1bdd97a2671c23a147e7b1c237e0e456131e4bc by Andrea_DiBiagio
[X86][Btver2] Fix latency and throughput of CMPXCHG instructions.
On Jaguar, CMPXCHG has a latency of 11cy, and a maximum throughput of
0.33 IPC. Throughput is superiorly limited to 0.33 because of the
implicit in/out dependency on register EAX. In the case of repeated
non-atomic CMPXCHG with the same memory location, store-to-load
forwarding occurs and values for sequent loads are quickly forwarded
from the store buffer.
Interestingly, the functionality in LLVM that computes the reciprocal
throughput doesn't seem to know about RMW instructions. That
functionality only looks at the "consumed resource cycles" for the
throughput computation. It should be fixed/improved by a future patch.
In particular, for RMW instructions, that logic should also take into
account for the write latency of in/out register operands.
An atomic CMPXCHG has a latency of ~17cy. Throughput is also limited to
~17cy/inst due to cache locking, which prevents other memory uOPs to
start executing before the "lock releasing" store uOP.
CMPXCHG8rr and CMPXCHG8rm are treated specially because they decode to
one less macro opcode. Their latency tend to be the same as the other
RR/RM variants. RR variants are relatively fast 3cy (but still
microcoded - 5 macro opcodes).
CMPXCHG8B is 11cy and unfortunately doesn't seem to benefit from
store-to-load forwarding. That means, throughput is clearly limited by
the in/out dependency on GPR registers. The uOP composition is sadly
unknown (due to the lack of PMCs for the Integer pipes). I have reused
the same mix of consumed resource from the other CMPXCHG instructions
for CMPXCHG8B too. LOCK CMPXCHG8B is instead 18cycles.
CMPXCHG16B is 32cycles. Up to 38cycles when the LOCK prefix is
specified. Due to the in/out dependencies, throughput is limited to 1
instruction every 32 (or 38) cycles dependeing on whether the LOCK
prefix is specified or not. I wouldn't be surprised if the microcode for
CMPXCHG16B is similar to 2x microcode from CMPXCHG8B. So, I have
speculatively set the JALU01 consumption to 2x the resource cycles used
for CMPXCHG8B.
The two new hasLockPrefix() functions are used by the btver2 scheduling
model check if a MCInst/MachineInst has a LOCK prefix. Calls to
hasLockPrefix() have been encoded in predicates of variant scheduling
classes that describe lat/thr of CMPXCHG.
Differential Revision: https://reviews.llvm.org/D66424
llvm-svn: 369365
The file was modifiedllvm/lib/Target/X86/X86ScheduleBtVer2.td
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h
The file was modifiedllvm/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
The file was modifiedllvm/lib/Target/X86/X86InstrInfo.h
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/resources-x86_64.s
The file was modifiedllvm/lib/Target/X86/X86SchedPredicates.td
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/resources-cmpxchg.s
Commit 5a28f0ae6e3a919a78b762cafb5ee6e27710629c by llvm-dev
Fix MSVC "result of 32-bit shift implicitly converted to 64 bits"
warning. NFCI.
llvm-svn: 369366
The file was modifiedllvm/tools/llvm-objcopy/MachO/MachOLayoutBuilder.cpp
Commit 6a3dc3e15cb2c7ad42f1474f830a1a9c70e97feb by llvm-dev
[MCA][X86] Add tests for LOCK variants of standard X86 arithmetic ops
D66424 adds the base support for LOCK so we should be able to add
special case support for all these cases in future patches
llvm-svn: 369367
The file was modifiedllvm/test/tools/llvm-mca/X86/BdVer2/resources-x86_64.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Generic/resources-x86_64.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Broadwell/resources-x86_64.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Znver1/resources-x86_64.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Atom/resources-x86_64.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/resources-x86_64.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SandyBridge/resources-x86_64.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SLM/resources-x86_64.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeServer/resources-x86_64.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Haswell/resources-x86_64.s
The file was modifiedllvm/test/tools/llvm-mca/X86/SkylakeClient/resources-x86_64.s
The file was modifiedllvm/test/tools/llvm-mca/X86/Barcelona/resources-x86_64.s
Commit ed72e0ecf80ebe8717e6c3ea316ce359f0c52a43 by llvm-dev
[CMake] Update C4324 MSVC warning comment to explain its still broken at
VS2019
As promised, I've updated the comment for the C4324 MSVC warning that
was re-disabled at rL367409 / rG8f823e63e3edf87ab029ba32b68f3eb5d2f392b5
to put it in terms of currently supported VS versions
llvm-svn: 369368
The file was modifiedllvm/cmake/modules/HandleLLVMOptions.cmake
Commit 51d7398f630cee2239cf0c624d0fa60c63c7375a by pavel
Recommit "MemoryBuffer: Add a missing error-check to getOpenFileImpl"
This recommits r368977, which was reverted in r369027 due to test
failures in lldb. The cause of this was different behavior of
readNativeFileSlice on windows and unix. These have been addressed in
r369269.
The original commit message was: In case the function was called with a
desired read size *and* the file was not an "mmap()" candidate, the
function was falling back to a
"pread()", but it was failing to check the result of that system call.
This meant that the function would return "success" even though the read
operation failed, and it returned a buffer full of uninitialized memory.
Reviewers: rnk, dblaikie
Subscribers: kristina, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66224
llvm-svn: 369370
The file was modifiedllvm/lib/Support/MemoryBuffer.cpp
The file was modifiedllvm/unittests/Support/MemoryBufferTest.cpp
Commit 66d109640f10ecf3597f6bed06a081710f871469 by pavel
[cmake] Remove the test for libstdc++<4.9
It is no longer relevant now that llvm requires >=5.1.
llvm-svn: 369371
The file was modifiedlldb/cmake/modules/LLDBConfig.cmake
Commit cc0ba28cf07fd696148d70eb454fbaeb9c0b30c2 by sven.vanhaastregt
[OpenCL] Add const, volatile and pointer builtin handling
Const, volatile, and pointer types were previously available, but not
working.  This patch adds handling for OpenCL builtin functions.
Add TableGen definitions for some atomic and asynchronous builtins to
make use of the new functionality.
Patch by Pierre Gondois and Sven van Haastregt.
Differential Revision: https://reviews.llvm.org/D63442
llvm-svn: 369373
The file was modifiedclang/test/SemaOpenCL/fdeclare-opencl-builtins.cl
The file was modifiedclang/utils/TableGen/ClangOpenCLBuiltinEmitter.cpp
The file was modifiedclang/lib/Sema/OpenCLBuiltins.td
Commit a2e270fa703fa3807d66f4b73c119469912fd398 by pavel
unittests: Use yaml2obj as a library instead of an external process
Summary: Recently, yaml2obj has been turned into a library. This means
we can use it from our unit tests directly, instead of shelling out to
an external process. This patch does just that.
Reviewers: JDevlieghere, aadsm, espindola, jdoerfert
Subscribers: emaste, mgorny, arichardson, MaskRay, jhenderson, abrachet,
lldb-commits
Differential Revision: https://reviews.llvm.org/D65949
llvm-svn: 369374
The file was modifiedlldb/unittests/TestingSupport/CMakeLists.txt
The file was modifiedlldb/unittests/Symbol/CMakeLists.txt
The file was removedlldb/unittests/Symbol/Inputs/basic-call-frame-info.yaml
The file was modifiedlldb/unittests/Core/MangledTest.cpp
The file was modifiedlldb/unittests/Symbol/TestDWARFCallFrameInfo.cpp
The file was modifiedlldb/unittests/Core/CMakeLists.txt
The file was modifiedlldb/unittests/Symbol/TestLineEntry.cpp
The file was modifiedlldb/unittests/ObjectFile/ELF/CMakeLists.txt
The file was modifiedlldb/unittests/ObjectFile/ELF/TestObjectFileELF.cpp
The file was removedlldb/unittests/ObjectFile/ELF/Inputs/sections-resolve-consistently.yaml
The file was removedlldb/unittests/Core/Inputs/mangled-function-names.yaml
The file was modifiedlldb/unittests/TestingSupport/TestUtilities.cpp
The file was modifiedlldb/unittests/TestingSupport/TestUtilities.h
Commit 7cb3cd34e8d7923438136ffb6f400aba958b82c1 by asb
[RISCV] Implement getExprForFDESymbol to ensure RISCV_32_PCREL is used
for the FDE location
Follow binutils in using RISCV_32_PCREL for the FDE initial location. As
explained in the relevant binutils commit
<https://github.com/riscv/riscv-binutils-gdb/commit/a6cbf936e3dce68114d28cdf60d510a3f78a6d40>,
the ADD/SUB pair of relocations is problematic in the presence of linker
relaxation.
This patch has the same end goal as D64715 but includes test changes and
avoids adding a new global VariantKind to MCExpr.h (preferring
RISCVMCExpr VKs like the rest of the RISC-V backend).
Differential Revision: https://reviews.llvm.org/D66419
llvm-svn: 369375
The file was modifiedllvm/test/MC/RISCV/fde-reloc.s
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVMCExpr.h
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVELFObjectWriter.cpp
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/MCTargetDesc/RISCVMCAsmInfo.h
Commit eb2211b352390a30718a497217e2ab8229fe9809 by spatel
[InstCombine] add tests for min/max with min/max of same operands; NFC
llvm-svn: 369376
The file was addedllvm/test/Transforms/InstCombine/minmax-of-minmax.ll
Commit f13370280057c51cc98ed4a3f44fcb72e76944a3 by maskray
[llvm-readobj] Prepend argv[0] to error/warning messages
Summary: Currently, we report:
    error: ...
Prepend argv[0] (tool name):
    llvm-readobj: error: ...
This is consistent with most GNU binutils/clang/lld, and gives a bit
more context in a long build log.
Reviewed By: grimar, jhenderson, rupprecht
Differential Revision: https://reviews.llvm.org/D66425
llvm-svn: 369377
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.cpp
The file was addedllvm/test/tools/llvm-readobj/error-format.test
Commit 59d5abaa71b524fb983b8945e3703eb55c0cf6cb by ikudrin
[DWARF] Fix reading 64-bit DWARF type units.
The type_offset field is 8 bytes long in DWARF64. The patch extends
TypeOffset to uint64_t and fixes its reading. The patch also fixes
checking of TypeOffset bounds as it was inaccurate in DWARF64 case.
Differential Revision: https://reviews.llvm.org/D66465
llvm-svn: 369378
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFUnit.cpp
The file was addedllvm/test/tools/llvm-dwarfdump/X86/typeunit-v4-dwarf64.s
The file was addedllvm/test/tools/llvm-dwarfdump/X86/typeunit-v5-dwarf64.s
Commit 5877fb7cd7457ece5bb7fd2ac5857b1193e196fc by pavel
Convert minidump unittests to use llvm::yaml::convertYAML
previously they used a minidump-specific function for this purpose, but
this is no longer needed now that whole of yaml2obj is available as a
library.
llvm-svn: 369379
The file was modifiedlldb/unittests/Process/minidump/MinidumpParserTest.cpp
Commit dee011b7f4ce2bc50d8c182f357a73f4f84b8ac1 by gribozavr
Removed the 'id' AST matcher, which is superseded by '.bind()'
Summary: The 'id' matcher is not even included in the AST Matchers
Reference document, so I don't expect there to be a significant number
of users.
There's no reason to provide two ways to do the exact same thing that
only have a minor syntactic difference.
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66462
llvm-svn: 369380
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
The file was modifiedclang/unittests/Tooling/RefactoringCallbacksTest.cpp
Commit 028fe5af60fcfb84a7d842ab9cbadad27635090f by pavel
Fix build for r369374
This patch added some gtest code to the TestingSupport library. As this
is not a unit test, but a unit test library, gtest does not get added to
the include path automatically, but we have to do that ourselves. (It
was working for me without this because the compiler picked up the
system gtest instead.)
llvm-svn: 369381
The file was modifiedlldb/unittests/TestingSupport/CMakeLists.txt
Commit b232d5649d31b9bbb191c4a0e2ce10803a6d295c by grimar
[llvm-objdump] - Remove one of `report_error` functions and improve the
error reporting.
One of the report_error functions was taking object::Archive::Child as
an argument. It feels excessive, this patch removes it and introduce a
helper function instead. Also I fixed a "TODO" in this patch what
improved the message printed.
Differential revision: https://reviews.llvm.org/D66468
llvm-svn: 369382
The file was modifiedllvm/tools/llvm-objdump/MachODump.cpp
The file was modifiedllvm/test/tools/llvm-objdump/malformed-archives.test
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.h
Commit 50fdaaf5b88414d181cb896c6a5b5a3806b8a740 by jan.kratochvil
Regex: +regex string lifetime comment
Differential Revision: https://reviews.llvm.org/D66464
llvm-svn: 369383
The file was modifiedllvm/include/llvm/Support/Regex.h
Commit cec028fc14dda68c80e489b861adcf28944151f6 by llvm-dev
[X86][FMA] Add FMA 'negated expression' combine tests for D63141
llvm-svn: 369384
The file was addedllvm/test/CodeGen/X86/fma-fneg-combine-2.ll
Commit 6687fde07aeaea958d9f9b385949dbde769b20f7 by jvikstrom
[Syntax] Added function to get macro expansion tokens to TokenBuffer.
Summary: Returns the first token in every mapping where the token is an
identifier. This API is required to be able to highlight macro
expansions in clangd.
Reviewers: hokein, ilya-biryukov
Subscribers: kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66470
llvm-svn: 369385
The file was modifiedclang/include/clang/Tooling/Syntax/Tokens.h
The file was modifiedclang/lib/Tooling/Syntax/Tokens.cpp
The file was modifiedclang/unittests/Tooling/Syntax/TokensTest.cpp
Commit f99d254aaec791dfd9dfd8ac9d6a15db1088822a by spatel
[InstCombine] simplify min/max of min/max with same operands (PR35607)
This is the original integer variant requested in:
https://bugs.llvm.org/show_bug.cgi?id=35607
As noted in the TODO and several similar TODOs around this block, we
could do this in instsimplify, but then it would cost more because we
would be trying to match min/max via ValueTracking in 2 different
places.
There are 4 commuted variants for each of smin/smax/umin/umax that are
not matched here. There are also icmp predicate variants that are not
included in the affected test file because they are already handled by
instsimplify by folding the final icmp to true/false.
https://rise4fun.com/Alive/3KVc
  Name: smax(smax, smin)
%c1 = icmp slt i32 %x, %y
%c2 = icmp slt i32 %y, %x
%min = select i1 %c1, i32 %x, i32 %y
%max = select i1 %c2, i32 %x, i32 %y
%c3 = icmp sgt i32 %max, %min
%r = select i1 %c3, i32 %max, i32 %min
=>
%r = %max
  Name: smin(smax, smin)
%c1 = icmp slt i32 %x, %y
%c2 = icmp slt i32 %y, %x
%min = select i1 %c1, i32 %x, i32 %y
%max = select i1 %c2, i32 %x, i32 %y
%c3 = icmp sgt i32 %max, %min
%r = select i1 %c3, i32 %min, i32 %max
=>
%r = %min
  Name: umax(umax, umin)
%c1 = icmp ult i32 %x, %y
%c2 = icmp ult i32 %y, %x
%min = select i1 %c1, i32 %x, i32 %y
%max = select i1 %c2, i32 %x, i32 %y
%c3 = icmp ult i32 %min, %max
%r = select i1 %c3, i32 %max, i32 %min
=>
%r = %max
  Name: umin(umax, umin)
%c1 = icmp ult i32 %x, %y
%c2 = icmp ult i32 %y, %x
%min = select i1 %c1, i32 %x, i32 %y
%max = select i1 %c2, i32 %x, i32 %y
%c3 = icmp ult i32 %min, %max
%r = select i1 %c3, i32 %min, i32 %max
=>
%r = %min
llvm-svn: 369386
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
The file was modifiedllvm/test/Transforms/InstCombine/minmax-of-minmax.ll
Commit 0e8e4b09d2ff9eadb196ee402313165934256f9e by hokein
[clangd] Fix one testcase in XRefsTests.
Summary: The test didn't test anything actually -- it used "[]" as
annotation which should be
"[[]]".
This patch also fixes a bug in XRef where we may return duplicated refs.
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66349
llvm-svn: 369387
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
Commit 16111d3795c72b6674a5a2875fe328e16d91966e by Andrea_DiBiagio
[X86][BtVer2] Fix latency and throughput of atomic INC/DEC/NEG/NOT.
Latency and throughput of LOCK INC/DEC/NEG/NOT is always 19cy. Number of
uOPs is still 1.
Differential Revision: https://reviews.llvm.org/D66469
llvm-svn: 369388
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/resources-x86_64.s
The file was modifiedllvm/lib/Target/X86/X86ScheduleBtVer2.td
Commit cda334ba5417d7702be755adc2f8414c877f0482 by Jinsong Ji
[BlockExtractor] Avoid assert with wrong line format
Summary: When the line format is wrong, we may end up accessing out of
bound memory. eg: the test with invalide line will cause assert.
Assertion `idx < size()' failed
The fix is to report fatal when we found mismatched line format.
Reviewers: qcolombet, volkan
Reviewed By: qcolombet
Subscribers: hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66444
llvm-svn: 369389
The file was modifiedllvm/lib/Transforms/IPO/BlockExtractor.cpp
The file was addedllvm/test/Transforms/BlockExtractor/invalid-line.ll
Commit a90ee0eeb6abb32a641caa56976f4cc2f7d27975 by spatel
[InstCombine] improve readability for icmp with cast folds; NFC
1. Update function name and stale code comments. 2. Use variable names
that are less ambiguous. 3. Move operand checks into the function as
early exits.
llvm-svn: 369390
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineInternal.h
Commit ebd50291e8cf5911eb9c2da54389d93312caadd2 by maskray
[llvm-objcopy] Append '\n' to warning messages
Currently the warning message of `llvm-strip %t.o %t.o` does not include
the trailing newline. Fix this by appending a '\n'.
This is the only warning llvm-objcopy and llvm-strip can issue.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D66475
llvm-svn: 369391
The file was modifiedllvm/tools/llvm-objcopy/llvm-objcopy.cpp
The file was modifiedllvm/test/tools/llvm-objcopy/ELF/same-file-strip.test
Commit 494a4d16809e938cae0b1cd0e0792d49f7fb054c by maskray
[llvm-objcopy][test] Add a test to show that argv[0] is included in
error/warning messages
test/llvm-objcopy/ELF/error-format.test is similar to
test/llvm-readobj/error-format.test added in D66425.
Reviewed By: grimar, jhenderson
Differential Revision: https://reviews.llvm.org/D66476
llvm-svn: 369392
The file was addedllvm/test/tools/llvm-objcopy/ELF/error-format.test
Commit a47ca1ea6d32d2d99d080ec850670c1de340c525 by Louis Dionne
[libc++] Explicitly cast in generate_canonical
A new clang warning introduced in r367497 was complaining about the
change in value.
Thanks to Brian Cain for the patch. Differential Revision:
https://reviews.llvm.org/D66422
llvm-svn: 369393
The file was modifiedlibcxx/include/random
Commit 6585f018ada85c53efeec28fb6b1d9c978c209f7 by z.zoelec2
[libc++] std::abs should not return double
Implement LWG Issue 2735 by adding std::abs tests for several types and
checking their return value. NFC.
llvm-svn: 369394
The file was addedlibcxx/test/std/numerics/c.math/abs.fail.cpp
The file was addedlibcxx/test/std/numerics/c.math/abs.pass.cpp
The file was modifiedlibcxx/www/cxx1z_status.html
Commit be699bf38995f940225aa31b520be00721e258b2 by thomas.raoux
    [CodeGen] Add a pass to do block predication on SSA machine IR.
    For targets requiring aggressive scheduling and/or software pipeline
we need to
   apply predication before preRA scheduling. This adds a pass re-using
the early
   if-cvt infrastructure but generating predicated instructions instead
of
   speculatively executing instructions. It allows doing if conversion
on blocks
   containing instructions with side-effects. The pass re-use the target
hook from
   postRA if-conversion to let the target decide on the heuristic to
apply.
    Differential Revision: https://reviews.llvm.org/D66190
llvm-svn: 369395
The file was modifiedllvm/include/llvm/CodeGen/Passes.h
The file was modifiedllvm/include/llvm/InitializePasses.h
The file was modifiedllvm/lib/CodeGen/CodeGen.cpp
The file was modifiedllvm/lib/CodeGen/EarlyIfConversion.cpp
Commit ed602ef4804e9be83151e07bf8cc53d6a7538ea9 by jan.kratochvil
Regex: Add isValid() with no parameter
There will be some performance (only a little) improvement for LLDB's
RegularExpression::Execute.
Differential Revision: https://reviews.llvm.org/D66463
llvm-svn: 369396
The file was modifiedllvm/include/llvm/Support/Regex.h
Commit 95b5f42de814c09b9d404408310249a2a4f1f1e5 by jan.kratochvil
[clang] Use the new Regex::isValid() with no parameter
Differential Revision: https://reviews.llvm.org/D66463
llvm-svn: 369397
The file was modifiedclang/lib/Analysis/CloneDetection.cpp
Commit 1c56d3df1956b6025491570f06d01caf1480990b by jan.kratochvil
[lldb] Use the new Regex::isValid() with no parameter
Differential Revision: https://reviews.llvm.org/D66463
llvm-svn: 369398
The file was modifiedlldb/source/Utility/RegularExpression.cpp
Commit 696630eaf2830526fe90bf05a9235e3bbd692c44 by mclow.lists
Fix availability of __thread_id on builds with external threading.
Reviewed as https://reviews.llvm.org/D66480
llvm-svn: 369399
The file was modifiedlibcxx/include/__threading_support
Commit 3e5360f19465479605de3e9cd7212bf4008f3949 by kostyak
[scudo][standalone] Fix malloc_iterate
Summary: cferris's Bionic tests found an issue in Scudo's
`malloc_iterate`.
We were inclusive of both boundaries, which resulted in a `Block` that
was located on said boundary to be possibly accounted for twice, or just
being accounted for while iterating on regions that are not ours
(usually the unmapped ones in between Primary regions).
The fix is to exclude the upper boundary in `iterateOverChunks`, and add
a regression test.
This additionally corrects a typo in a comment, and change the 64-bit
Primary iteration function to not assume that `BatchClassId` is 0.
Reviewers: cferris, morehouse, hctim, vitalybuka, eugenis
Reviewed By: hctim
Subscribers: delcypher, #sanitizers, llvm-commits
Tags: #llvm, #sanitizers
Differential Revision: https://reviews.llvm.org/D66231
llvm-svn: 369400
The file was modifiedcompiler-rt/lib/scudo/standalone/primary64.h
The file was modifiedcompiler-rt/lib/scudo/standalone/combined.h
The file was modifiedcompiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp
Commit 184bc069c60c2e8eb11f18af47b85e584d64f65c by nicolasweber
gn build: Merge r369298
llvm-svn: 369401
The file was modifiedllvm/utils/gn/secondary/llvm/tools/llvm-objcopy/BUILD.gn
Commit fe91b9d6da99d346abbd1063b1456a30664b215b by nicolasweber
win: Enable /Zc:twoPhase by default if targeting MSVC 2017 update 3 or
newer
MSVC 2017 update 3 (_MSC_VER 1911) enables /Zc:twoPhase by default, and
so should clang-cl:
https://docs.microsoft.com/en-us/cpp/build/reference/zc-twophase
clang-cl takes the MSVC version it emulates from the -fmsc-version flag,
or if that's not passed it tries to check what the installed version of
MSVC is and uses that, and failing that it uses a default version that's
currently 1911. So this changes the default if no -fmsc-version flag is
passed and no installed MSVC is detected. (It also changes the default
if -fmsc-version is passed or MSVC is detected, and either indicates
_MSC_VER >= 1911.)
As mentioned in the MSDN article, the Windows SDK header files in
version 10.0.15063.0 (Creators Update or Redstone 2) and earlier
versions do not work correctly with /Zc:twoPhase. If you need to use
these old SDKs with a new clang-cl, explicitly pass /Zc:twoPhase- to get
the old behavior.
Fixes PR43032.
Differential Revision: https://reviews.llvm.org/D66394
llvm-svn: 369402
The file was modifiedclang/include/clang/Driver/CLCompatOptions.td
The file was modifiedclang/docs/ReleaseNotes.rst
The file was modifiedclang/test/Driver/cl-options.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
Commit 08bd0808720d327800c13443599a40ae92a7cee4 by aditya_nandakumar
[GlobalISel] Handle multiple registers in dbg.value intrinsic
https://reviews.llvm.org/D66077
The value passed into dbg.value may relate to multiple registers, each
of which need a DBG_VALUE.
This fix calls MIRBuilder.buildDirectDbgValue for each register.
Without this, IR passed in from flang-compiler/flang may fail an
assertion in getOrCreateVReg.
Patch by : peterwaller-arm.
llvm-svn: 369403
The file was addedllvm/test/CodeGen/Generic/DbgValueAggregate.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
Commit dcfc2d40d30f6ecbe68a731f816ce9f1bceda915 by sam.tebbs
[ARM] Select vaddva
This patch adds vaddva selection.
Differential revision: https://reviews.llvm.org/D66410
llvm-svn: 369404
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vaddv.ll
Commit 53ab6bef98e7e43a0b5407a24babb837f1317cfa by thomas.raoux
[CodeGen] Add EarlyIfConvert test missed in previous commit
llvm-svn: 369405
The file was addedllvm/test/CodeGen/Hexagon/early-if-predicator.mir
Commit ab50b830d02f4281cf0c57d0a8c0c51ad82bccc9 by Louis Dionne
[libc++] Populate a lit feature including the compiler patch level
If the compiler is (for example) AppleClang 10.0.1, we would previously
populate the following lit features:
    apple-clang
   apple-clang-10
   apple-clang-10.0
This patch additionally populates a feature called 'apple-clang-10.0.1',
which allows more precise enabling/disabling of tests.
llvm-svn: 369406
The file was modifiedlibcxx/utils/libcxx/test/config.py
Commit 260aa0f0f3a6f1120bcd537f4ee9379f0413a775 by Adrian Prantl
Make the FindTypes(std::vector<CompilerContext>, ...) API testable in
lldb-test
This adds a -compiler-context=<...> option to lldb-test that trakes a
comma-separated string that is a list of kind/name pairs and translates
it into a std::vector<CompilerContext>, a CompilerContext being a pair
of context-kind and name.
Differential Revision: https://reviews.llvm.org/D66453
<rdar://problem/54471165>
llvm-svn: 369407
The file was modifiedlldb/lit/SymbolFile/DWARF/lit.local.cfg
The file was addedlldb/lit/SymbolFile/DWARF/compilercontext.ll
The file was modifiedlldb/tools/lldb-test/lldb-test.cpp
Commit eaee4de503ca4c37a0a3c26c477ee75285acc97b by xazax.hun
[LifetimeAnalysis] Add support for free functions
Differential Revision: https://reviews.llvm.org/D66303
llvm-svn: 369408
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/test/Sema/warn-lifetime-analysis-nocfg.cpp
Commit cb93f650b6e5e1cfc65bd5e53e9bf0e5470ad346 by Louis Dionne
[libc++] Disable <chrono> ""d and ""y literal tests on AppleClang 10.0.0
In r368882, I enabled those tests for all AppleClang's above version 9.
However, it turns out that the feature is only supported starting with
AppleClang 10.0.1, not AppleClang 10.0.0. This commit fixes that hole.
llvm-svn: 369409
The file was modifiedlibcxx/test/std/utilities/time/time.cal/time.cal.day/time.cal.day.nonmembers/literals.pass.cpp
The file was modifiedlibcxx/test/std/utilities/time/time.cal/time.cal.year/time.cal.year.nonmembers/literals.pass.cpp
Commit 22ac9f396fcadcea546eaff38954932c1818e4f1 by craig.topper
[X86] Use isNullConstant instead of getConstantOperandVal == 0. NFC
llvm-svn: 369410
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
Commit 2e68e4d60e9f190c83653d5df5071262febca2ef by spatel
[InstCombine] make fold for icmp with sext more efficient; NFC
We were creating 2 instructions and relying on a subsequent fold to
invert a not(icmp). Create the final icmp directly instead.
llvm-svn: 369411
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit 2e897a94f587d035271793c71f189f1f14445c5b by Andrea_DiBiagio
[X86][BtVer2] Use ReadAfterLd entries for the register operands of
CMPXCHG.
This is a follow-up of r369365.
llvm-svn: 369412
The file was modifiedllvm/lib/Target/X86/X86ScheduleBtVer2.td
The file was addedllvm/test/tools/llvm-mca/X86/BtVer2/cmpxchg-read-advance.s
Commit 86d560ff1b7101506329331fc392a2d67323d298 by z.zoelec2
[libc++] fix test for unsigned char
On some systems char is unsigned. If that is the case, we will now test
signed char twice in std::abs. NFC. Fixes the build bots.
llvm-svn: 369413
The file was modifiedlibcxx/test/std/numerics/c.math/abs.pass.cpp
Commit 1e0affb6e564b7361b0aadb38805f26deff4ecfc by nhuck
[Attr] Support _attribute__ ((fallthrough))
Summary: Fixed extraneous matches of non-NullStmt
Reviewers: aaron.ballman, rsmith, efriedma, xbolva00
Reviewed By: aaron.ballman, rsmith, xbolva00
Subscribers: riccibruno, arphaman, ziangwan, ojeda, xbolva00,
nickdesaulniers, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D64838
llvm-svn: 369414
The file was modifiedclang/test/SemaCXX/warn-unused-label-error.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedclang/lib/Parse/ParseDecl.cpp
The file was modifiedclang/lib/Parse/ParseStmt.cpp
The file was modifiedclang/lib/Sema/AnalysisBasedWarnings.cpp
The file was modifiedclang/include/clang/Parse/Parser.h
The file was modifiedclang/test/SemaCXX/switch-implicit-fallthrough.cpp
The file was addedclang/test/Sema/fallthrough-attr.c
Commit 1d37ec1fda91bd2e7553f3651fe7ef4c54f767a0 by eric
bump lld version used by buildbots
llvm-svn: 369416
The file was modifiedlibcxx/utils/docker/scripts/run_buildbot.sh
Commit 4b7fc85c0bb76351d7ad848b52bdf955f0c9789c by Matthew.Arsenault
Revert "AMDGPU: Fix iterator error when lowering SI_END_CF"
This reverts r367500 and r369203. This is causing various test failures.
llvm-svn: 369417
The file was modifiedllvm/lib/Target/AMDGPU/SIInstructions.td
The file was modifiedllvm/lib/Target/AMDGPU/SIOptimizeExecMasking.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/si-lower-control-flow.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/llvm.amdgcn.ds.ordered.swap.ll
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SILowerControlFlow.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/collapse-endcf.mir
Commit c4299553f05ede6d6eab0081707f7e71ebea8c4e by a.bataev
Fix name of the error message, NFC.
llvm-svn: 369418
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
Commit 3b9a27b6908040881dad394022f8c472c15c0784 by llvm-dev
Fix typo in comment. NFCI.
llvm-svn: 369419
The file was modifiedllvm/include/llvm/CodeGen/BasicTTIImpl.h
Commit 958987bfdd16dd3e46db897f5579ba7a5d7c8224 by Louis Dionne
[libc++] Precise XFAIL for AppleClang 11
This test doesn't fail on all patch levels of AppleClang 11
llvm-svn: 369420
The file was modifiedlibcxx/test/std/utilities/meta/meta.rel/is_base_of_union.pass.cpp
Commit 292b1087f408b020f6bfdfbc27ffa062e0bef0a8 by spatel
[InstCombine] add helper function for icmp+zext/sext; NFC
llvm-svn: 369421
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit fc4486c2472b84384d4a31d2436a91bdb9b29792 by Louis Dionne
[libc++] Implement LWG 3199
Summary: The resolution of LWG 3199 makes sure that input-streaming into
an empty bitset does not set the failbit on the input stream.
Reviewers: mclow.lists, EricWF
Subscribers: christof, jkorous, dexonsmith, libcxx-commits
Tags: #libc
Differential Revision: https://reviews.llvm.org/D65105
llvm-svn: 369422
The file was modifiedlibcxx/include/istream
The file was modifiedlibcxx/test/std/utilities/template.bitset/bitset.operators/stream_in.pass.cpp
The file was modifiedlibcxx/www/upcoming_meeting.html
Commit cf2b8722d4e3bc4f0c106a5724778d56074e1ec7 by sbc
[WebAssembly][lld] Fix crash when applying relocations to debug sections
Debug sections are special in that they can contain relocations against
symbols that are not present in the final output (i.e. not live).
However it is also possible to have R_WASM_TABLE_INDEX relocations
against symbols that don't have a table index assigned (since they are
not address taken by actual code.
Fixes: https://github.com/emscripten-core/emscripten/issues/9023
Differential Revision: https://reviews.llvm.org/D66435
llvm-svn: 369423
The file was modifiedllvm/lib/MC/MCParser/WasmAsmParser.cpp
The file was addedlld/test/wasm/debuginfo-relocs.s
The file was modifiedlld/wasm/InputChunks.cpp
The file was modifiedlld/wasm/InputFiles.cpp
Commit 1271521ed887308abeb740f2e738c2d3333febc8 by apl
[ClangExpressionParser] Add ClangDeclVendor
Summary: This introduces a layer between DeclVendor and the currently
implemented DeclVendors (ClangModulesDeclVendor and
AppleObjCDeclVendor). This allows the removal of
DeclVendor::GetImporterSource which is extremely clang-specific, freeing
up the interface to be more general.
A good follow up to this would be to remove the remaining instances of
clang in DeclVendor, either by moving things to ClangDeclVendor or by
using wrappers (e.g. CompilerDecl instead of clang::NamedDecl).
Differential Revision: https://reviews.llvm.org/D66451
llvm-svn: 369424
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.h
The file was modifiedlldb/include/lldb/Symbol/DeclVendor.h
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.h
The file was addedlldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
Commit 8a91aa53a062a03e19e26e896ffdd10ffc67801b by martin
[COFF] Print the file name on errors writing the pdb file
This avoids confusing contextless error messages such as "No such file
or directory" if e.g. the pdb output file should be written to a
nonexistent directory. (This can happen with linkrepro scripts, at least
old ones.)
Differential Revision: https://reviews.llvm.org/D66466
llvm-svn: 369425
The file was modifiedlld/COFF/PDB.cpp
Commit 514f3a122d659dc45f272a1a519387680e221ffd by martin
[TargetMachine] Don't try to create COFFSTUB references on windows on
non-COFF
This avoids spurious relocation types for windows/elf targets.
Differential Revision: https://reviews.llvm.org/D66401
llvm-svn: 369426
The file was modifiedllvm/lib/Target/X86/X86Subtarget.cpp
The file was modifiedllvm/test/CodeGen/X86/mingw-refptr.ll
The file was modifiedllvm/lib/Target/TargetMachine.cpp
Commit fd4d77707ff87ff77b2636a8d532f50c8cf066c0 by dallasftball
[Sema][Typo] Fix assertion failure for expressions with multiple typos
Summary: As Typo Resolution can create new TypoExprs while resolving
typos, it is necessary to recurse through the expression to search for
more typos.
This should fix the assertion failure in `clang::Sema::~Sema()`:
`DelayedTypos.empty() && "Uncorrected typos!"`
Notes:
- In case some TypoExprs are created but thrown away, Sema
now has a Vector that is used to keep track of newly created
typos.
- For expressions with multiple typos, we only give suggestions
if we are able to resolve all typos in the expression
- This patch is similar to D37521 except that it does not eagerly
commit to a correction for the first typo in the expression.
Instead, it will search for corrections which fix all of the
typos in the expression.
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D62648
llvm-svn: 369427
The file was addedclang/test/Sema/typo-correction-recursive.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
The file was modifiedclang/lib/Sema/SemaLookup.cpp
The file was modifiedclang/lib/Sema/SemaExprCXX.cpp
Commit bc2f425377085133aeeac3ce31c4532138301c23 by eric
fix buildbot start script to no longer hang
llvm-svn: 369428
The file was modifiedlibcxx/utils/docker/scripts/run_buildbot.sh
Commit c310e5a7ab6c7606f2c9ef0d7b0efae8a5568efe by Louis Dionne
[libc++] Avoid implicit conversion warning in a <random> test
By stashing the computation of `E::max() - E::min()` in a variable, we
avoid the warning introduced in r367497. Note that we use `auto` to
avoid having to deduce the type of the computation, which is not a
problem since Clang provides `auto` as an extension even in C++03 (and
we disable warnings related to using C++11 extensions in the test
suite).
llvm-svn: 369429
The file was modifiedlibcxx/test/std/numerics/rand/rand.util/rand.util.canonical/generate_canonical.pass.cpp
Commit 57ae6b8e377c8af41c9a017fe9b7c7f4b2fc04f7 by jonathan.l.peyton
Force honoring nthreads-var and thread-limit-var inside teams construct
on host
This patch fixes https://bugs.llvm.org/show_bug.cgi?id=42906, via adding
adjustment of number of threads on enter to the teams construct on host
according to user settings. This allows to pass checks and avoid
assertions at time of team of threads creation.
Patch by Andrey Churbanov
Differential Revision: https://reviews.llvm.org/D66351
llvm-svn: 369430
The file was modifiedopenmp/runtime/src/kmp_runtime.cpp
Commit 250951abf551bd6d91fcf568739f84f046fe280a by craig.topper
[X86] Add isel patterns for (i64 (zext (i8 (bitcast (v16i1 X))))) to use
a KMOVW and a SUBREG_TO_REG. Similar for i8 and anyextend.
We already had patterns for extending to i32 to take advantage of the
impliciting zeroing of the upper bits of a 32-bit GPR that is done by
KMOVW/KMOVB. But the extend might be all the way to i64, in which case
the existing patterns would fail and we'd get a KMOVW/B followed by a
MOVZX. By adding patterns for i64 we can use the fact that KMOVW/B zero
the upper bits of the 32-bit GPR and the normal property that 32-bit GPR
writes implicitly zero the upper 32-bits of the full 64-bit GPR.
The anyextend patterns are slightly different since we don't care about
the upper zeros. For the i8->i64 I think this avoids selecting the
anyextend as a MOVZX to prevent a partial register issue that doesn't
exist. For i16->i64 I think we would have just emitted an insert_subreg
on top of the extract_subreg that the vXi16->i16 bitcast pattern emits.
The register coalescer or peephole pass should combine those, but this
saves that work and makes i8/16 consistent.
llvm-svn: 369431
The file was modifiedllvm/test/CodeGen/X86/bitcast-setcc-128.ll
The file was modifiedllvm/test/CodeGen/X86/kshift.ll
The file was modifiedllvm/test/CodeGen/X86/avx512vl-vec-masked-cmp.ll
The file was modifiedllvm/lib/Target/X86/X86InstrAVX512.td
Commit 9fd495be1fb1470bfefa59938904a8f38920e0f1 by a.bataev
[OPENMP]Fix delayed diagnostics for standalone declare target directive.
If the function is marked as declare target in a standalone directive,
the delayed diagnostics is not emitted. Patch fixes this problem.
llvm-svn: 369432
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/test/OpenMP/nvptx_va_arg_delayed_diags.c
The file was modifiedclang/test/OpenMP/nvptx_asm_delayed_diags.c
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
Commit 8f5e1755ca385566c0352a9bd292218cebfd3d0b by mitchphillips
[GWP-ASan] Fix typos.
Summary: Fix two spelling typos and de-indent a guarded #define so that
it's consistent with clang-format.
Reviewers: vitalybuka
Reviewed By: vitalybuka
Subscribers: #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D66311
llvm-svn: 369433
The file was modifiedcompiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
Commit 3a2b08e6c90c10fee341f3be257397dbb6034ecb by craig.topper
[X86] Add a DAG combine to transform (i8 (bitcast (v8i1
(extract_subvector (v16i1 X), 0)))) -> (i8 (trunc (i16 (bitcast (v16i1
X))))) on KNL target
Without AVX512DQ we don't have KMOVB so we can't really copy 8-bits of a
k-register to a GPR. We have to copy 16 bits instead. We do this even if
the DAG copy is from v8i1->v16i1. If we detect the (i8 (bitcast (v8i1
(extract_subvector (v16i1 X), 0)))) we should rewrite the types to match
the copy we do support. By doing this, we can help known bits to
propagate without losing the upper 8 bits of the input to the
extract_subvector. This allows some zero extends to be removed since we
have an isel pattern to use kmovw for (zero_extend (i16 (bitcast (v16i1
X))).
Differential Revision: https://reviews.llvm.org/D66489
llvm-svn: 369434
The file was modifiedllvm/test/CodeGen/X86/avx512-intrinsics.ll
The file was modifiedllvm/test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/avx512vlcd-intrinsics-fast-isel.ll
Commit 8509b0a7788a27f1211b6d0a4a676f11b114211f by Jonas Devlieghere
[CMake] Remove LLDB_TEST_USE_CUSTOM_C(XX)_COMPILER
Given that LLDB_TEST_USE_CUSTOM_C_COMPILER and LLDB_TEST_C_COMPILER are
both set at configuration time, I don't really see the point of having
both. This patch simplifies things and uses the custom C/C++ compiler
when the variable is set, and uses the default one when it's not set.
The variable can be unset by passing -ULLDB_TEST_C_COMPILER to CMake.
Differential revision: https://reviews.llvm.org/D66429
llvm-svn: 369435
The file was modifiedlldb/docs/resources/test.rst
The file was modifiedlldb/CMakeLists.txt
The file was modifiedlldb/docs/resources/build.rst
Commit cb40f89c6e2263a22acd62dbd55152e8e114ba60 by apl
[Symbol][NFC] Remove references to clang in TypeMap
llvm-svn: 369436
The file was modifiedlldb/source/Symbol/TypeMap.cpp
Commit 80ddfcb5b813a61bc75b8a8db0144416d7a47226 by z.zoelec2
[libc++] Fix std::abs tests
On systems where sizeof(long) == sizeof(int) the current tests failed.
This commit updates those tests to work on all systems. std::abs has
specific long specializations which can be used instead.
llvm-svn: 369437
The file was modifiedlibcxx/test/std/numerics/c.math/abs.pass.cpp
Commit 6f833c6fe13223f80f5147138992a0ca19206d6d by Jinsong Ji
[llvm-extract] Update the help message for group extraction feature
Summary: https://reviews.llvm.org/D60973 exposed the group extraction
feature of the BlockExtractor to llvm-extract. However, the help message
was not updated, so users might not be able to know how to use this
feature without looking into history/commits.
This patch just update the help message to show how to use this group
extraction feature.
Reviewers: qcolombet, volkan
Reviewed By: qcolombet
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66438
llvm-svn: 369438
The file was modifiedllvm/tools/llvm-extract/llvm-extract.cpp
Commit 48e81e8e10ed869f986a256127327713d362eec8 by spatel
[InstCombine] add tests for mismatched cast ops for icmp; NFC
Motivating case is shown in PR42700:
https://bugs.llvm.org/show_bug.cgi?id=42700
llvm-svn: 369439
The file was modifiedllvm/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll
Commit 5adace352d5ef63fe344dc95a375bd33040ea987 by aktoon
[AutoFDO] Make call targets order deterministic for sample profile
Summary: StringMap is used for storing call target to frequency map for
AutoFDO. However the iterating order of StringMap is non-deterministic,
which leads to non-determinism in AutoFDO profile output. Now new API
getSortedCallTargets and SortCallTargets are added for deterministic
ordering and output.
Roundtrip test for text profile and binary profile is added.
Reviewers: wmi, davidxl, danielcdh
Subscribers: hiraditya, mgrang, llvm-commits, twoh
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66191
llvm-svn: 369440
The file was modifiedllvm/test/tools/llvm-profdata/sample-profile-basic.test
The file was modifiedllvm/test/tools/llvm-profdata/Inputs/sample-profile.proftext
The file was modifiedllvm/lib/Transforms/IPO/SampleProfile.cpp
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
The file was modifiedllvm/lib/ProfileData/SampleProf.cpp
The file was modifiedllvm/lib/ProfileData/SampleProfWriter.cpp
The file was modifiedllvm/test/tools/llvm-profdata/roundtrip.test
Commit 63487bfec927e378e67748fee2730eacebfa1a77 by sebpop
[AArch64] Speed-up leak and address sanitizers on AArch64 for 48-bit VMA
This patch fixes https://github.com/google/sanitizers/issues/703 On a
Graviton-A1 aarch64 machine with 48-bit VMA, the time spent in LSan and
ASan reduced from 2.5s to 0.01s when running
clang -fsanitize=leak
compiler-rt/test/lsan/TestCases/sanity_check_pure_c.c && time ./a.out
clang -fsanitize=address
compiler-rt/test/lsan/TestCases/sanity_check_pure_c.c && time ./a.out
With this patch, LSan and ASan create both the 32 and 64 allocators and
select at run time between the two allocators following a global
variable that is initialized at init time to whether the allocator64 can
be used in the virtual address space.
Differential Revision: https://reviews.llvm.org/D60243
llvm-svn: 369441
The file was modifiedcompiler-rt/lib/asan/asan_allocator.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_combined.h
The file was addedcompiler-rt/lib/sanitizer_common/sanitizer_runtime_select_allocator.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_primary32.h
The file was modifiedcompiler-rt/lib/asan/asan_stats.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
The file was modifiedcompiler-rt/lib/lsan/lsan_allocator.h
The file was modifiedcompiler-rt/lib/asan/asan_allocator.h
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
The file was modifiedcompiler-rt/lib/asan/asan_stats.h
Commit b0a7544ee2e369eb34be2e2c33f56d1170b6bde3 by leonardchan
[NewPM] Run ubsan-coroutines test under the legacy pass manager only
The passes that lower the llvm.coro.* instrinsics have not yet been
ported, so only run under the legacy PM for now.
See https://bugs.llvm.org/show_bug.cgi?id=42867
Differential Revision: https://reviews.llvm.org/D66493
llvm-svn: 369442
The file was modifiedclang/test/CodeGenCXX/ubsan-coroutines.cpp
Commit 100957153a91bc8f69b9abbede29612667c8e5a8 by martin
[test] Fix tests when run on windows after SVN r369426. NFC.
When running tests on windows, invoking "llc -march=<arch>" will
implicitly use windows as the target os, making these tests misbehave
after this change.
Fix the issue by using more specific -mtriple values instead of plain
-march in these tests.
This should hopefully fix buildbot failures like
http://lab.llvm.org:8011/builders/clang-x64-windows-msvc/builds/9816.
llvm-svn: 369443
The file was modifiedllvm/test/CodeGen/Hexagon/pic-sdata.ll
The file was modifiedllvm/test/CodeGen/SPARC/tls.ll
The file was modifiedllvm/test/CodeGen/Hexagon/pic-jt-big.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/propagate-attributes-clone.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/propagate-attributes-single-set.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/propagate-attributes-bitcast-function.ll
Commit a99086dbdd92a39ad130f407fad82fee975f986b by michael.hliao
[Attributor] Remove unused variable. NFC.
llvm-svn: 369444
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 08a5a0aa252aca6e5d7c82247075072d317f1925 by martin
[COFF] Check errorCount before committing the output file
This avoids producing an output file if errors appeared late in the
linking process (e.g. while fixing relocations, or as in the test, while
checking for multiple resources). If an output file is produced, build
tools might not retry building it on rebuilds, even if a previous build
failed due to the error return code.
Differential Revision: https://reviews.llvm.org/D66491
llvm-svn: 369445
The file was modifiedlld/test/COFF/multiple-resource-objs.test
The file was modifiedlld/COFF/Writer.cpp
Commit d5035727ad2cd8a3ab501250c78a68e8cb52dd5c by spatel
[InstCombine] add more extra use tests for icmp with extends; NFC
llvm-svn: 369447
The file was modifiedllvm/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll
Commit 7fa6865392692e1446376e52f9c2b264d58b2294 by mclow.lists
Fix a couple of unguarded operator, calls in algorithm. Fixes PR#43063.
Updated all the heap tests to check this.
llvm-svn: 369448
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.heap.operations/sort.heap/sort_heap_comp.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap_comp.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.heap.operations/push.heap/push_heap.pass.cpp
The file was modifiedlibcxx/include/algorithm
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.heap.operations/pop.heap/pop_heap.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.heap.operations/push.heap/push_heap_comp.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.heap.operations/sort.heap/sort_heap.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until_comp.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_until.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.heap.operations/is.heap/is_heap_comp.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.heap.operations/pop.heap/pop_heap_comp.pass.cpp
Commit d3971fe97b64785c079d64bf4c8c3e2b5e1f85a1 by Artem Dergachev
[analyzer] Improve VirtualCallChecker and enable parts of it by default.
Calling a pure virtual method during construction or destruction is
undefined behavior. It's worth it to warn about it by default. That part
is now known as the cplusplus.PureVirtualCall checker.
Calling a normal virtual method during construction or destruction may
be fine, but does behave unexpectedly, as it skips virtual dispatch. Do
not warn about this by default, but let projects opt in into it by
enabling the optin.cplusplus.VirtualCall checker manually.
Give the two parts differentiated warning text:
  Before:
    Call to virtual function during construction or destruction:
   Call to pure virtual function during construction
    Call to virtual function during construction or destruction:
   Call to virtual function during destruction
  After:
    Pure virtual method call:
   Call to pure virtual method 'X::foo' during construction
       has undefined behavior
    Unexpected loss of virtual dispatch:
   Call to virtual method 'Y::bar' during construction
       bypasses virtual dispatch
Also fix checker names in consumers that support them (eg., clang-tidy)
because we now have different checker names for pure virtual calls and
regular virtual calls.
Also fix capitalization in the bug category.
Differential Revision: https://reviews.llvm.org/D64274
llvm-svn: 369449
The file was modifiedclang/test/Analysis/virtualcall.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Checkers/Checkers.td
The file was modifiedclang/lib/StaticAnalyzer/Checkers/VirtualCallChecker.cpp
The file was modifiedclang/test/Analysis/virtualcall.h
The file was modifiedclang/lib/StaticAnalyzer/Core/CommonBugCategories.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/CheckerManager.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/CommonBugCategories.h
The file was addedclang/test/Analysis/virtualcall-plist.cpp
Commit 8eb7a74b7808584e017673d5046db867fb873e60 by Artem Dergachev
[analyzer] Fix a crash when destroying a non-region.
Add defensive check that prevents a crash when we try to evaluate a
destructor whose this-value is a concrete integer that isn't a null.
Differential Revision: https://reviews.llvm.org/D65349
llvm-svn: 369450
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
The file was modifiedclang/lib/StaticAnalyzer/Core/ExprEngine.cpp
The file was modifiedclang/test/Analysis/dtor.cpp
Commit 3fdc427f0bc8a48bc56ac29d75ec53a68b6a25f2 by Artem Dergachev
[analyzer] NFC: Remove the BugTypes set from BugReporter.
Its only purpose was to avoid a bug that's caused by making a virtual
call in BugReporter's destructor.
llvm-svn: 369451
The file was modifiedclang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporter.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
Commit c569d4af4c652579e28dd31983097bceca101de0 by Jonas Devlieghere
[NFC] Update RegularExpression documentation
llvm-svn: 369452
The file was modifiedlldb/include/lldb/Utility/RegularExpression.h
Commit 27a313ebde156f2db5f071a10444c9df8c332fc6 by medismail.bennani
[LLDB][Test] Remove `skipIfWindows` for conditional breakpoint test
(NFC)
Summary: The test for conditional breakpoints on Windows was skipped
because there was no expression evaluation support at the time it was
written.
After removing the annotation and testing it again, the test is passing.
http://lists.llvm.org/pipermail/lldb-dev/2019-August/015405.html
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Reviewers: stella.stamenova, jingham
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D66499
llvm-svn: 369453
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
Commit 1e46d4cec535588dec8653757894d890e38942cb by sfertile
Adds support for writing the .bss section for XCOFF object files.
Adds Wrapper classes for MCSymbol and MCSection into the XCOFF target
object writer. Also adds a class to represent the top-level sections,
which we materialize in the ObjectWriter.
executePostLayoutBinding will map all csects into the appropriate
container depending on its storage mapping class, and map all symbols
into their containing csect. Once all symbols have been processed we
- Assign addresses and symbol table indices.
- Calaculte section sizes.
- Build the section header table.
- Assign the sections raw-pointer value for non-virtual sections.
Since the .bss section is virtual, writing the header table is enough to
add support. Writing of a sections raw data, or of any relocations is
not included in this patch.
Testing is done by dumping the section header table, but it needs to be
extended to include dumping the symbol table once readobj support for
dumping auxiallary entries lands.
Differential Revision: https://reviews.llvm.org/D65159
llvm-svn: 369454
The file was modifiedllvm/lib/MC/XCOFFObjectWriter.cpp
The file was modifiedllvm/test/CodeGen/PowerPC/aix-xcoff-common.ll
The file was modifiedllvm/lib/MC/MCObjectFileInfo.cpp
The file was modifiedllvm/include/llvm/MC/MCSymbolXCOFF.h
The file was modifiedllvm/include/llvm/MC/MCSectionXCOFF.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/XCOFF.h
The file was modifiedllvm/lib/MC/MCXCOFFStreamer.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
The file was modifiedllvm/include/llvm/MC/MCContext.h
The file was modifiedllvm/lib/MC/MCContext.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
The file was modifiedllvm/include/llvm/MC/StringTableBuilder.h
The file was modifiedllvm/lib/MC/StringTableBuilder.cpp
Commit 5c8a29fe011a2b4b650a10dc8d8dcf1c3397921b by Jessica Paquette
Teach GlobalISelEmitter to treat used iPTRAny operands as pointer
operands
Overloaded intrinsics can use iPTRAny in used/input operands.
The GlobalISelEmitter doesn't know that these are pointers, so it treats
them as scalars. As a result, these intrinsics can't be imported.
This teaches the GlobalISelEmitter to recognize these as pointers rather
than scalars.
Differential Revision: https://reviews.llvm.org/D65756
llvm-svn: 369455
The file was modifiedllvm/utils/TableGen/CodeGenIntrinsics.h
The file was modifiedllvm/utils/TableGen/GlobalISelEmitter.cpp
The file was addedllvm/test/TableGen/GlobalISelEmitterOverloadedPtr.td
The file was modifiedllvm/utils/TableGen/CodeGenTarget.cpp
Commit b2232a1af3211f6d9b279f102653d505b1fe76b2 by apl
[Symbol] Move VerifyDecl to ClangASTContext
VerifyDecl is specific to clang and is only used in ClangASTContext.
llvm-svn: 369456
The file was removedlldb/include/lldb/Symbol/VerifyDecl.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was removedlldb/source/Symbol/VerifyDecl.cpp
The file was modifiedlldb/source/Symbol/CMakeLists.txt
Commit 22fb734907e004b057a4f97da5a3f8b90bf350cf by rnk
Revert [WinEH] Allocate space in funclets stack to save XMM CSRs
This reverts r367088 (git commit
9ad565f70ec5fd3531056d7c939302d4ea970c83)
And the follow up fix r368631 / e9865b9b31bb2e6bc742dc6fca8f9f9517c3c43e
llvm-svn: 369457
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.h
The file was modifiedllvm/test/CodeGen/X86/avx512-intel-ocl.ll
The file was modifiedllvm/test/CodeGen/X86/x86-interrupt_cc.ll
The file was modifiedllvm/lib/Target/X86/X86FrameLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/catchpad-realign-savexmm.ll
The file was modifiedllvm/lib/Target/X86/X86MachineFunctionInfo.h
The file was removedllvm/test/CodeGen/X86/win64-funclet-savexmm.ll
Commit be6c0794197558c7ca9775cd7c0b97e816c2c5e2 by alexandre.ganea
[DebugInfo] Add debug location to dynamic atexit destructor
Fixes PR43012
Differential Revision: https://reviews.llvm.org/D66328
llvm-svn: 369458
The file was modifiedclang/lib/CodeGen/CGDeclCXX.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/test/CodeGenCXX/debug-info-global-ctor-dtor.cpp
The file was addedclang/test/CodeGenCXX/debug-info-atexit-stub.cpp
Commit ba375263e868583b709f5b3193d3286648d2f2ab by craig.topper
[DAGCombiner][X86] Teach visitCONCAT_VECTORS to combine (concat_vectors
(concat_vectors X, Y), undef)) -> (concat_vectors X, Y, undef, undef)
I also had to add a new combine to X86's combineExtractSubvector to
prevent a regression.
This helps our vXi1 code see the full concat operation and allow it
optimize undef to a zero if there is already a zero in the concat. This
helped us use a movzx instead of an AND in some of the tests. In those
tests, one concat comes from SelectionDAGBuilder and the second comes
from type legalization of v4i1->i4 bitcasts which uses an additional
concat. Though these changes weren't my original motivation.
I'm looking at making X86ISelLowering's narrowShuffle emit a
concat_vectors instead of an insert_subvector since concat_vectors is
more canonical during early DAG combine. This patch helps prevent a
regression from my experiments with that.
Differential Revision: https://reviews.llvm.org/D66456
llvm-svn: 369459
The file was modifiedllvm/test/CodeGen/X86/vec_uaddo.ll
The file was modifiedllvm/test/CodeGen/X86/vec_smulo.ll
The file was modifiedllvm/test/CodeGen/X86/avx512vl-vec-masked-cmp.ll
The file was modifiedllvm/test/CodeGen/X86/vec_saddo.ll
The file was modifiedllvm/test/CodeGen/X86/vec_ssubo.ll
The file was modifiedllvm/test/CodeGen/X86/oddshuffles.ll
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/test/CodeGen/X86/vec_umulo.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
The file was modifiedllvm/test/CodeGen/X86/vec_usubo.ll
Commit 9a95e79b1b141cf8bb26e77c88b3eb2de35c32bf by Jessica Paquette
[AArch64][GlobalISel] Select patterns which use shifted register
operands
This adds GlobalISel equivalents for the following from
AArch64InstrFormats:
- arith_shifted_reg32
- arith_shifted_reg64
And partial support for
- logical_shifted_reg32
- logical_shifted_reg32
The only thing missing for the logical cases is support for rotates.
Other than the missing support, the transformation is identical for the
arithmetic shifted register and the logical shifted register.
Lots of tests here:
- Add select-arith-shifted-reg.mir to show that we correctly select add
and sub instructions which use this pattern.
- Add select-logical-shifted-reg.mir to cover patterns which are not
shared between the arithmetic and logical cases.
- Update addsub-shifted.ll to show that we correctly fold shifts into
adds/subs.
- Update eon.ll to show that we can select the eon instruction by
folding xors.
Differential Revision: https://reviews.llvm.org/D66163
llvm-svn: 369460
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/select-logical-shifted-reg.mir
The file was modifiedllvm/test/CodeGen/AArch64/addsub-shifted.ll
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/select-arith-shifted-reg.mir
The file was modifiedllvm/test/CodeGen/AArch64/eon.ll
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit 0dcd186b0d188e03da115f5fdc6fc311576e6b76 by Jonas Devlieghere
[NFC] Fix -Wdocumentation warnings in Utility.
This patch fixes a bunch of -Wdocumentation warnings in Utility. I'm
sure there are still a bunch outdated comments left, but this fixes the
most flagrant inconsistencies that the compiler understands.
llvm-svn: 369461
The file was modifiedlldb/include/lldb/Utility/Args.h
The file was modifiedlldb/include/lldb/Utility/Predicate.h
The file was modifiedlldb/include/lldb/Utility/Status.h
The file was modifiedlldb/include/lldb/Utility/DataEncoder.h
The file was modifiedlldb/include/lldb/Utility/Stream.h
The file was modifiedlldb/include/lldb/Utility/UUID.h
The file was modifiedlldb/include/lldb/Utility/DataExtractor.h
Commit 89463fcfc715ad3dab43a99b49565ffbae9457a1 by sfertile
Remove assert with tautological compare from XCOFFObjectWriter.
Remove assert of 'Sec->getCSectType() <= 0x07u' added in r369454, since
its always true.
llvm-svn: 369462
The file was modifiedllvm/lib/MC/XCOFFObjectWriter.cpp
Commit 4f41779cca7d9a14fdf273d0dd3e056bbb0d1320 by mclow.lists
Add a missing _VSTD:: before a call to merge. Fixes PR43034. Checked the
rest of 'algorithm' looking for unqualified calls. Didn't find any.
llvm-svn: 369463
The file was modifiedlibcxx/include/algorithm
Commit 1c528e8f1b29b48bcb37a3a6e5e4c97572300102 by asbirlea
[MemorySSA] Fix existing phis when inserting defs.
Summary: When inserting a new Def, and inserting Phis in the IDF when
needed, also mark the already existing Phis in the IDF as non-optimized,
since these may need fixing as well. In the test attached, there is a
Phi in the IDF that happens to be trivial, and is wrongfully removed by
the call to getLastDef that follows. This is a valid situation and the
existing IDF Phis need to marked as "may need fixing" as well. Resolves
PR43044.
Reviewers: george.burgess.iv
Subscribers: Prazek, sanjoy.google, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66495
llvm-svn: 369464
The file was modifiedllvm/lib/Analysis/MemorySSAUpdater.cpp
The file was addedllvm/test/Analysis/MemorySSA/PR43044.ll
Commit e6c299b98312b7fcff2fdfe1681263c82e9453af by Jessica Paquette
[AArch64][GlobalISel] Select logical_imm32 and logical_imm64 patterns
Add a GlobalISel equivalent for the logical_imm32_XFORM and
logical_imm64_XFORM SDNodeXForms in AArch64InstrFormats.td.
- Add select-logical-imm.mir, which contains tests for each imported
pattern.
- Update select-pr32733.mir and select-scalar-shift-imm.mir, since they
now select instructions of this form.
Differential Revision: https://reviews.llvm.org/D66162
llvm-svn: 369465
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/select-logical-imm.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-scalar-shift-imm.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/select-pr32733.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64InstrFormats.td
The file was modifiedllvm/lib/Target/AArch64/AArch64InstructionSelector.cpp
Commit 2863721f0582b304d37c8b37b92574d246598b18 by asbirlea
[MemorySSA] Make Phi cleanups consistent.
Summary: Make Phi cleanups consistent: remove self as a trivial Phi and
recurse to potentially remove other trivial phis.
Reviewers: george.burgess.iv
Subscribers: Prazek, sanjoy.google, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66454
llvm-svn: 369466
The file was modifiedllvm/lib/Analysis/MemorySSAUpdater.cpp
The file was modifiedllvm/include/llvm/Analysis/MemorySSAUpdater.h
Commit a16bd4f9f25e6fa489f070743147ba5e7d6e58cf by daniel_l_sanders
[RISCV GlobalISel] Adding initial GlobalISel infrastructure
Summary: Add an initial GlobalISel skeleton for RISCV. It can only run
ir translator for `ret void`.
Patch by Andrew Wei
Reviewers: asb, sabuasal, apazos, lenary, simoncook, lewis-revill,
edward-jones, rogfer01, xiangzhai, rovka, Petar.Avramovic, mgorny,
dsanders
Reviewed By: dsanders
Subscribers: pzheng, s.egerton, dsanders, hiraditya, rbar, johnrusso,
niosHD, kito-cheng, shiva0217, jrtc27, MaskRay, zzheng, MartinMosbeck,
brucehoult, the_o, PkmX, jocewei, psnobl, benna, Jim, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65219
llvm-svn: 369467
The file was addedllvm/lib/Target/RISCV/RISCVInstructionSelector.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCV.td
The file was addedllvm/lib/Target/RISCV/RISCVLegalizerInfo.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVSubtarget.h
The file was modifiedllvm/lib/Target/RISCV/RISCVTargetMachine.cpp
The file was modifiedllvm/lib/Target/RISCV/LLVMBuild.txt
The file was addedllvm/lib/Target/RISCV/RISCVCallLowering.cpp
The file was addedllvm/lib/Target/RISCV/RISCVRegisterBanks.td
The file was addedllvm/lib/Target/RISCV/RISCVRegisterBankInfo.cpp
The file was addedllvm/lib/Target/RISCV/RISCVRegisterBankInfo.h
The file was addedllvm/test/CodeGen/RISCV/GlobalISel/irtranslator-calllowering.ll
The file was addedllvm/lib/Target/RISCV/RISCVCallLowering.h
The file was modifiedllvm/lib/Target/RISCV/RISCVSubtarget.cpp
The file was addedllvm/test/CodeGen/RISCV/GlobalISel/calllowering-ret.ll
The file was modifiedllvm/lib/Target/RISCV/CMakeLists.txt
The file was modifiedllvm/lib/Target/RISCV/RISCV.h
The file was addedllvm/lib/Target/RISCV/RISCVLegalizerInfo.h
Commit 21e96030301e5f8b592ab4b608e3e61bb4d5091f by alexandre.ganea
[Sanitizer] Remove unused functions
Differential Revision: https://reviews.llvm.org/D66503
llvm-svn: 369468
The file was modifiedllvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
Commit 33c283adfd0b157af7edb2bcde065248ca3b8c22 by deadalnix
[X86] Autogenerate vec_* tests. NFC
llvm-svn: 369469
The file was modifiedllvm/test/CodeGen/X86/vec_anyext.ll
The file was modifiedllvm/test/CodeGen/X86/vec_align.ll
The file was modifiedllvm/test/CodeGen/X86/vec_call.ll
The file was modifiedllvm/test/CodeGen/X86/vec_zero-2.ll
The file was modifiedllvm/test/CodeGen/X86/vec_split.ll
The file was modifiedllvm/test/CodeGen/X86/vec_shuf-insert.ll
The file was modifiedllvm/test/CodeGen/X86/vec_udiv_to_shift.ll
The file was modifiedllvm/test/CodeGen/X86/vec_align_i256.ll
The file was modifiedllvm/test/CodeGen/X86/vec_trunc_sext.ll
The file was modifiedllvm/test/CodeGen/X86/vec_round.ll
Commit 26121ae4d047e142594bd400cd5215aafb6d8cbb by sstipanovic
[Attributor] Liveness for internal functions.
For an internal function, if all its call sites are dead, the body of
the function is considered dead.
Reviewers: jdoerfert, uenoku
Subscribers: hiraditya, llvm-commits
Differential Revision: https://reviews.llvm.org/D66155
llvm-svn: 369470
The file was modifiedllvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/test/Transforms/FunctionAttrs/liveness.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
Commit 9467734a1c561a79be5b8a7d6cd8e4389d287c59 by sfertile
Fix assert in XCOFFObjectWriter related to program code csects.
Removed code that added program code csects to a collection as part of
addressing review comments, but I failed to update an assert affected by
the change before commiting.
llvm-svn: 369471
The file was modifiedllvm/lib/MC/XCOFFObjectWriter.cpp
Commit 5a7bba09acff4af0314641e6a0a45932ac74a594 by sebpop
[AArch64][asan] fix typo in AsanStats::Print
This created an infinite loop that timed out several build bots while
executing the test in compiler-rt/test/asan/TestCases/atexit_stats.cpp
Differential Revision: https://reviews.llvm.org/D60243
llvm-svn: 369472
The file was modifiedcompiler-rt/lib/asan/asan_stats.cpp
Commit 861b371e1386b6ac1069c9aa3050f7074fb64516 by atrick
Add TinyPtrVector support for general pointer-like things.
In particular, make TinyPtrVector<PtrIntPair<T *, 1>> work. Remove all
unnecessary assumptions that the element type has a formal "null"
representation. The important property to maintain is that
default-constructed element type has the same internal representation as
the default-constructed PointerUnion (all zero bits).
Remove the incorrect recursive behavior from PointerUnion::isNull. This
was never generally correct because it only recursed over the first type
parameter. With variadic templates it's completely unnecessary.
llvm-svn: 369473
The file was modifiedllvm/include/llvm/ADT/PointerUnion.h
The file was modifiedllvm/unittests/ADT/TinyPtrVectorTest.cpp
The file was modifiedllvm/include/llvm/ADT/TinyPtrVector.h
The file was modifiedllvm/unittests/ADT/PointerUnionTest.cpp
Commit ed757305b848b3ec163079dc1e0a2c6853eaf127 by rnk
Add triple to new test to try to pacify bots
llvm-svn: 369474
The file was modifiedclang/test/CodeGenCXX/debug-info-atexit-stub.cpp
Commit 4ccf5ba941366e7551dac05419847484b93de1cf by deadalnix
[X86] Automatically generate shift tests. NFC
llvm-svn: 369475
The file was modifiedllvm/test/CodeGen/X86/shift-one.ll
The file was modifiedllvm/test/CodeGen/X86/shift-parts.ll
The file was modifiedllvm/test/CodeGen/X86/shift-avx2-crash.ll
The file was modifiedllvm/test/CodeGen/X86/shift-i128.ll
The file was modifiedllvm/test/CodeGen/X86/shift-combine-crash.ll
The file was modifiedllvm/test/CodeGen/X86/shift-coalesce.ll
Commit 6fa300aa1e602136046198ae8bb076d2e577cec8 by nicolasweber
gn build: Merge r369467
llvm-svn: 369476
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Target/RISCV/BUILD.gn
Commit 625ab43318a9816ee26312a3f640d84740da7096 by Jonas Devlieghere
[dotest] Don't set the DWARF version override in CFLAGS_EXTRA.
We cannot override the DWARF version in the CFLAGS_EXTRA because they
are used by tests that explicitly build without debug info. Instead, we
pass them through the regular CFLAGS.
llvm-svn: 369477
The file was modifiedlldb/packages/Python/lldbsuite/test/dotest.py
The file was modifiedlldb/packages/Python/lldbsuite/test/plugins/builder_base.py
Commit 61eedd10c5d66e09c24d379054268039f989709f by nicolasweber
Remove llvm/utils/git/find-rev
It assumes git-svn, hasn't been touched in ages, and it's replaced by
llvm-git in llvm/utils/git-svn.
Differential Revision: https://reviews.llvm.org/D66193
llvm-svn: 369478
The file was removedllvm/utils/git/find-rev
Commit d979a2993561d42612da5ef45122fb69466967c3 by Jonas Devlieghere
[Doxygen] Document private class members.
Given that the C++ documentation is meant for LLDB developers it makes
sense to include private class members in the output.
llvm-svn: 369479
The file was modifiedlldb/docs/doxygen.cfg.in
Commit 56606a4db3e7c6b4a1b3bfd3b2dfc04c81a2247e by aemerson
[AArch64][GlobalISel] Add support for narrowScalar of G_ZEXT
We do this by merging the source with the high bits set to 0.
Differential Revision: https://reviews.llvm.org/D66181
llvm-svn: 369480
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was addedllvm/test/CodeGen/AArch64/GlobalISel/legalize-sext-zext-128.mir
The file was modifiedllvm/lib/Target/AArch64/AArch64LegalizerInfo.cpp
The file was removedllvm/test/CodeGen/AArch64/GlobalISel/legalize-sext-128.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalizer-info-validation.mir
The file was modifiedllvm/lib/Target/X86/X86RegisterBankInfo.cpp
Commit cc89063bff0f73ec7049a1dcb5d4688ae6806941 by nicolasweber
libcxx: Rename .hpp files in libcxx/test/support to .h
LLVM uses .h as its extension for header files.
Files renamed using:
    for f in libcxx/test/support/*.hpp; do git mv $f ${f%.hpp}.h; done
References to the files updated using:
    for f in $(git diff master | grep 'rename from' | cut -f 3 -d ' ');
do
       a=$(basename $f);
       echo $a;
       rg -l $a libcxx | xargs sed -i '' "s/$a/${a%.hpp}.h/";
   done
HPP include guards updated manually using:
    for f in $(git diff master | grep 'rename from' | cut -f 3 -d ' ');
do
     echo ${f%.hpp}.h ;
   done | xargs mvim
Differential Revision: https://reviews.llvm.org/D66104
llvm-svn: 369481
The file was addedlibcxx/test/support/msvc_stdlib_force_include.h
The file was modifiedlibcxx/test/libcxx/utilities/utility/pairs/pairs.pair/piecewise.pass.cpp
The file was addedlibcxx/test/support/user_defined_integral.h
The file was modifiedlibcxx/test/std/language.support/support.dynamic/destroying_delete_t_declaration.pass.cpp
The file was modifiedlibcxx/test/std/localization/locales/locale/locale.cons/locale_char_pointer_cat.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/triviality.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.template/starts_with.char.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.hash/enabled_hashes.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.concat.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.assign/copy.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_symlink/is_symlink.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.native.obs/c_str.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant_empty.fail.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/move.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/default.allocator/allocator.members/allocate.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.ops/equal_range_transparent.pass.cpp
The file was removedlibcxx/test/support/count_new.hpp
The file was modifiedlibcxx/test/std/containers/associative/multimap/multimap.ops/equal_range.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.perms.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op++/post.pass.cpp
The file was removedlibcxx/test/support/controlled_allocators.hpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.access/index_key.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.get/get_type.pass.cpp
The file was removedlibcxx/test/support/poisoned_hash_helper.hpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.template/starts_with.ptr.pass.cpp
The file was modifiedlibcxx/test/support/test.support/test_poisoned_hash_helper.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/nullptr_t_deleter_throw.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size.pass.cpp
The file was modifiedlibcxx/test/std/utilities/any/any.class/any.cons/default.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multimap/multimap.ops/count.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.ctor/rvalue_T.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/list/list.ops/remove_if.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.hash/hash.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.get/get_if_index.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.nonmember/swap.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.modifiers/clear.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_hard_link/create_hard_link.pass.cpp
The file was addedlibcxx/test/support/test_memory_resource.h
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.partitions/is_partitioned.pass.cpp
The file was modifiedlibcxx/test/std/utilities/utility/pairs/pairs.pair/assign_rv_pair_U_V.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.resource.global/default_resource.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.ops/count_transparent.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant_array.fail.cpp
The file was addedlibcxx/test/support/variant_test_helpers.h
The file was modifiedlibcxx/test/std/experimental/memory/memory.resource/memory.resource.public/deallocate.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.ctor/conv.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.comparison/opne.string_view.pointer.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.nonmember/append_op.pass.cpp
The file was modifiedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/UTypes.pass.cpp
The file was modifiedlibcxx/test/std/localization/locales/locale/locale.members/combine.pass.cpp
The file was modifiedlibcxx/test/std/utilities/any/any.class/any.cons/move.pass.cpp
The file was modifiedlibcxx/test/std/utilities/utility/pairs/pairs.pair/U_V.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_relative_and_proximate.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_rvalue.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/pop.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/move_assign.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.modifiers/replace_filename.pass.cpp
The file was modifiedlibcxx/test/libcxx/input.output/filesystems/class.directory_entry/directory_entry.mods/last_write_time.sh.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.assign/optional_U.pass.cpp
The file was modifiedlibcxx/test/libcxx/debug/containers/db_unord_container_tests.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.ops/compare.pointer.pass.cpp
The file was modifiedlibcxx/test/std/utilities/utility/pairs/pairs.pair/implicit_deduction_guides.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.nonmember/comparison_ops.fail.cpp
The file was modifiedlibcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_assign.pass.cpp
The file was modifiedlibcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_piecewise.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.hash/enabled_hash.pass.cpp
The file was modifiedlibcxx/test/std/utilities/any/any.class/any.assign/copy.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp
The file was modifiedlibcxx/test/std/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.dtor/dtor.pass.cpp
The file was modifiedlibcxx/test/libcxx/debug/containers/db_associative_container_tests.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.ctor/nullopt_t.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.heap.operations/make.heap/make_heap_comp.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_empty/is_empty.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.resource/memory.resource.public/dtor.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/auto_ptr.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.hash/enabled_hash.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.fill/fill_n.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.nonmember/path.io.unicode_bug.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.file_status/file_status.cons.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.native.obs/operator_string.pass.cpp
The file was addedlibcxx/test/support/uses_alloc_types.h
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.construct/default.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/make_shared.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/move_assign.pass.cpp
The file was addedlibcxx/test/support/nasty_macros.h
The file was modifiedlibcxx/test/std/containers/associative/multiset/count.pass.cpp
The file was modifiedlibcxx/test/std/utilities/type.index/type.index.hash/enabled_hash.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/move.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_first_not_of_char_size.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_defer_lock.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/enable_shared_from_this.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.threads/thread.thread.class/thread.thread.id/enabled_hashes.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_pointer_size_size.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.resource/memory.resource.public/is_equal.pass.cpp
The file was modifiedlibcxx/test/std/utilities/utility/pairs/pairs.pair/const_first_const_second.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/copy.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.ctor/in_place_type_args.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.append.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_type_args.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_last_of_pointer_size.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.assign/assign_value.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.last_write_time/last_write_time.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/unique_ptr.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_adopt_lock.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.template/ends_with.string_view.pass.cpp
The file was modifiedlibcxx/test/libcxx/containers/gnu_cxx/hash_set.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/count.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.itr/iterator.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/refresh.pass.cpp
The file was addedlibcxx/test/support/controlled_allocators.h
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.symlink_status/symlink_status.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.perm_options.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.ctor/empty_in_place_t_does_not_clobber.pass.cpp
The file was modifiedlibcxx/test/std/utilities/utility/pairs/pairs.pair/special_member_generation_test.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/disable_recursion_pending.pass.cpp
The file was modifiedlibcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/ctor.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/rfind_pointer_size_size.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/mutex_defer_lock.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/move.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.comparison/opgt.string_view.string_view.pass.cpp
The file was addedlibcxx/test/support/rapid-cxx-test.h
The file was modifiedlibcxx/test/std/algorithms/alg.nonmodifying/alg.search/search_n_pred.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/alloc_copy.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/list/list.modifiers/insert_iter_size_value.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_piecewise_pair.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_first_of_char_size.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.file_type.pass.cpp
The file was modifiedlibcxx/test/std/localization/locales/locale/locale.cons/locale_string_cat.pass.cpp
The file was modifiedlibcxx/test/libcxx/input.output/filesystems/class.path/path.req/is_pathable.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_types.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/find.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.resource/memory.resource.public/allocate.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/generic_string_alloc.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/list/list.modifiers/insert_iter_value.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_symlink/create_symlink.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.directory_options.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant_void.fail.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/default.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.ctor/in_place_type_init_list_args.pass.cpp
The file was modifiedlibcxx/test/std/utilities/any/any.class/any.cons/in_place_type.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory_symlink/create_directory_symlink.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_index_args.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.generate/generate_n.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/ctor.pass.cpp
The file was modifiedlibcxx/test/std/utilities/any/any.class/any.cons/copy.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.hash/hash_unique_ptr.pass.cpp
The file was removedlibcxx/test/support/private_constructor.hpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.ops/lower_bound.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.status/valueless_by_exception.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.ops/upper_bound.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_const_lvalue_pair.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/hard_link_count.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.modifiers/make_preferred.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.decompose/path.decompose.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.native.obs/string_alloc.pass.cpp
The file was modifiedlibcxx/test/std/localization/locale.stdcvt/codecvt_utf16.pass.cpp
The file was modifiedlibcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_const_lvalue_pair.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.nonmodifying/mismatch/mismatch_pred.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directories/create_directories.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op++/pre.pass.cpp
The file was addedlibcxx/test/support/filesystem_include.h
The file was modifiedlibcxx/test/std/experimental/memory/memory.resource.global/null_memory_resource.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/equal_range_transparent.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy/copy.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multimap/multimap.ops/lower_bound.pass.cpp
The file was addedlibcxx/test/support/filesystem_test_helper.h
The file was modifiedlibcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/enable_reduced_arity_initialization_extension.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.ctor/const_T.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/count_transparent.pass.cpp
The file was modifiedlibcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_values.pass.cpp
The file was modifiedlibcxx/test/libcxx/containers/gnu_cxx/hash_map.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.template/starts_with.string_view.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op_astrk/test.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/increment.pass.cpp
The file was removedlibcxx/test/support/filesystem_test_helper.hpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.file_size/file_size.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.assign/conv.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.mod/swap.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.native.obs/named_overloads.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/lower_bound.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.modifiers/swap.pass.cpp
The file was removedlibcxx/test/support/test_convertible.hpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_regular_file/is_regular_file.pass.cpp
The file was modifiedlibcxx/test/libcxx/containers/sequences/deque/spare_block_handling.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/equal.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/path.pass.cpp
The file was modifiedlibcxx/test/libcxx/debug/containers/db_sequence_container_iterators.multithread.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/copy_assign.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_block_file/is_block_file.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_last_not_of_pointer_size_size.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op_astrk/test.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/unord.hash/enabled_hashes.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multiset/equal_range_transparent.pass.cpp
The file was modifiedlibcxx/test/std/containers/set_allocator_requirement_test_templates.h
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.assign/T.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.resource/memory.resource.eq/not_equal.pass.cpp
The file was modifiedlibcxx/test/std/localization/locales/locale/locale.cons/locale_facetptr.pass.cpp
The file was modifiedlibcxx/test/libcxx/input.output/filesystems/class.path/path.itr/reverse_iterator_produces_diagnostic.fail.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/synop.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_other/is_other.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/canonical.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.ctor/default.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.ops/find.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.assign/move.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter_throw.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/mutex_adopt_lock.pass.cpp
The file was modifiedlibcxx/test/libcxx/debug/containers/db_sequence_container_iterators.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_type_init_list_args.pass.cpp
The file was removedlibcxx/test/support/user_defined_integral.hpp
The file was modifiedlibcxx/test/std/utilities/utility/pairs/pairs.pair/const_pair_U_V.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.read_symlink/read_symlink.pass.cpp
The file was modifiedlibcxx/test/libcxx/utilities/utility/pairs/pairs.pair/assign_tuple_like.pass.cpp
The file was modifiedlibcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair_rvalue.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/permissions.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op++/pre.pass.cpp
The file was modifiedlibcxx/test/std/localization/locales/locale/locale.cons/string.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.ops/equal_range.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.cons/from_literal.pass.cpp
The file was modifiedlibcxx/test/libcxx/utilities/tuple/tuple.tuple/tuple.cnstr/disable_reduced_arity_initialization_extension.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.assign/const_optional_U.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/do_allocate_and_deallocate.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/copy.pass.cpp
The file was modifiedlibcxx/test/std/utilities/any/any.class/any.modifiers/emplace.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.mod/emplace_index_init_list_args.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.absolute/absolute.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/copy.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.ops/compare.size_size_sv_pointer_size.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op=/lv_value.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.merge/inplace_merge_comp.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.decompose/empty.fail.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.gen/lexically_normal.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_last_of_pointer_size_size.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_size.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove/remove.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/default.allocator/allocator.members/construct.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/path.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/move_assign.pass.cpp
The file was modifiedlibcxx/test/libcxx/utilities/optional/optional.object/triviality.abi.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/symlink_status.pass.cpp
The file was modifiedlibcxx/test/std/utilities/any/any.nonmembers/any.cast/any_cast_reference.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.ops/compare.size_size_sv_size_size.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.ctor/T.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/inserter/test.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.comparison/opge.string_view.string_view.pass.cpp
The file was modifiedlibcxx/utils/libcxx/test/config.py
The file was modifiedlibcxx/test/std/localization/locales/locale/locale.cons/assign.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/increment.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.comparison/opne.string_view.string_view.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.ctor/move.pass.cpp
The file was addedlibcxx/test/support/nasty_containers.h
The file was modifiedlibcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/do_is_equal.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/depth.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.template/ends_with.char.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.ops/count.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.remove_all/remove_all.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/refwrap/refwrap.helpers/ref_2.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_first_not_of_pointer_size_size.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.resource.aliases/header_string_synop.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file.pass.cpp
The file was modifiedlibcxx/test/std/localization/locales/locale/locale.cons/copy.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.shared/thread.lock.shared.cons/move_ctor.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.assign/move.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multiset/equal_range.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_socket/is_socket.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.nonmodifying/alg.search/search_n.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.cons/test.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multiset/count_transparent.pass.cpp
The file was removedlibcxx/test/support/nasty_containers.hpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.get/get_index.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.get/get_if_type.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/file_type_obs.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op=/lv_value.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multiset/find.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.merge/merge_comp.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/special_members.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.members/default_ctor.pass.cpp
The file was modifiedlibcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/deduct.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.hash/hash.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/assign.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/allocate.pass.cpp
The file was removedlibcxx/test/support/counting_predicates.hpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.equivalent/equivalent.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.alg/swap.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_symlink/copy_symlink.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.comparison/opeq.string_view.pointer.pass.cpp
The file was modifiedlibcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_pair.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/forwardlist/forwardlist.ops/remove_if.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.weakly_canonical/weakly_canonical.pass.cpp
The file was modifiedlibcxx/test/std/utilities/any/any.class/any.assign/value.pass.cpp
The file was removedlibcxx/test/support/container_debug_tests.hpp
The file was modifiedlibcxx/test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_piecewise_pair.pass.cpp
The file was modifiedlibcxx/test/libcxx/algorithms/half_positive.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.swap/swap.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.ctor/alloc_move.pass.cpp
The file was addedlibcxx/test/support/test_convertible.h
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_string_view_size.pass.cpp
The file was modifiedlibcxx/test/std/utilities/template.bitset/bitset.hash/enabled_hash.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multimap/multimap.ops/equal_range_transparent.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.ctor/U.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_first_of_pointer_size.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.assign/emplace.pass.cpp
The file was modifiedlibcxx/test/std/localization/locale.stdcvt/codecvt_utf8.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.nonmember/path.factory.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move.pass.cpp
The file was removedlibcxx/test/support/nasty_macros.hpp
The file was modifiedlibcxx/test/std/containers/associative/multimap/multimap.ops/count_transparent.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/memory_resource_convert.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.comparison/oplt.string_view.string_view.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default.pass.cpp
The file was modifiedlibcxx/test/std/utilities/allocator.adaptor/allocator.adaptor.members/construct_type.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/recursion_pending.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_fifo/is_fifo.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.cons/container.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.ctor/default.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/directory_iterator.nonmembers/begin_end.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.swap/swap.pass.cpp
The file was modifiedlibcxx/test/std/containers/unord/unord.map/unord.map.elem/index.pass.cpp
The file was modifiedlibcxx/test/std/localization/locales/locale/locale.cons/locale_locale_cat.pass.cpp
The file was modifiedlibcxx/benchmarks/filesystem.bench.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.file_status/file_status.mods.pass.cpp
The file was modifiedlibcxx/test/std/thread/thread.mutex/thread.lock/thread.lock.unique/thread.lock.unique.cons/move_ctor.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.compare.pass.cpp
The file was modifiedlibcxx/test/libcxx/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/db_deallocate.pass.cpp
The file was modifiedlibcxx/test/std/localization/locales/locale/locale.cons/default.pass.cpp
The file was modifiedlibcxx/test/support/test.support/test_convertible_header.pass.cpp
The file was removedlibcxx/test/support/uses_alloc_types.hpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_n.pass.cpp
The file was removedlibcxx/test/support/test_memory_resource.hpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_directory/is_directory.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant_reference.fail.cpp
The file was modifiedlibcxx/test/std/containers/associative/multimap/multimap.ops/upper_bound.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.nonmember/append_op.fail.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.create_directory/create_directory_with_attributes.pass.cpp
The file was modifiedlibcxx/test/std/utilities/utility/pairs/pairs.pair/rv_pair_U_V.pass.cpp
The file was removedlibcxx/test/support/constexpr_char_traits.hpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.ops/compare.sv.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/deallocate.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.hard_lk_ct/hard_link_count.pass.cpp
The file was modifiedlibcxx/test/std/localization/locales/locale/locale.cons/char_pointer.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/map/map.access/index_rv_key.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.ctor/in_place_index_init_list_args.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/equal_range.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/copy_assign.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.hash/enabled_hash.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.inserter/test.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.copy_file/copy_file_large.pass.cpp
The file was addedlibcxx/test/support/container_debug_tests.h
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.cons/container.pass.cpp
The file was modifiedlibcxx/test/std/utilities/type.index/type.index.synopsis/hash_type_index.pass.cpp
The file was addedlibcxx/test/support/counting_predicates.h
The file was modifiedlibcxx/test/std/utilities/variant/variant.visit/visit.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F_assign.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/status.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.comparison/oplt.string_view.pointer.pass.cpp
The file was removedlibcxx/test/support/format_string.hpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/construct_pair_values.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/source.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.ctor/in_place_index_args.pass.cpp
The file was modifiedlibcxx/test/std/strings/basic.string/string.cons/implicit_deduction_guides.pass.cpp
The file was addedlibcxx/test/support/private_constructor.h
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.remove/remove_if.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.sorting/alg.min.max/minmax_init_list_comp.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.inserter/test.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.ctor/copy.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.ctor/default.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/list/list.modifiers/insert_iter_iter_iter.pass.cpp
The file was addedlibcxx/test/support/poisoned_hash_helper.h
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_char_file/is_character_file.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.cons/implicit_deduction_guides.pass.cpp
The file was modifiedlibcxx/test/libcxx/type_traits/convert_to_integral.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/comparisons.pass.cpp
The file was modifiedlibcxx/test/std/utilities/utility/pairs/pairs.pair/assign_const_pair_U_V.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_iterator/types.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.native.obs/native.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.hash/hash_shared_ptr.pass.cpp
The file was modifiedlibcxx/test/std/diagnostics/syserr/syserr.hash/enabled_hash.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.filesystem_error/filesystem_error.members.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.eq/not_equal.pass.cpp
The file was addedlibcxx/test/support/count_new.h
The file was modifiedlibcxx/test/std/strings/basic.string.hash/enabled_hashes.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/ctor.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.comparison/opge.string_view.pointer.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.nonmember/path.io.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.filesystem.synopsis/file_time_type.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multimap/multimap.ops/find.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multiset/lower_bound.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/set/upper_bound.pass.cpp
The file was modifiedlibcxx/test/std/algorithms/alg.modifying.operations/alg.copy/copy_backward.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.construct/source.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_assign.pass.cpp
The file was removedlibcxx/test/support/archetypes.hpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.members/copy_assign.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_last_not_of_char_size.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_pointer_size.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/braced_init.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.proximate/proximate.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/F.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.ops/compare.size_size_sv.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.object/optional.object.assign/nullopt_t.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.file_status/file_status.obs.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.ops/compare.pointer_size.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.comparison/ople.string_view.pointer.pass.cpp
The file was removedlibcxx/test/support/msvc_stdlib_force_include.hpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/move_assign.pass.cpp
The file was addedlibcxx/test/support/archetypes.h
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/default_const.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.generic.obs/named_overloads.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_F.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.current_path/current_path.pass.cpp
The file was removedlibcxx/test/support/variant_test_helpers.hpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/last_write_time.pass.cpp
The file was modifiedlibcxx/test/std/containers/sequences/vector.bool/enabled_hash.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.modifiers/remove_filename.pass.cpp
The file was addedlibcxx/test/support/constexpr_char_traits.h
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_function.pass.cpp
The file was removedlibcxx/test/support/filesystem_include.hpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.rec.dir.itr/rec.dir.itr.nonmembers/begin_end.pass.cpp
The file was modifiedlibcxx/test/std/utilities/any/any.nonmembers/make_any.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.relative/relative.pass.cpp
The file was modifiedlibcxx/test/libcxx/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/db_deallocate.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.template/ends_with.ptr.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/rfind_char_size.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op_astrk/test.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.comparison/ople.string_view.string_view.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_last_of_char_size.pass.cpp
The file was modifiedlibcxx/test/libcxx/input.output/filesystems/class.path/path.itr/iterator_db.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.temp_dir_path/temp_directory_path.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/nullptr_t_assign.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.resource/memory.resource.eq/equal.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/alloc_rfunction.pass.cpp
The file was addedlibcxx/test/support/format_string.h
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/rfind_string_view_size.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.construct/copy.pass.cpp
The file was removedlibcxx/test/support/rapid-cxx-test.hpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.rename/rename.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.resize_file/resize_file.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.comparison/opeq.string_view.string_view.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.modifiers/replace_extension.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.path/path.member/path.construct/move.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/rfind_pointer_size.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.space/space.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_char_size.pass.cpp
The file was modifiedlibcxx/test/std/experimental/memory/memory.resource.global/new_delete_resource.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status/status.pass.cpp
The file was modifiedlibcxx/test/std/utilities/utility/pairs/pairs.pair/default.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.helpers/variant_alternative.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/front.insert.iter.ops/front.insert.iter.op++/post.pass.cpp
The file was modifiedlibcxx/test/std/containers/associative/multiset/upper_bound.pass.cpp
The file was modifiedlibcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_throw.pass.cpp
The file was modifiedlibcxx/test/std/utilities/variant/variant.variant/variant.status/index.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status_known/status_known.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/replace_filename.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.copy_options.pass.cpp
The file was modifiedlibcxx/test/std/utilities/optional/optional.specalg/swap.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.comparison/opgt.string_view.pointer.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.exists/exists.pass.cpp
The file was modifiedlibcxx/test/std/containers/map_allocator_requirement_test_templates.h
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.path.format.pass.cpp
The file was modifiedlibcxx/test/libcxx/debug/containers/db_string.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/back.insert.iter.ops/back.insert.iter.op++/post.pass.cpp
The file was modifiedlibcxx/test/std/iterators/predef.iterators/insert.iterators/insert.iter.ops/insert.iter.op++/pre.pass.cpp
The file was modifiedlibcxx/test/std/utilities/any/any.class/any.cons/value.pass.cpp
The file was modifiedlibcxx/test/std/strings/string.view/string.view.find/find_first_of_pointer_size_size.pass.cpp
Commit a6edef35639bb6314b7d69cf874a87aa5bbb89bb by eric
Attempt to fix MSAN failures in benchmarks
llvm-svn: 369482
The file was modifiedlibcxx/benchmarks/algorithms.bench.cpp
Commit 5b5929501139c7cc7168d55bc8c989183c7d1aed by eric
Fix missing __muloti4 function with UBSAN
llvm-svn: 369483
The file was modifiedlibcxx/src/filesystem/int128_builtins.cpp
Commit 1ecc507e2a5f004ef7b0a6d39708bec58f09012e by Jason Molenda
Update a few tests that may change the platform to save & restore the
platform in the setUp/tearDown methods.  I want to migrate the
re-instatement of the correct plaform to the setUp base method but
haven't had time to look at that yet, so I want to land this handful of
fixes until I get to it.
Differential revision: https://reviews.llvm.org/D66331
llvm-svn: 369484
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/gcore/TestGCore.py
The file was modifiedlldb/packages/Python/lldbsuite/test/tools/lldb-server/platform-process-connect/TestPlatformProcessConnect.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/postmortem/elf-core/thread_crash/TestLinuxCoreThreads.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/gdb_remote_client/TestWriteMemory.py
Commit 4b3c0fd5da2ef595ea8e015a8e38a48890057eed by Jonas Devlieghere
[NFC] Remove lldb_utility namespace.
While generating the Doxygen I noticed this lone namespace that has one
class and one function in it. This moves them into lldb_private.
llvm-svn: 369485
The file was modifiedlldb/include/lldb/Utility/StringLexer.h
The file was modifiedlldb/source/Core/ValueObject.cpp
The file was modifiedlldb/source/Utility/StringLexer.cpp
The file was modifiedlldb/unittests/Utility/AnsiTerminalTest.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.cpp
The file was modifiedlldb/include/lldb/DataFormatters/FormattersContainer.h
The file was modifiedlldb/source/Core/Highlighter.cpp
The file was modifiedlldb/unittests/Utility/StringLexerTest.cpp
The file was modifiedlldb/include/lldb/Utility/AnsiTerminal.h
The file was modifiedlldb/source/Core/Debugger.cpp
The file was modifiedlldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCTypeEncodingParser.h
Commit 8d18384809957cc923752e10a86adab129e3df48 by chris.bieneman
Autogenerate the shebang lines for tools/opt-viewer
Summary: Since these files depend on the built python modules, they need
to use the right python binary to run them. So use configure_file to set
the right shebang line.
Patch By: cbiesinger (Christian Biesinger)
Reviewers: chandlerc, beanz, anemet
Reviewed By: anemet
Subscribers: compnerd, JDevlieghere, mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65983
llvm-svn: 369486
The file was removedllvm/tools/opt-viewer/opt-stats.py
The file was modifiedllvm/CMakeLists.txt
The file was addedllvm/tools/opt-viewer/opt-stats.py.in
The file was modifiedllvm/tools/opt-viewer/CMakeLists.txt
The file was removedllvm/tools/opt-viewer/opt-viewer.py
The file was addedllvm/tools/opt-viewer/optrecord.py.in
The file was addedllvm/tools/opt-viewer/opt-viewer.py.in
The file was removedllvm/tools/opt-viewer/opt-diff.py
The file was removedllvm/tools/opt-viewer/optrecord.py
The file was addedllvm/tools/opt-viewer/opt-diff.py.in
Commit f938755a331206f017eaa5e8ab6a122b162e8de3 by nicolasweber
libcxx: Rename .hpp files in libcxx/benchmarks to .h
LLVM uses .h as its extension for header files.
Differential Revision: https://reviews.llvm.org/D66509
llvm-svn: 369487
The file was modifiedlibcxx/benchmarks/unordered_set_operations.bench.cpp
The file was modifiedlibcxx/benchmarks/deque.bench.cpp
The file was modifiedlibcxx/benchmarks/ordered_set.bench.cpp
The file was removedlibcxx/benchmarks/Utilities.hpp
The file was removedlibcxx/benchmarks/ContainerBenchmarks.hpp
The file was addedlibcxx/benchmarks/CartesianBenchmarks.h
The file was modifiedlibcxx/benchmarks/algorithms.partition_point.bench.cpp
The file was modifiedlibcxx/benchmarks/string.bench.cpp
The file was addedlibcxx/benchmarks/Utilities.h
The file was addedlibcxx/benchmarks/ContainerBenchmarks.h
The file was modifiedlibcxx/benchmarks/vector_operations.bench.cpp
The file was modifiedlibcxx/benchmarks/algorithms.bench.cpp
The file was removedlibcxx/benchmarks/GenerateInput.hpp
The file was modifiedlibcxx/benchmarks/filesystem.bench.cpp
The file was addedlibcxx/benchmarks/GenerateInput.h
The file was modifiedlibcxx/benchmarks/function.bench.cpp
The file was removedlibcxx/benchmarks/CartesianBenchmarks.hpp
Commit 35f9a84a15d15d70e8aa35cc5a750309f49ea640 by maskray
[ELF] More dynamic relocation packing
Currently, with Android dynamic relocation packing, only relative
relocations are grouped together. This patch implements similar packing
for non-relative relocations.
The implementation groups non-relative relocations with the same r_info
and r_addend, if using RELA. By requiring a minimum group size of 3,
this achieves smaller relocation sections. Building Android for an ARM32
device, I see the total size of /system/lib decrease by 392 KB.
Grouping by r_info also allows the runtime dynamic linker to implement
an 1-entry cache to reduce the number of symbol lookup required. With
such 1-entry cache implemented on Android, I'm seeing 10% to 20%
reduction in total time spent in runtime linker for several executables
that I tested.
As a simple correctness check, I've also built x86_64 Android and booted
successfully.
Differential Revision: https://reviews.llvm.org/D66491 Patch by Vic
Yang!
llvm-svn: 369488
The file was modifiedlld/test/ELF/pack-dyn-relocs.s
The file was modifiedlld/ELF/SyntheticSections.cpp
Commit d840a9cbed68b3b0ea1c92e6c233d3024591f403 by maskray
[ELF][test] Add CHECK lines omitted in r369488
Add append .o to some object file names
llvm-svn: 369489
The file was modifiedlld/test/ELF/pack-dyn-relocs.s
Commit 5d84a67ce04e1bca5902e64f286399f48077aeff by Vitaly Buka
Fix 'fall through' annotation
llvm-svn: 369490
The file was modifiedllvm/lib/Support/regcomp.c
Commit dc333e6398edd49705cf56bc9440f63c707f6300 by Jonas Devlieghere
[NFC] Simplify code
This simplifies the code and updates the comments.
llvm-svn: 369491
The file was modifiedlldb/source/DataFormatters/ValueObjectPrinter.cpp
Commit 7483005c59828482aa28e09c7a132628b4054e29 by Jonas Devlieghere
[NFC] Remove unused function GetHexWithFixedSize
The implementation of this function was obviously incorrect, as the
result variable was never used. This led me to check if it was actually
used anywhere, which came back negative.
llvm-svn: 369492
The file was modifiedlldb/tools/debugserver/source/StdStringExtractor.cpp
The file was modifiedlldb/source/Utility/StringExtractor.cpp
The file was modifiedlldb/include/lldb/Utility/StringExtractor.h
The file was modifiedlldb/tools/debugserver/source/StdStringExtractor.h
Commit d35b42f20a48d6fd9c1f8fce095c37794d49806c by Jonas Devlieghere
[NFC] Return llvm::StringRef from StringExtractor::GetStringRef.
This patch removes the two variant of StringExtractor::GetStringRef that
return (non-)const references to std::string. The non-const one was
being abused to reinitialize the StringExtractor and its uses are
replaced by calls to the copy asignment operator. The const variant was
refactored to return an actual llvm::StringRef.
llvm-svn: 369493
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteClientBase.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
The file was modifiedlldb/include/lldb/Utility/StringExtractor.h
The file was modifiedlldb/unittests/Utility/StringExtractorTest.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp
The file was modifiedlldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp
The file was modifiedlldb/tools/debugserver/source/StdStringExtractor.h
Commit 7719495e2caec6f4199e9c767dc7fc5fde81c57d by apl
[Symbol] Remove unused clang headers from Type
llvm-svn: 369494
The file was modifiedlldb/source/Symbol/Type.cpp
The file was modifiedlldb/include/lldb/Symbol/Type.h
Commit 93a3cbc746826bdcf539a22809e7297e1443a5b8 by Vitaly Buka
Revert r369472 and r369441
check-sanitizer does not work on Linux
llvm-svn: 369495
The file was modifiedcompiler-rt/lib/sanitizer_common/tests/sanitizer_allocator_test.cpp
The file was modifiedcompiler-rt/lib/asan/asan_allocator.cpp
The file was modifiedcompiler-rt/lib/asan/asan_stats.cpp
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_combined.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_primary32.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h
The file was modifiedcompiler-rt/lib/asan/asan_stats.h
The file was modifiedcompiler-rt/lib/asan/asan_allocator.h
The file was modifiedcompiler-rt/lib/sanitizer_common/sanitizer_allocator.h
The file was modifiedcompiler-rt/lib/lsan/lsan_allocator.h
The file was removedcompiler-rt/lib/sanitizer_common/sanitizer_runtime_select_allocator.h
Commit b08884554f681f797274192ddd2dfbb93ffede59 by dave
[PPC Docs] Remove duplicate info about __builtin_setrnd()
This looks like a combination of a copy-and-paste (and paste and paste)
error and a commit without reviewing the diff first error.
llvm-svn: 369496
The file was modifiedclang/docs/LanguageExtensions.rst
Commit b2895a8cdcd81ab7a124de4fe8e69f98ba6d50b8 by maskray
Revert D65242 "[ELF] More dynamic relocation packing"
This reverts r369488 and r369489. The change broke build bots:
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap-ubsan/builds/14511
http://lab.llvm.org:8011/builders/lld-x86_64-freebsd/builds/34407
llvm-svn: 369497
The file was modifiedlld/ELF/SyntheticSections.cpp
The file was modifiedlld/test/ELF/pack-dyn-relocs.s
Commit 8a42af7b17cf40adab5760a43d1afb819a820a75 by Raphael Isemann
[NFC] Mark CallTargetComparator() as const to fix libc++ warnings
We currently get this warning when compiling with libc++:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/set:454:26:
warning: the specified comparator type does not provide a const call
operator [-Wuser-defined-warnings]
   static_assert(sizeof(__diagnose_non_const_comparator<_Key,
_Compare>()), "");
                        ^
llvm-project/llvm/include/llvm/ProfileData/SampleProf.h:193:29: note: in
instantiation of template class
'std::__1::set<std::__1::pair<llvm::StringRef, unsigned long long>,
llvm::sampleprof::SampleRecord::CallTargetComparator,
std::__1::allocator<std::__1::pair<llvm::StringRef, unsigned long long>
> >' requested here
const SortedCallTargetSet getSortedCallTargets() const {
                           ^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__tree:967:5:
note: from 'diagnose_if' attribute on
'__diagnose_non_const_comparator<std::__1::pair<llvm::StringRef,
unsigned long long>,
llvm::sampleprof::SampleRecord::CallTargetComparator>':
   _LIBCPP_DIAGNOSE_WARNING(!std::__invokable<_Compare const&, _Tp
const&, _Tp const&>::value,
   ^                      
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:1320:21:
note: expanded from macro '_LIBCPP_DIAGNOSE_WARNING'
    __attribute__((diagnose_if(__VA_ARGS__, "warning")))
                   ^           ~~~~~~~~~~~ 1 warning generated.
llvm-svn: 369500
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
Commit d1262a6e91d5c62120d7f5783821f12e81b079dd by sguelton
Be explicit about Windows coff name trailing character policy
It's okay to *not* copy the trailing zero of a windows section/symbol
name. This is compatible with strncpy behavior but gcc doesn't know that
and throws an invalid warning. Encode this behavior in a proper
function.
Differential Revision: https://reviews.llvm.org/D66420
llvm-svn: 369501
The file was modifiedllvm/lib/Object/WindowsResource.cpp
Commit dc5403d2dc61343bbf07b9d739b152acd2390c87 by pavel
Properly EXCLUDE_FROM_ALL the testing support library
The EXCLUDE_FROM_ALL variable is used by add_llvm_library, but lldb does
not use that function (it uses llvm_add_library :P). Instead, set the
directory property with the same name directly.
This should fix standalone builds against an llvm install tree.
llvm-svn: 369502
The file was modifiedlldb/unittests/TestingSupport/CMakeLists.txt
Commit 9cb317968aad29786b9470722ba0903ca1f7a892 by pavel
Fix an unused variable warning in ClangASTContext.cpp
llvm-svn: 369503
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit 6b9d7c9da591f5b9c322ca85841ffe1daa3cd7cc by gribozavr
Removed some dead code in BugReporter and related files
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66473
llvm-svn: 369504
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
The file was modifiedclang/lib/StaticAnalyzer/Core/AnalysisManager.cpp
The file was modifiedclang/unittests/StaticAnalyzer/Reusables.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/AnalysisManager.h
The file was modifiedclang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporter.cpp
Commit 71d38b3c6217d6b3f0d1a50e7a59d4d78b3ecd59 by luke.cheeseman
[AArch64] Update MTE system register encodings
The encodings for the system registers TFSRE0_EL1, TFSR_EL1 TFSR_EL2,
TFSR_EL3 and TFSR_EL12 have been changed so that they consistently have
CRn=5 and CRm=6 as per https://developer.arm.com/docs/ddi0487/latest.
Differential Revision: https://reviews.llvm.org/D65442
llvm-svn: 369505
The file was modifiedllvm/test/MC/AArch64/armv8.5a-mte.s
The file was modifiedllvm/lib/Target/AArch64/AArch64SystemOperands.td
The file was modifiedllvm/test/MC/Disassembler/AArch64/armv8.5a-mte.txt
Commit 4fc1eb55d1973868cc4c1420950ec89e1741bc73 by Raphael Isemann
[lldb][NFC] Add tests for invalid command invocations
llvm-svn: 369506
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/reproducer/TestReproducer.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/plugins/commands/TestPluginCommands.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
The file was modifiedlldb/packages/Python/lldbsuite/test/help/TestHelp.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py
The file was addedlldb/packages/Python/lldbsuite/test/functionalities/version/TestVersion.py
Commit 2d337fdc95f651b4b256bb1a73621ee2e737ca5e by maskray
Reland D65242 "[ELF] More dynamic relocation packing""
This fixed a bug in r369488. When config->isRela is false, i->r_addend
is not initialized (see encodeDynamicReloc). So we should check
config->isRela before accessing r_addend:
- if (j - i < 3 || i->r_addend)
+ if (j - i < 3 || (config->isRela && i->r_addend != 0))
Original description:
Currently, with Android dynamic relocation packing, only relative
relocations are grouped together. This patch implements similar packing
for non-relative relocations.
The implementation groups non-relative relocations with the same r_info
and r_addend, if using RELA. By requiring a minimum group size of 3,
this achieves smaller relocation sections. Building Android for an ARM32
device, I see the total size of /system/lib decrease by 392 KB.
Grouping by r_info also allows the runtime dynamic linker to implement
an 1-entry cache to reduce the number of symbol lookup required. With
such 1-entry cache implemented on Android, I'm seeing 10% to 20%
reduction in total time spent in runtime linker for several executables
that I tested.
As a simple correctness check, I've also built x86_64 Android and booted
successfully.
Differential Revision: https://reviews.llvm.org/D65242 Patch by Vic Yang
llvm-svn: 369507
The file was modifiedlld/test/ELF/pack-dyn-relocs.s
The file was modifiedlld/ELF/SyntheticSections.cpp
Commit 67443c3c6ec2c9625183c2f48162894c57d239b8 by jeremy.morse.llvm
[DebugInfo] Avoid dropping location info across block boundaries
LiveDebugValues propagates variable locations between blocks by creating
new DBG_VALUE insts in the successors, then interpreting them when it
passes back through the block at a later time. However, this flushes out
any extra information about the location that LiveDebugValues holds: for
example, connections between variable locations such as discussed in
D65368. And as reported in PR42772 this causes us to lose track of the
fact that a spill-location is actually a spill, not a register location.
This patch fixes that by deferring the creation of propagated DBG_VALUEs
until after propagation has completed: instead location propagation
occurs only by sharing location ID numbers between blocks.
Differential Revision: https://reviews.llvm.org/D66412
llvm-svn: 369508
The file was modifiedllvm/test/DebugInfo/MIR/X86/live-debug-values-restore.mir
The file was modifiedllvm/lib/CodeGen/LiveDebugValues.cpp
Commit 5b4c5c2c54be3078ed6bb9bb24572389efe22ba3 by petar.avramovic
[MIPS GlobalISel] NarrowScalar G_TRUNC
Add NarrowScalar for G_TRUNC when NarrowTy is half the size of source.
NarrowScalar G_TRUNC to s32 for MIPS32.
Differential Revision: https://reviews.llvm.org/D66202
llvm-svn: 369509
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/trunc.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/trunc.ll
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
Commit 61bf2675b986d7bd554958b58e7a2e72da5eac2f by petar.avramovic
[MIPS GlobalISel] Consider type1 when legalizing shifts after r351882
r351882 allows different type for shift amount then result and value
being shifted. Fix MIPS Legalizer rules to take r351882 into account.
Differential Revision: https://reviews.llvm.org/D66203
llvm-svn: 369510
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/bitwise.mir
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
Commit e406aa791ccc75f4df31dd690a979e9e86435186 by petar.avramovic
[MIPS GlobalISel] NarrowScalar G_ZEXT and G_SEXT
NarrowScalar G_ZEXT and G_SEXT to s32 for MIPS32.
Differential Revision: https://reviews.llvm.org/D66204
llvm-svn: 369511
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
The file was addedllvm/test/CodeGen/Mips/GlobalISel/legalizer/zext_and_sext.mir
The file was addedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/zext_and_sext.ll
The file was addedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/zext_and_sext.mir
Commit 7f581df649019230719e33b55104b839d57e86dd by petar.avramovic
[MIPS GlobalISel] NarrowScalar G_ZEXTLOAD and G_SEXTLOAD
NarrowScalar G_ZEXTLOAD and G_SEXTLOAD to s32 for MIPS32.
Differential Revision: https://reviews.llvm.org/D66205
llvm-svn: 369512
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/regbankselect/zextLoad_and_sextLoad.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/zextLoad_and_sextLoad.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/mips-prelegalizer-combiner/zextLoad_and_sextLoad.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/zextLoad_and_sextLoad.ll
The file was modifiedllvm/lib/Target/Mips/MipsLegalizerInfo.cpp
Commit 68756a8c37b20fb1fc5ee40f602aaa09a30955f9 by Raphael Isemann
[lldb][NFC] Add tests for register command
llvm-svn: 369513
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/register/register_command/TestRegisters.py
Commit 65c58a902d00d8523cbe55d6218ba8d23b6dd185 by hokein
[clangd] Ignore implicit conversion-operator nodes in find refs.
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66478
llvm-svn: 369514
The file was modifiedclang-tools-extra/clangd/XRefs.cpp
The file was modifiedclang-tools-extra/clangd/unittests/XRefsTests.cpp
Commit f0f38d9b9deea950659756ddd490c6673199e4aa by grimar
[llvm-objdump] - Cleanup the error reporting.
The error reporting function are not consistent.
Before this change:
* They had inconsistent naming (e.g. 'error' vs 'report_error').
* Some of them reported the object name, others - dont.
* Some of them accepted the case when there was no error. (i.e. error
code or Error had a success value).
This patch tries to cleanup it a bit.
It also renames report_error -> reportError, report_warning ->
reportWarning and removes a full stop from messages.
Differential revision: https://reviews.llvm.org/D66418
llvm-svn: 369515
The file was modifiedllvm/tools/llvm-objdump/ELFDump.cpp
The file was modifiedllvm/test/tools/llvm-objdump/X86/warn-missing-disasm-func.test
The file was modifiedllvm/test/tools/llvm-objdump/X86/source-interleave-no-debug-info.test
The file was modifiedllvm/test/tools/llvm-objdump/X86/disassemble-functions-mangling.test
The file was modifiedllvm/test/tools/llvm-objdump/warn-on-out-of-range-start-stop-address.test
The file was modifiedllvm/tools/llvm-objdump/MachODump.cpp
The file was modifiedllvm/test/tools/llvm-objdump/X86/start-stop-address.test
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.cpp
The file was modifiedllvm/test/tools/llvm-objdump/X86/source-interleave-missing-source.test
The file was modifiedllvm/tools/llvm-objdump/llvm-objdump.h
The file was modifiedllvm/test/Object/macho-invalid.test
The file was modifiedllvm/test/tools/llvm-objdump/X86/source-interleave-invalid-source.test
The file was modifiedllvm/tools/llvm-objdump/COFFDump.cpp
Commit a50f115d3673c73cd64e388ab3d2151c7f6e396f by grimar
[LLD][ELF] - Simplify the bad-archive.s test case.
This removes the precompiled binary and improves the check of the error
reported.
Differential revision: https://reviews.llvm.org/D66523
llvm-svn: 369516
The file was removedlld/test/ELF/Inputs/bad-archive.a
The file was modifiedlld/test/ELF/bad-archive.s
Commit 82275ec51d00c33316506054faebb1033a9b7690 by pavel
MinidumpYAML: move serialization code to MinidumpEmitter.cpp
Summary: The code for serializing minidumps was living in
MinidumpYAML.cpp so that it would be accessible from unit tests. While
this had its advantages, it was also unfortunate because it broke
symmetry with all other yaml2obj serializers.
Fortunately, nowadays all of yaml2obj is a library, so we don't need to
do anything special. This patch improves the code consistency by moving
the serialization code to MinidumpEmitter.cpp to match the style used in
other backends. It also removes the writeAsBinary entry point in favor
of the more general convertYAML interface.
This patch is just massaging the code a bit. There shouldn't be any
functional change here.
Reviewers: jhenderson, abrachet
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66474
llvm-svn: 369517
The file was modifiedllvm/lib/ObjectYAML/MinidumpEmitter.cpp
The file was modifiedllvm/include/llvm/ObjectYAML/MinidumpYAML.h
The file was modifiedllvm/lib/ObjectYAML/MinidumpYAML.cpp
The file was modifiedllvm/unittests/ObjectYAML/MinidumpYAMLTest.cpp
Commit 2fe9ce60640762f27294ae60c6b508a5bfb72f2b by sam.mccall
[gtest] Fix printing of StringRef and SmallString in assert messages.
Summary: These are detected by gtest as containers, and so previously
printed as e.g.
{ '.' (46, 0x2E), 's' (115, 0x73), 'e' (101, 0x65), 'c' (99, 0x63), '0'
(48, 0x30) },
gtest itself overloads PrintTo for std::string and friends, we use the
same mechanism.
Reviewers: labath
Subscribers: dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66520
llvm-svn: 369518
The file was modifiedllvm/unittests/ADT/SmallStringTest.cpp
The file was modifiedllvm/utils/unittest/googletest/include/gtest/internal/custom/gtest-printers.h
The file was modifiedllvm/unittests/ADT/StringRefTest.cpp
Commit e72825927839659defde72a63ed4a8f907271a9d by spatel
[InstCombine] narrow icmp with extended operands of different widths
An intermediate extend is used to widen the narrow operand to the width
of the other (wider) operand. At that point, we have the same logic as
the existing transform that was restricted to folds of equal width
zext/sext.
This mostly solves PR42700: https://bugs.llvm.org/show_bug.cgi?id=42700
llvm-svn: 369519
The file was modifiedllvm/test/Transforms/InstCombine/2004-11-27-SetCCForCastLargerAndConstant.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit 045f33aec9ebf292bfc37350aad5e436f78fab17 by deadalnix
[DAGCombiner] Various nits. NFC
llvm-svn: 369520
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 006d22de508d18af93899c5ab32651681f816575 by Raphael Isemann
[lldb] Add tests for setting completions and enable 'settings remove'
completion
llvm-svn: 369521
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/completion/TestCompletion.py
The file was modifiedlldb/source/Commands/CommandObjectSettings.cpp
Commit 65a376f091eaaed3c10b2c5c2dfb3c1a61fb996b by pavel
Fix two compiler warnings
llvm-svn: 369522
The file was modifiedlldb/source/Plugins/ExpressionParser/Clang/ClangDeclVendor.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
Commit d139e8838a6efb8c0b6d6518c2608b253b1e9ee3 by pavel
Recommit "Minidump/Windows: Fix module lookup""
This recommits r368416, which was reverted in r368838 because of test
failures under ASAN. These have been dealt with by llvm r369370.
The original commit message was: When opening a minidump, we were
failing to find an executable because we were searching for
i386-unknown-windows, whereas we recognize the pe/coff files as
i386-pc-windows. This fixes the triple computation code in the minidump
parser to match pe/coff, and adds an appropriate test.
NB: I'm not sure setting the vendor to "pc" is really correct for
arm(64) windows, but right now that seems to match what we do in the
pe/coff case (ArchSpec.cpp:935).
Reviewers: clayborg, amccarth
Subscribers: javed.absar, kristof.beyls, rnk, markmentovai, lldb-commits
Differential Revision: https://reviews.llvm.org/D65955
llvm-svn: 369523
The file was addedlldb/lit/Minidump/Windows/Inputs/find-module.exe.yaml
The file was modifiedlldb/source/Plugins/Process/minidump/MinidumpParser.cpp
The file was addedlldb/lit/Minidump/Windows/Inputs/find-module.dmp.yaml
The file was addedlldb/lit/Minidump/Windows/find-module.test
Commit 34a04e703d9e19403b02c5e31f51db26c980bb45 by Raphael Isemann
[lldb] Add tests for 'settings remove' and fix error message typos
llvm-svn: 369524
The file was modifiedlldb/packages/Python/lldbsuite/test/settings/TestSettings.py
The file was modifiedlldb/source/Commands/CommandObjectSettings.cpp
Commit e7c0356b69acd9e7b536c843c056db98f043961d by sam.mccall
Revert "[gtest] Fix printing of StringRef and SmallString in assert
messages."
This reverts commit 4becb2ab4e9f52ce98272d1f5930d6942af5172b.
llvm-svn: 369525
The file was modifiedllvm/utils/unittest/googletest/include/gtest/internal/custom/gtest-printers.h
The file was modifiedllvm/unittests/ADT/SmallStringTest.cpp
The file was modifiedllvm/unittests/ADT/StringRefTest.cpp
Commit 4d668a1f077d1ddea6130c52f793817063046b68 by simon
Add 9.0 release bug to merge request script
llvm-svn: 369526
The file was modifiedllvm/utils/release/merge-request.sh
Commit a451156bb6ceb3700f6ea42e47e9a95d67723318 by sam.mccall
reland [gtest] Fix printing of StringRef and SmallString in assert
messages.
Renames GTEST_NO_LLVM_RAW_OSTREAM -> GTEST_NO_LLVM_SUPPORT and guards
the new features behind it.
This reverts commit a063bcf3ef5a879adbe9639a3c187d876eee0e66.
llvm-svn: 369527
The file was modifiedllvm/utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h
The file was modifiedcompiler-rt/lib/fuzzer/tests/FuzzerUnittest.cpp
The file was modifiedllvm/unittests/ADT/StringRefTest.cpp
The file was modifiedcompiler-rt/cmake/Modules/AddCompilerRT.cmake
The file was modifiedllvm/utils/unittest/googletest/include/gtest/internal/custom/gtest-printers.h
The file was modifiedllvm/unittests/ADT/SmallStringTest.cpp
Commit c3bf3d14ea66767e688242c93cb9920ad80b64a3 by luismarques
[RISCV] Add support for RVC HINT instructions
The hint instructions are enabled by default (if the standard C
extension is  enabled). To disable them pass -mattr=-rvc-hints.
Differential Revision: https://reviews.llvm.org/D62592
llvm-svn: 369528
The file was modifiedllvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
The file was modifiedllvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
The file was modifiedllvm/lib/Target/RISCV/RISCVRegisterInfo.td
The file was addedllvm/test/MC/RISCV/rvc-hints-invalid.s
The file was modifiedllvm/lib/Target/RISCV/RISCVSubtarget.h
The file was modifiedllvm/lib/Target/RISCV/RISCV.td
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfo.td
The file was modifiedllvm/test/MC/RISCV/rv32c-invalid.s
The file was addedllvm/test/MC/RISCV/rv64c-hints-valid.s
The file was modifiedllvm/lib/Target/RISCV/RISCVInstrInfoC.td
The file was addedllvm/test/MC/RISCV/rvc-hints-valid.s
Commit ed413074f2064f41bf2e27f3f35a8fda3e7ffdc8 by ikudrin
[DWARF] Adjust return type of DWARFUnit::getLength().
DWARFUnitHeader::getLength() returns uint64_t. DWARFUnit::getLength()
should do the same.
Differential Revision: https://reviews.llvm.org/D66472
llvm-svn: 369529
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFCompileUnit.cpp
The file was modifiedllvm/lib/DebugInfo/DWARF/DWARFTypeUnit.cpp
The file was modifiedllvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h
Commit 717717b1ff8b6ee48331a86feaf2f68b28b6c9d8 by Raphael Isemann
[lldb][NFC] Merge multiple TestApropos.py
That's cleaner and makes lldb-dotest no longer fail due to conflicting
names.
llvm-svn: 369530
The file was removedlldb/packages/Python/lldbsuite/test/help/TestApropos.py
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/apropos/TestApropos.py
Commit 1c18a9cb9eef141ccd3482e351811a98a7f61844 by gchatelet
[LLVM][Alignment] Introduce Alignment In MachineFrameInfo
Summary: This is patch is part of a serie to introduce an Alignment
type. See this thread for context:
http://lists.llvm.org/pipermail/llvm-dev/2019-July/133851.html See this
patch for the introduction of the type: https://reviews.llvm.org/D64790
Reviewers: jfb
Subscribers: hiraditya, dexonsmith, llvm-commits, courbet
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65800
llvm-svn: 369531
The file was modifiedllvm/lib/CodeGen/LocalStackSlotAllocation.cpp
The file was modifiedllvm/lib/Target/NVPTX/NVPTXPrologEpilogPass.cpp
The file was modifiedllvm/lib/CodeGen/PrologEpilogInserter.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineFrameInfo.h
The file was modifiedllvm/lib/Analysis/MemoryBuiltins.cpp
The file was modifiedllvm/lib/CodeGen/MachineFrameInfo.cpp
The file was modifiedllvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
Commit 78347c979e10db22c49921d2c9587be7c896171d by Alexander.Timofeev
[AMDGPU] Prevent VGPR copies from moving across the EXEC mask
definitions Differential Revision: https://reviews.llvm.org/D63731
Reviewers: qcolombet, rampitec
llvm-svn: 369532
The file was modifiedllvm/test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir
The file was modifiedllvm/lib/CodeGen/PeepholeOptimizer.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIInstrInfo.cpp
The file was modifiedllvm/lib/Target/AMDGPU/SIFoldOperands.cpp
The file was modifiedllvm/include/llvm/CodeGen/MachineInstr.h
Commit ac3851c4340aab5664da0e29a4b7d9cd966332a9 by nilanjana.basu87
Improving CodeView debug info type record's inline comments
llvm-svn: 369533
The file was modifiedllvm/lib/DebugInfo/CodeView/TypeRecordMapping.cpp
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/EnumTables.h
The file was modifiedllvm/test/DebugInfo/COFF/types-data-members.ll
The file was modifiedllvm/test/DebugInfo/COFF/types-basic.ll
The file was modifiedllvm/include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
The file was modifiedllvm/test/DebugInfo/COFF/class-options-common.ll
The file was modifiedllvm/lib/DebugInfo/CodeView/CodeViewRecordIO.cpp
The file was modifiedllvm/lib/DebugInfo/CodeView/EnumTables.cpp
Commit 98f800dabecdcd9ec7aefc43a4612a6fefc19aaf by nicolasweber
compiler-rt: Fix warning if COMPILER_RT_HAS_FCNTL_LCK is 0
Fixes "warning: implicit declaration of function 'flock' is invalid in
C99" for flock().
llvm-svn: 369534
The file was modifiedcompiler-rt/lib/profile/InstrProfilingUtil.c
Commit 2d37bf843c77bdbf0feaf0c972c509443f5cca7d by maskray
[ELF][ARM] Simplify some llvm-objdump tests with both ARM/Thumb states
llvm-objdump can switch between ARM/Thumb states after D60927.
In a few lld tests, we run both
* llvm-objdump -d -triple=thumbv7a-none-linux-gnueabi %t
* llvm-objdump -d -triple=armv7a-none-linux-gnueabi %t
to test ARM/Thumb parts of the same file. In many cases we can just run
one command. There is a problem that prevents us from cleaning more
tests (e.g. test/ELF/arm-thumb-interwork-thunk.s):
In llvm-objdump, while we have ARM/Thumb (primary and secondary)
MCDisassembler and MCSubtargetInfo, we have just one MCInstrAnalysis
which is used to resolve the targets of calls in both ARM/Thumb parts.
    // ThumbMCInstrAnalysis evaluating ARM parts or ARMMCInstrAnalysis
evaluating Thumb parts
   // will have incorrect offsets.
   // An example of llvm-objdump -d -triple=thumbv7a on ARM part:
   1304: 3d ff ff fa  blx     #-780                 # no <...>
   1308: 06 00 00 ea  b       #24 <arm_caller+0x24> # wrong target due
to wrong offset
Reviewed By: peter.smith
Differential Revision: https://reviews.llvm.org/D66539
llvm-svn: 369535
The file was modifiedlld/test/ELF/arm-thumb-blx.s
The file was modifiedlld/test/ELF/arm-thumb-interwork-thunk-v5.s
The file was modifiedlld/test/ELF/arm-blx.s
The file was modifiedlld/test/ELF/arm-thumb-plt-reloc.s
The file was modifiedlld/test/ELF/arm-bl-v6-inrange.s
The file was modifiedlld/test/ELF/arm-thumb-interwork-shared.s
Commit f56e8991f44f867eb8ea29b0d40c991d1326615b by nicolasweber
clang: Fix typo in comment
llvm-svn: 369536
The file was modifiedclang/lib/Basic/FileManager.cpp
Commit e2b200b7bfa1f4ae2606f375fd7eb7f44cc208fc by david.spickett
[libcxx] Only declare contents of threading API when
_LIBCPP_HAS_THREAD_API_EXTERNAL is not defined.
When it is defined they will be declared by the
__external_threading header instead.
Differential revision: https://reviews.llvm.org/D66518
llvm-svn: 369537
The file was modifiedlibcxx/include/__threading_support
Commit 862c94297c022af6919faa283ce94c80363ed92d by nicolasweber
git-llvm: Give "push" a --force flag to disable confirm prompt on
multiple commits
llvm-svn: 369538
The file was modifiedllvm/utils/git-svn/git-llvm
Commit 3ad6cea9bb78d3a15ade064a37a745d7a4bcdb34 by nicolasweber
clang: Fix typo in comment
llvm-svn: 369539
The file was modifiedclang/lib/Lex/UnicodeCharSets.h
Commit f64918d092c078304f9b25c0ee6f456a39474e31 by nicolasweber
clang: Fix typo in comment
(Sorry for all these commits; trying to sort out why svn doesn't want to
store my password.)
llvm-svn: 369540
The file was modifiedclang/lib/Sema/SemaOverload.cpp
Commit 764b0fd5a37168313cd7f8d82753b10392ff2b2b by listmail
[instcombine] icmp eq/ne (sub C, Y), C -> icmp eq/ne Y, 0
Noticed while looking at pr43028. 
llvm-svn: 369541
The file was modifiedllvm/test/Transforms/InstCombine/icmp-sub.ll
The file was modifiedllvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
Commit 138a815a003e61e18c11d53cc1b17d20dd484355 by nicolasweber
clang: Fix typo in comment
llvm-svn: 369542
The file was modifiedclang/lib/Sema/SemaObjCProperty.cpp
Commit f7489141be5df992e569886caad22b7d9d5dde35 by ulrich.weigand
[Sanitizer] Disable -Wframe-larger-than on SystemZ
SystemZ builds show -Wframe-larger-than warnings in two functions:
'sanitizer::SuspendedThreadsListLinux::GetRegistersAndSP'
'sanitizer::SizeClassAllocator32<__sanitizer::AP32>::PopulateFreeList'
In both cases, the frame size looks correct; each of the functions has a
large local variable that brings the frame size close to the limit even
on x86, and the extra 160 bytes of the default register save areas on
SystemZ pushes it over the limit.
PowerPC and MIPS already disable this warning; do the same on SystemZ.
Differential Revision: https://reviews.llvm.org/D66021
llvm-svn: 369543
The file was modifiedcompiler-rt/CMakeLists.txt
Commit f3b179589ed8142fb4ec92789e249360cc3cf49e by nicolasweber
git-llvm: Make push --force suppress error on nothing to commit as well
llvm-svn: 369544
The file was modifiedllvm/utils/git-svn/git-llvm
Commit 717feabdf0ee6488d5f5dbeef7a7e19c706fc911 by david.green
[ARM] Formatting for ARMInstrMVE.td. NFC
This is just some formatting cleanup, prior to the masked load and store
patch in D66534.
llvm-svn: 369545
The file was modifiedllvm/lib/Target/ARM/ARMInstrMVE.td
Commit 3c4614ff10e2a88d8ae800b0fb5746a686170c18 by listmail
Add a couple of extra test noticed in post-commit discussion of rL369541
llvm-svn: 369546
The file was modifiedllvm/test/Transforms/InstCombine/icmp-sub.ll
Commit 954a012b4c75db77b99b259d9cc4edd8ab551c68 by Matthew.Arsenault
GlobalISel: Implement moreElementsVector for G_UNMERGE_VALUES sources
This is necessary for handling <3 x s16> on AMDGPU, assuming this should
be handled as 2 separate legalization actions. The alternative would be
for fewerElementsVector to handle 3->2.
llvm-svn: 369547
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fabs.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-lshr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shl.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsqrt.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-zext.mir
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fsub.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-ashr.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fpext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fma.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fcanonicalize.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmul.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-smin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-anyext.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umax.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-shuffle-vector.mir
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fmaxnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fadd.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-unmerge-values.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-umin.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fminnum.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-fneg.mir
Commit 7425179fee9b4ed1ff6d366ee06487f05a1c0ab3 by asbirlea
[LoopPassManager + MemorySSA] Only enable use of MemorySSA for LPMs
known to preserve it.
Summary: Add a flag to the FunctionToLoopAdaptor that allows enabling
MemorySSA only for the loop pass managers that are known to preserve it.
If an LPM is known to have only loop transforms that *all* preserve
MemorySSA, then use MemorySSA if `EnableMSSALoopDependency` is set. If
an LPM has loop passes that do not preserve MemorySSA, then the flag
passed is `false`, regardless of the value of
`EnableMSSALoopDependency`.
When using a custom loop pass pipeline via `passes=...`, use keyword
`loop` vs `loop-mssa` to use MemorySSA in that LPM. If a loop that does
not preserve MemorySSA is added while using the `loop-mssa` keyword,
that's an error.
Add the new `loop-mssa` keyword to a few tests where a difference occurs
when enabling MemorySSA.
Reviewers: chandlerc
Subscribers: mehdi_amini, Prazek, george.burgess.iv, sanjoy.google,
llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66376
llvm-svn: 369548
The file was modifiedllvm/test/Transforms/LICM/atomics.ll
The file was modifiedllvm/test/Transforms/LICM/hoist-phi.ll
The file was modifiedllvm/test/Transforms/LICM/read-only-calls.ll
The file was modifiedllvm/test/Transforms/LICM/store-hoisting.ll
The file was modifiedllvm/lib/Passes/PassBuilder.cpp
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch-profmd.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch-iteration.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/update-scev.ll
The file was modifiedllvm/include/llvm/Analysis/LoopAnalysisManager.h
The file was modifiedllvm/lib/Analysis/LoopAnalysisManager.cpp
The file was modifiedllvm/test/Transforms/LICM/hoist-deref-load.ll
The file was modifiedllvm/test/Analysis/BasicAA/store-promote.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/guards.ll
The file was modifiedllvm/test/Transforms/LoopInstSimplify/basic.ll
The file was modifiedllvm/test/Transforms/LICM/promote-order.ll
The file was modifiedllvm/include/llvm/Transforms/Scalar/LoopPassManager.h
The file was modifiedllvm/test/Transforms/LoopRotate/basic.ll
The file was modifiedllvm/test/Transforms/LoopRotate/pr35210.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/basictest-profmd.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/basictest.ll
The file was modifiedllvm/test/Transforms/LICM/guards.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/msan.ll
The file was modifiedllvm/test/Transforms/LICM/argmemonly-call.ll
The file was modifiedllvm/test/Transforms/SimpleLoopUnswitch/trivial-unswitch.ll
Commit 01a413695c980613c8d737e7bba79131a6adc8a5 by nhuck
Fix -Wimplicit-fallthrough warnings in regcomp.c
Summary: Since clang does not support comment style fallthrough
annotations these should be switched.
Reviewers: aaron.ballman, nickdesaulniers, xbolva00
Reviewed By: aaron.ballman, nickdesaulniers, xbolva00
Subscribers: xbolva00, nickdesaulniers, hiraditya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66487
llvm-svn: 369549
The file was modifiedllvm/lib/Support/regcomp.c
The file was modifiedllvm/include/llvm/Support/Compiler.h
Commit 19ec31d1a5f50bd5aa5843c96428b79e2863ffd4 by leonardchan
[LTO] Always mark regular LTO units with EnableSplitLTOUnit=1 under the
new pass manager
Match the behavior of D65009 under the new pass manager. This addresses
the test clang/test/CodeGen/split-lto-unit.c when running under the new
PM.
Differential Revision: https://reviews.llvm.org/D66488
llvm-svn: 369550
The file was modifiedclang/lib/CodeGen/BackendUtil.cpp
The file was modifiedclang/test/CodeGen/split-lto-unit.c
Commit f9269b5396c134770fef17ea0f8e566af73df437 by mitchphillips
[GWP-ASan] Build stack_trace_compressor_fuzzer.
Summary: Flips the switch to build stack_trace_compressor_fuzzer. This
was recently temporarily disabled in rL369079 as it was breaking the
sanitizer buildbots.
My diagnosis of the problem is that on clang-only bootstrap builds, we
build gwp_asan before libfuzzer. This causes a discrepancy when the
clang driver attempts to link libclang_rt.fuzzer* as CMake doesn't see a
dependency there.
I've (hopefully) fixed the issue by adding a direct dependency for the
fuzz target so CMake can resolve the build order properly. As part of
this, the libFuzzer 'fuzzer' target has to be discovered before the
declaration of the fuzz target.
pcc@ for mild review + notification as buildcop.
Reviewers: pcc
Reviewed By: pcc
Subscribers: mgorny, #sanitizers, llvm-commits
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D66494
llvm-svn: 369551
The file was modifiedcompiler-rt/lib/gwp_asan/CMakeLists.txt
Commit c776f3f3c26f69012456117b5487df2b81ad51e7 by mitchphillips
[GWP-ASan] Add public-facing documentation [6].
Summary: Note: Do not submit this documentation until Scudo support is
reviewed and submitted (should be #[5]).
See D60593 for further information.
This patch introduces the public-facing documentation for GWP-ASan, as
well as updating the definition of one of the options, which wasn't
properly merged. The document describes the design and features of
GWP-ASan, as well as how to use GWP-ASan from both a user's standpoint,
and development documentation for supporting allocators.
Reviewers: jfb, morehouse, vlad.tsyrklevich
Reviewed By: morehouse, vlad.tsyrklevich
Subscribers: kcc, dexonsmith, kubamracek, cryptoad, jfb, #sanitizers,
llvm-commits, vlad.tsyrklevich, morehouse
Tags: #sanitizers, #llvm
Differential Revision: https://reviews.llvm.org/D62875
llvm-svn: 369552
The file was addedllvm/docs/GwpAsan.rst
The file was modifiedcompiler-rt/lib/gwp_asan/options.inc
The file was addedcompiler-rt/lib/gwp_asan/scripts/symbolize.sh
Commit a28b8d78e426818b4dd1e6eb9f7353358815a3eb by rupprecht
[docs] Convert remaining command guide entries from md to rst.
Summary: Linking between markdown and rst files is currently not
supported very well, e.g. the current llvm-addr2line docs [1] link to
"llvm-symbolizer" instead of "llvm-symbolizer.html". This is weirdly
broken in different ways depending on which versions of sphinx and
recommonmark are being used, so workaround the bug by using rst
everywhere.
[1] http://llvm.org/docs/CommandGuide/llvm-addr2line.html
Reviewers: jhenderson
Reviewed By: jhenderson
Subscribers: lebedev.ri, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66305
llvm-svn: 369553
The file was removedllvm/docs/CommandGuide/llvm-addr2line.md
The file was removedllvm/docs/CommandGuide/llvm-size.md
The file was addedllvm/docs/CommandGuide/llvm-addr2line.rst
The file was addedllvm/docs/CommandGuide/llvm-size.rst
The file was addedllvm/docs/CommandGuide/llvm-strings.rst
The file was removedllvm/docs/CommandGuide/llvm-ranlib.md
The file was addedllvm/docs/CommandGuide/llvm-ranlib.rst
The file was removedllvm/docs/CommandGuide/llvm-strings.md
Commit 2213bbb57aa7c928735c428cd1307ed277d2db7a by mitchphillips
Add newline to GWP-ASan sphinx document. Should fix the document
builder.
llvm-svn: 369554
The file was modifiedllvm/docs/GwpAsan.rst
Commit 330ae19a1a563f5031954d1998001c624eb71b18 by Adrian Prantl
Generalize FindTypes with CompilerContext to support fuzzy lookup
This patch generalizes the FindTypes with CompilerContext interface to
support looking up a type of unknown kind by name, as well as looking up
a type inside an unspecified submodule. These features are motivated by
the Swift branch, but are fully tested via unit tests and lldb-test on
llvm.org.  Specifically, this patch adds an AnyModule and an AnyType
CompilerContext kind.
Differential Revision: https://reviews.llvm.org/D66507
rdar://problem/54471165
llvm-svn: 369555
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/include/lldb/lldb-private-enumerations.h
The file was modifiedlldb/lit/SymbolFile/DWARF/compilercontext.ll
The file was modifiedlldb/tools/lldb-test/lldb-test.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/source/Symbol/SymbolFile.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.cpp
The file was modifiedlldb/include/lldb/Symbol/SymbolFile.h
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h
The file was modifiedlldb/unittests/Symbol/TestType.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h
The file was modifiedlldb/include/lldb/Symbol/Type.h
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFDIE.h
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
The file was modifiedlldb/source/Symbol/Type.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit e4876c9d71ee4f416578579169792a53b73e7cf8 by rupprecht
[docs] Fix GwpAsan.rst
llvm-svn: 369556
The file was modifiedllvm/docs/GwpAsan.rst
Commit 969b3e6a8fa3b324bbae72b089e2047f4741408b by flo
[BitcodeReader] Check if we can create a null constant for type.
We cannot create null constants for certain types, e.g. VoidTy,
FunctionTy or LabelTy. getNullValue asserts if we pass in an unsupported
type. We should also check for opaque types, but I'm not sure how.
This fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=14795.
Reviewers: t.p.northover, jfb, vsk
Reviewed By: vsk
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65897
llvm-svn: 369557
The file was modifiedllvm/lib/Bitcode/Reader/BitcodeReader.cpp
The file was addedllvm/test/Bitcode/invalid-type-for-null-constant.ll
The file was addedllvm/test/Bitcode/invalid-type-for-null-constant.ll.bc
Commit 5375b94e36b7e557c5546ab0ddf7269884656b2c by llvm
[lld-link] implement -lto-obj-path
Summary: This adds the -lto-obj-path option to lld-link. This can be
used to specify a path at which to write a native object file for the
full LTO part when using LTO unit splitting.
Reviewers: ruiu, tejohnson, pcc, rnk
Reviewed By: ruiu, rnk
Subscribers: mehdi_amini, steven_wu, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65964
llvm-svn: 369559
The file was modifiedlld/COFF/Driver.cpp
The file was modifiedlld/COFF/LTO.cpp
The file was modifiedlld/COFF/Config.h
The file was addedlld/test/COFF/lto-obj-path.ll
The file was modifiedlld/COFF/Options.td
Commit 84b762af3b54aeeb0bc064d733388144f0344d7e by mitchphillips
[docs] Add GwpAsan to toctree.
Reverts rL369556 in the process, as it's no longer needed.
llvm-svn: 369560
The file was modifiedllvm/docs/index.rst
The file was modifiedllvm/docs/GwpAsan.rst
Commit c0f190a0484b56e6d546e13b101b3662b253d6ea by deadalnix
[DAGCombiner] Remove mostly redundant calls to AddToWorklist
Summary: These calls change the order in which some nodes are processed
and so have an effect on codegen.
The change in fixup-bw-copy.ll is due to (and (load anyext)) gets
transformed into (load zext) while previously the and was removed by
SimplifyDemandedBits, so the (load anyext) remained.
Reviewers: craig.topper, efriedma, RKSimon, lebedev.ri
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66543
llvm-svn: 369561
The file was modifiedllvm/test/CodeGen/X86/fixup-bw-copy.ll
The file was modifiedllvm/test/CodeGen/X86/load-combine.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit bb2f85724722f6c2f256c9475220b16a56c3c5b8 by simon
[mips] Remove duplicated case from the `StringSwitch`. NFC
llvm-svn: 369562
The file was modifiedllvm/lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
Commit 159f621c5c84c0a834394893f7abff222cbc19ad by simon
[mips] Replace call `expandLoadAddress` by `loadAndAddSymbolAddress`.
NFC
In case of expanding `lw/sw $reg, symbol($reg)` instruction for PIC it's
enough to call the `loadAndAddSymbolAddress` method. Additional work
performed by the `expandLoadAddress` is not required here.
llvm-svn: 369563
The file was modifiedllvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
Commit 8d5fbecf8ba7a2ef98d003e5d1f85c023b761ad2 by craig.topper
[TableGen] Include ValueTypes.td directly into the intrinsic-varargs.td
test.
This prevents needing to keep the test in sync with ValueTypes.td
This is not the only test that includes ValueTypes.td.
llvm-svn: 369564
The file was modifiedllvm/test/TableGen/intrinsic-varargs.td
Commit 3f59bfd5be39687cd3a853aaffe8ef2d84ab2ff8 by craig.topper
[MVT] Add v16f16 and v32f16 vectors.
I might look at improving PR43065 which will require being able to mark
a 256 and 512 bit vector of f16 as Legal.
Differential Revision: https://reviews.llvm.org/D66515
llvm-svn: 369565
The file was modifiedllvm/lib/Target/AMDGPU/AMDGPUISelLowering.cpp
The file was modifiedllvm/include/llvm/CodeGen/ValueTypes.td
The file was modifiedllvm/include/llvm/Support/MachineValueType.h
The file was modifiedllvm/lib/CodeGen/ValueTypes.cpp
Commit dde8a25a4bd0b8e194ebb9277d656f6069c26449 by sbc
[WebAssembly] Handle aliases in WebAssemblyFixFunctionBitcasts
Fixes: https://github.com/emscripten-core/emscripten/issues/8770
Differential Revision: https://reviews.llvm.org/D66508
llvm-svn: 369566
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
The file was modifiedllvm/test/CodeGen/WebAssembly/function-bitcasts.ll
Commit ed18e70c86f6de353cebe0a8faa961a341c74d27 by nicolasweber
Revert r367389 (and follow-up r368404); it caused PR43073.
llvm-svn: 369567
The file was removedllvm/test/CodeGen/ARM/ParallelDSP/exchange.ll
The file was removedllvm/test/CodeGen/ARM/ParallelDSP/overlapping.ll
The file was modifiedllvm/test/CodeGen/ARM/O3-pipeline.ll
The file was removedllvm/test/CodeGen/ARM/ParallelDSP/blocks.ll
The file was modifiedllvm/lib/Target/ARM/ARMParallelDSP.cpp
The file was modifiedllvm/test/CodeGen/ARM/ParallelDSP/smlad12.ll
Commit f24c1e6b515ed7aec632b5e4c6019e7dd0972efa by Yuanfang Chen
[clang-tidy] Check for dynamically initialized statics in headers.
Finds instances where variables with static storage are initialized
dynamically in header files.
Reviewed By: aaron.ballman, alexfh
Patch by Charles Zhang!
Differential Revision: https://reviews.llvm.org/D62829
llvm-svn: 369568
The file was addedclang-tools-extra/clang-tidy/bugprone/DynamicStaticInitializersCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/BugproneTidyModule.cpp
The file was addedclang-tools-extra/clang-tidy/bugprone/DynamicStaticInitializersCheck.h
The file was modifiedclang-tools-extra/docs/ReleaseNotes.rst
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/list.rst
The file was modifiedclang-tools-extra/clang-tidy/bugprone/CMakeLists.txt
The file was addedclang-tools-extra/test/clang-tidy/bugprone-dynamic-static-initializers.hpp
The file was addedclang-tools-extra/docs/clang-tidy/checks/bugprone-dynamic-static-initializers.rst
Commit 6a29ff175490d8832f7807c3050dfed4ae202ae7 by aaron
Revert r369549 as it broke the bots.
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-bootstrap/builds/13605/
llvm-svn: 369569
The file was modifiedllvm/lib/Support/regcomp.c
The file was modifiedllvm/include/llvm/Support/Compiler.h
Commit b5e52bfd83a230c59f00a896a1002feec51dcfa2 by flo
[GVN] Do PHI translations across all edges between the load and the
unavailable pred.
Currently we do not properly translate addresses with PHIs if LoadBB !=
LI->getParent(), because PHITranslateAddr expects a direct predecessor
as argument, because it considers all instructions outside of the
current block to not requiring translation.
The amount of cases that trigger this should be very low, as most single
predecessor blocks should be folded into their predecessor by GVN before
we actually start with value numbering. It is still not guaranteed to
happen, so we should do PHI translation along all edges between the
loads' block and the predecessor where we have to place a load.
There are a few test cases showing current limits of the PHI
translation, which could be improved later.
Reviewers: spatel, reames, efriedma, john.brawn
Reviewed By: efriedma
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65020
llvm-svn: 369570
The file was modifiedllvm/test/Transforms/GVN/PRE/rle.ll
The file was modifiedllvm/lib/Transforms/Scalar/GVN.cpp
Commit fe7eca239bfb966dc92561313aa11b3ad3de5709 by nicolasweber
gn build: Make sync script not exit 1 if it writes changes
llvm-svn: 369571
The file was modifiedllvm/utils/gn/build/sync_source_lists_from_cmake.py
Commit d7887cf8494e1b7c424a679748f63f4b7f972f00 by nicolasweber
gn build: Merge r369568
llvm-svn: 369572
The file was modifiedllvm/utils/gn/secondary/clang-tools-extra/clang-tidy/bugprone/BUILD.gn
Commit b73cd3362577476e8ca8225ccc0e4b09f8500521 by richard-llvm
Fix -Werror=unused-variable error after r369528.
llvm-svn: 369573
The file was modifiedllvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
Commit da648ab8de3638ff82d6b9349c603b854a0224d6 by dkszelethus
[analyzer] Mention whether an event is about a condition in a bug report
part 1
Can't add much more to the title! This is part 1, the case where the
collapse point isn't in the condition point is the responsibility of
ConditionBRVisitor, which I'm addressing in part 2.
Differential Revision: https://reviews.llvm.org/D65575
llvm-svn: 369574
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was modifiedclang/test/Analysis/track-control-dependency-conditions.cpp
Commit d410805d578b6425475dd852aac9610522f816e8 by jdoerfert
[Attributor] Use existing unreachable instead of introducing new ones
So far we split the unreachable off and placed a new one, this is not
necessary.
llvm-svn: 369575
The file was modifiedllvm/test/Transforms/FunctionAttrs/liveness.ll
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 2db8528fb47692b39b7b8b4346adf0acd0bcbc38 by jdoerfert
[Attributor][NFC] Remove leftover semicolon
llvm-svn: 369576
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 5427aa843bbe3c887e47a558442759fde0470185 by jdoerfert
[Attributor][NFC] Fix copy & paste error
llvm-svn: 369577
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit 08ff5df49c61a4d6bd297ac34c5b7815bcc83624 by Yuanfang Chen
Fix documentation build after rL369568
llvm-svn: 369578
The file was modifiedclang-tools-extra/docs/clang-tidy/checks/bugprone-dynamic-static-initializers.rst
Commit 359840a6e4ae062f984c2ce91ab37c084755c158 by cyndy_ishida
[BinaryFormat] Teach identify_magic about Tapi files.
Summary: Tapi files are YAML files that start with the !tapi tag. The
only execption are TBD v1 files, which don't have a tag. In that case we
have to scan a little further and check if the first key "archs" exists.
This is the first patch in a series of patches to add libObject support
for text-based dynamic library (.tbd) files.
This patch is practically exactly the same as D37820, that was never
pushed to master, and is needed for future commits related to reading
tbd files for llvm-nm
Reviewers: ributzka, steven_wu, bollu, espindola, jfb, shafik, jdoerfert
Reviewed By: steven_wu
Subscribers: dexonsmith, llvm-commits
Tags: #llvm, #clang, #sanitizers, #lldb, #libc, #openmp
Differential Revision: https://reviews.llvm.org/D66149
llvm-svn: 369579
The file was modifiedllvm/lib/Object/Binary.cpp
The file was modifiedllvm/lib/Object/SymbolicFile.cpp
The file was modifiedllvm/unittests/BinaryFormat/TestFileMagic.cpp
The file was modifiedllvm/lib/Object/ObjectFile.cpp
The file was modifiedllvm/include/llvm/BinaryFormat/Magic.h
The file was modifiedllvm/lib/BinaryFormat/Magic.cpp
Commit 4f488b594ae11a39260f1b347be4a79c72bd3f35 by luismarques
[RISCV] Fix use of side-effects in asserts in decoder functions
llvm-svn: 369580
The file was modifiedllvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
Commit 81faa5e6a26cc1b92301438a8e8ec8ce6bf5e574 by benny.kra
Use C++14 heteregenous lookup for a couple of std::map<std::string, ...>
These call find with a StringRef, heterogenous lookup saves a temporary
std::string there.
llvm-svn: 369581
The file was modifiedllvm/include/llvm/ProfileData/SampleProf.h
The file was modifiedllvm/include/llvm/IR/Attributes.h
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchersInternal.h
The file was modifiedllvm/include/llvm/TableGen/Record.h
Commit c46d39b9e80e89d5b2200b884d79279a82793791 by Jonas Devlieghere
Add char8_t support (C++20)
This patch adds support for the char8_t type introduced in C++20
char8_t. The original patch was submitted by James Blachly  on the LLDB
mailing list [1]. I modified the patch a bit and added a test.
[1] http://lists.llvm.org/pipermail/lldb-dev/2019-August/015393.html
Differential revision: https://reviews.llvm.org/D66447
llvm-svn: 369582
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/char8_t/TestCxxChar8_t.py
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/char8_t/main.cpp
The file was addedlldb/packages/Python/lldbsuite/test/lang/cpp/char8_t/Makefile
The file was modifiedlldb/include/lldb/lldb-enumerations.h
The file was modifiedlldb/source/Commands/CommandObjectMemory.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CxxStringTypes.h
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CxxStringTypes.cpp
Commit fff01c8ec2b030d723f724254ce4780bba475cbb by dkszelethus
[analyzer][NFC] Add different interestingness kinds
We defined (on the mailing list and here on phabricator) 2 different
cases where retrieving information about a control dependency condition
is very important:
* When the condition's last write happened in a different stack frame
* When the collapse point of the condition (when we can constrain it to
be true/false) didn't happen in the actual condition.
It seems like we solved this problem with the help of expression value
tracking, and have started working on better diagnostics notes about
this process.
Expression value tracking is nothing more than registering a variety of
visitors to construct reports about it. Each of the registered visitors
(ReturnVisitor, FindLastStoreVisitor, NoStoreFuncVisitor, etc) have
something to go by: a MemRegion, an SVal, an ExplodedNode, etc. For this
reason, better explaining a last write is super simple, we can always
just pass on some more information to the visitor in question (as seen
in D65575).
ConditionBRVisitor is a different beast, as it was built for a different
purpose. It is responsible for constructing events at, well, conditions,
and is registered only once, and isn't a part of the "expression value
tracking family". Unfortunately, it is also the visitor to tinker with
for constructing better diagnostics about the collapse point problem.
This creates a need for alternative way to communicate with
ConditionBRVisitor that a specific condition is being tracked for for
the reason of being a control dependency. Since at almost all
PathDiagnosticEventPiece construction the visitor checks
interestingness, it makes sense to pair interestingness with a reason as
to why we marked an entity as such.
Differential Revision: https://reviews.llvm.org/D65723
llvm-svn: 369583
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporter.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
Commit f79f594bd25995517ab9f84b662caca5b65f2413 by Jason Molenda
When building file without debug info, include the architecture setting
in the cflags on Darwin systems.
llvm-svn: 369584
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/objcxx/class-name-clash/Makefile
Commit 06abd696954153b7de9ffaa0c04800f5f35ed49e by Alex Lorenz
NFCI: Simplify SourceManager::translateFile by removing code path that
should never be taken
I noticed that SourceManager::translateFile has code that doesn't really
make sense. In particular, if it fails to find a FileID by comparing
FileEntry * values, it tries to look through files that have the same
filename, to see if they have a matching inode to try to find the right
FileID. However, the inode comparison seem redundant, as Clang's
FileManager already deduplicates FileEntry * values by inode. Thus the
comparisons between inodes should never actually succeed, and the
comparison between FileEntry * values should be sufficient here.
Differential Revision: https://reviews.llvm.org/D65481
llvm-svn: 369585
The file was modifiedclang/lib/Basic/SourceManager.cpp
Commit a41b239081c19c4f36d9a616d9f502a5c87c5deb by jdoerfert
[Attributor][NFCI] Introduce tight iteration bounds in the tests
Summary: To be able to track how many iterations we need to manifest all
information we check for we now make the maximum iteration count
explicit. The count is set tightly now and should be kept that way.
Reviewers: uenoku, sstefan1
Subscribers: bollu, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66554
llvm-svn: 369586
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/fn_noreturn.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/liveness.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noreturn_sync.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/willreturn.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nosync.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noreturn_async.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nounwind.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/nofree-attributor.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/dereferenceable.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noalias_returned.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/arg_nocapture.ll
Commit bf9ee07afa3f1a15277018f60787a1a205ec08d8 by clayborg
Add FileWriter to GSYM and encode/decode functions to AddressRange and
AddressRanges
The full GSYM patch started with: https://reviews.llvm.org/D53379
This patch add the ability to encode data using the new
llvm::gsym::FileWriter class.
FileWriter is a simplified binary data writer class that doesn't require
targets, target definitions, architectures, or require any other
optional compile time libraries to be enabled via the build process.
This class needs the ability to seek to different spots in the binary
data that it produces to fix up offsets and sizes in GSYM data. It
currently uses std::ostream over llvm::raw_ostream because
llvm::raw_ostream doesn't support seeking which is required when
encoding and decoding GSYM data.
AddressRange objects are encoded and decoded to be relative to a base
address. This will be the FunctionInfo's start address if the
AddressRange is directly contained in a FunctionInfo, or a base address
of the containing parent AddressRange or AddressRanges. This allows
address ranges to be efficiently encoded using ULEB128 encodings as we
encode the offset and size of each range instead of full addresses. This
also makes encoded addresses easy to relocate as we just need to
relocate one base address.
Differential Revision: https://reviews.llvm.org/D63828
llvm-svn: 369587
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/LineEntry.h
The file was modifiedllvm/lib/DebugInfo/GSYM/CMakeLists.txt
The file was addedllvm/include/llvm/DebugInfo/GSYM/FileWriter.h
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/FunctionInfo.h
The file was modifiedllvm/unittests/DebugInfo/GSYM/GSYMTest.cpp
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/FileEntry.h
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/StringTable.h
The file was addedllvm/lib/DebugInfo/GSYM/FileWriter.cpp
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/InlineInfo.h
The file was modifiedllvm/lib/DebugInfo/GSYM/Range.cpp
The file was modifiedllvm/include/llvm/DebugInfo/GSYM/Range.h
Commit d98f975089e3dd8a2a0dc298d3f76b0463610d2c by jdoerfert
[Attributor] Fix: Gracefully handle non-instruction users
Function can have users that are not instructions, e.g., bitcasts. For
now, we simply give up when we see them.
llvm-svn: 369588
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
The file was addedllvm/test/Transforms/FunctionAttrs/misc.ll
Commit 49ac7ece163f6e5985ba07dbd4ddabcc5e3449e5 by dkszelethus
[analyzer] Don't make ConditionBRVisitor events prunable when the
condition is an interesting field
Exactly what it says on the tin! Note that we're talking about
interestingness in general, hence this isn't a
control-dependency-tracking specific patch.
Differential Revision: https://reviews.llvm.org/D65724
llvm-svn: 369589
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was modifiedclang/test/Analysis/track-control-dependency-conditions.cpp
The file was modifiedclang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporterVisitors.h
Commit f7cdff4ffdc34226d85727e00bf66b3a6001e915 by luismarques
[RISCV] Remove fix introduced by r369573, superseded by r369580
llvm-svn: 369590
The file was modifiedllvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
Commit b1c78012900ba43cf0a636b8392ee84d7122122a by M.Gehre
[LifetimeAnalysis] Support more STL idioms (template forward declaration
and DependentNameType)
Summary: This fixes inference of gsl::Pointer on std::set::iterator with
libstdc++ (the typedef for iterator on the template is a
DependentNameType - we can only put the gsl::Pointer attribute on the
underlaying record after instantiation)
inference of gsl::Pointer on std::vector::iterator with libc++ (the
class was forward-declared, we added the gsl::Pointer on the canonical
decl (the forward decl), and later when the template was instantiated,
there was no attribute on the definition so it was not instantiated).
and a duplicate gsl::Pointer on some class with libstdc++ (we first
added an attribute to a incomplete instantiation, and then another was
copied from the template definition when the instantiation was
completed).
We now add the attributes to all redeclarations to fix thos issues and
make their usage easier.
Reviewers: gribozavr
Subscribers: Szelethus, xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66179
llvm-svn: 369591
The file was addedclang/unittests/Sema/GslOwnerPointerInference.cpp
The file was modifiedclang/unittests/Sema/CMakeLists.txt
The file was modifiedclang/test/SemaCXX/attr-gsl-owner-pointer.cpp
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/test/SemaCXX/attr-gsl-owner-pointer-std.cpp
Commit 92dee44d77163906226e2ac4c510c0ddcfb2bbf1 by jdoerfert
[Attributor] FIX: Try to make bots happy
Locally the tight iterations bounds work fine but the bots seem unhappy.
Try to get green bots and some time to determine the underlying problem.
llvm-svn: 369592
The file was modifiedllvm/test/Transforms/FunctionAttrs/nonnull.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/noreturn_sync.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/read_write_returned_arguments_scc.ll
The file was modifiedllvm/test/Transforms/FunctionAttrs/align.ll
Commit e1f27e4ad1e5044e8f453db8fdab4a51ccdb50f2 by nicolasweber
gn build: Merge r369587
llvm-svn: 369593
The file was modifiedllvm/utils/gn/secondary/llvm/lib/DebugInfo/GSYM/BUILD.gn
Commit 40902b48ddc9415d0e2eef3141451a4f0a92d8d5 by nicolasweber
gn build: Merge r369591
llvm-svn: 369594
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Sema/BUILD.gn
Commit 71dc97b5bfb771b480695659bcd5ba26f5cea083 by Jonas Devlieghere
[test] Update test so it matches the Windows output
llvm-svn: 369595
The file was modifiedlldb/packages/Python/lldbsuite/test/lang/cpp/char8_t/TestCxxChar8_t.py
Commit d9a81ccf05925e25df17cf64f7636ae78cd99d3d by dkszelethus
[analyzer] Mention whether an event is about a condition in a bug report
part 2
In D65724, I do a pretty thorough explanation about how I'm solving this
problem, I think that summary nails whats happening here ;)
Differential Revision: https://reviews.llvm.org/D65725
llvm-svn: 369596
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was modifiedclang/test/Analysis/track-control-dependency-conditions.cpp
Commit 0f3efc4aab9748ea4791ed47530a9ea7174b97e3 by nicolasweber
libcxx: Rename last two .hpp files in libcxx to .h
Differential Revision: https://reviews.llvm.org/D66544
llvm-svn: 369597
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.perms.pass.cpp
The file was removedlibcxx/test/std/utilities/function.objects/comparisons/pointer_comparison_test_helper.hpp
The file was modifiedlibcxx/test/std/utilities/function.objects/comparisons/greater.pass.cpp
The file was removedlibcxx/test/std/input.output/filesystems/fs.enum/check_bitmask_types.hpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.perm_options.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/comparisons/less_equal.pass.cpp
The file was modifiedlibcxx/test/std/utilities/function.objects/comparisons/less.pass.cpp
The file was addedlibcxx/test/std/utilities/function.objects/comparisons/pointer_comparison_test_helper.h
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.copy_options.pass.cpp
The file was modifiedlibcxx/test/std/input.output/filesystems/fs.enum/enum.directory_options.pass.cpp
The file was addedlibcxx/test/std/input.output/filesystems/fs.enum/check_bitmask_types.h
The file was modifiedlibcxx/test/std/utilities/function.objects/comparisons/greater_equal.pass.cpp
Commit 303bbc3be28747c8b6e25fb697c1ba6c47b962aa by craig.topper
[X86] Replace a couple hardcoded '5's with X86::AddrNumOperands for
readability. NFC
llvm-svn: 369598
The file was modifiedllvm/lib/Target/X86/X86ExpandPseudo.cpp
Commit 78e6507b0af7d14dd2cdd6347608055cd452796b by craig.topper
[X86] Correct the scheduler classes for TAILJMP and TCRETURN CodeGenOnly
instructions.
We had an odd combination of WriteJump applied to some memory
instructions and WriteJumpLd applied to register and immediate
instructions.
Thsi should hopefully assign them all correctly.
llvm-svn: 369599
The file was modifiedllvm/lib/Target/X86/X86InstrControl.td
Commit c20d1f90b53ae53aee3cac86a84e79d596b5711e by cyndy_ishida
[Object] Add tapi files to object
Summary: The intention for this is to allow reading and printing symbols
out from llvm-nm. Tapi file, and Tapi universal follow a similiar format
to their respective MachO Object format.
The tests are dependent on llvm-nm processing tbd files which is why its
in D66160
Reviewers: ributzka, steven_wu, lhames
Reviewed By: ributzka, lhames
Subscribers: mgorny, hiraditya, dexonsmith, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66159
llvm-svn: 369600
The file was addedllvm/include/llvm/Object/TapiUniversal.h
The file was addedllvm/include/llvm/Object/TapiFile.h
The file was addedllvm/lib/Object/TapiUniversal.cpp
The file was addedllvm/lib/Object/TapiFile.cpp
The file was modifiedllvm/lib/Object/Binary.cpp
The file was modifiedllvm/include/llvm/Object/Binary.h
The file was modifiedllvm/lib/Object/LLVMBuild.txt
The file was modifiedllvm/lib/Object/CMakeLists.txt
Commit 894abb46f891cba2e0ef581650f27f512a7824b4 by jlettner
[TSan] #include header instead of forward declaring interceptees
llvm-svn: 369601
The file was modifiedcompiler-rt/lib/tsan/rtl/tsan_interceptors_mac.cpp
Commit 9443d0e2c09b5d6914b5aa843b1ba8a9df594215 by cyndy_ishida
[Object] FIX: update PlatformKind name in TapiFile
Buildbots that use GCC failed to compile because overwritten namespace
with variable name
llvm-svn: 369602
The file was modifiedllvm/lib/Object/TapiFile.cpp
Commit edb08da450391e9683ec4fd71c490c9bd12e17a3 by nicolasweber
gn build: Merge r369600
llvm-svn: 369603
The file was modifiedllvm/utils/gn/secondary/llvm/lib/Object/BUILD.gn
Commit b73a5711f63466d829f815ed0f1b14f03cef0b05 by dabis.csaba98
[analyzer] TrackConstraintBRVisitor: Do not track unknown values
Summary: -
Reviewers: NoQ, Szelethus
Reviewed By: NoQ, Szelethus
Differential Revision: https://reviews.llvm.org/D66267
llvm-svn: 369604
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
The file was modifiedclang/test/Analysis/cast-value.cpp
Commit 0202c3596c52d453d1e9e5a43d7533b83444df4e by dabis.csaba98
[analyzer] CastValueChecker: Store the dynamic types and casts
Summary: This patch introduces `DynamicCastInfo` similar to
`DynamicTypeInfo` which is stored in `CastSets` which are storing the
dynamic cast informations of objects based on memory regions. It could
be used to store and check the casts and prevent infeasible paths.
Reviewed By: NoQ
Differential Revision: https://reviews.llvm.org/D66325
llvm-svn: 369605
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
The file was addedclang/test/Analysis/cast-value-logic.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/CMakeLists.txt
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
The file was removedclang/test/Analysis/cast-value.cpp
The file was addedclang/test/Analysis/Inputs/llvm.h
The file was modifiedclang/test/Analysis/expr-inspection.c
The file was addedclang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicType.h
The file was modifiedclang/lib/StaticAnalyzer/Core/ProgramState.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
The file was modifiedclang/test/Analysis/dump_egraph.cpp
The file was addedclang/lib/StaticAnalyzer/Core/DynamicType.cpp
The file was modifiedclang/include/clang/AST/Type.h
The file was modifiedclang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeInfo.h
The file was addedclang/test/Analysis/cast-value-state-dump.cpp
The file was removedclang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicTypeMap.h
The file was removedclang/lib/StaticAnalyzer/Core/DynamicTypeMap.cpp
The file was addedclang/include/clang/StaticAnalyzer/Core/PathSensitive/DynamicCastInfo.h
The file was addedclang/test/Analysis/cast-value-notes.cpp
Commit 3dd22585199195d4656154205ab631b8dd406143 by phosek
[GWP-ASan] Remove c++ standard lib dependency.
Remove c++ standard library dependency for now for @phosek. They have a
complicated build system that breaks with the fuzzer target here.
Also added a todo to remedy later.
Differential Revision: https://reviews.llvm.org/D66568
llvm-svn: 369606
The file was modifiedcompiler-rt/lib/gwp_asan/stack_trace_compressor_fuzzer.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/CMakeLists.txt
Commit e4bf456fcef23b7c9ec9968cdf1df36b591755ec by dabis.csaba98
[analyzer] CastValueChecker: Rewrite dead header hotfix
llvm-svn: 369607
The file was modifiedclang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedPointee.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DynamicTypeChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/DeleteWithNonVirtualDtorChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObjectChecker.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/CallEvent.cpp
The file was modifiedclang/lib/StaticAnalyzer/Checkers/IteratorChecker.cpp
Commit 6e8b79e3080bde71948e0259fed16247d87c071e by nicolasweber
gn build: Merge r369605
llvm-svn: 369608
The file was modifiedllvm/utils/gn/secondary/clang/lib/StaticAnalyzer/Core/BUILD.gn
Commit 22dc44ff896a34a94c7ed6d3bf7b577b98e34fbd by dabis.csaba98
[analyzer] CastValueChecker: Try to fix the buildbots
llvm-svn: 369609
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
Commit 246750c2a91951fc4b77ebe43d568f47843e6399 by maskray
[COFF] Fix section name for constants larger than 64 bits on Windows
APIntToHexString returns wrong value
("0000000000000000ffffffffffffffff") for integer larger than 64 bits,
and thus TargetLoweringObjectFileCOFF::getSectionForConstant returns
same section name for all numbers larger than 64 bits. This patch tries
to fix it.
Differential Revision: https://reviews.llvm.org/D66458 Patch by Senran
Zhang
llvm-svn: 369610
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was addedllvm/test/CodeGen/X86/coff-fp-section-name.ll
Commit ca4409b4dc157bdf7a57f7c8be984492577341f4 by Jason Molenda
The g_format_infos table needs to be updated in concert with the enum
Format entries; else we can crash in a place like
FormatManager::GetFormatAsCString().  We should add  bounds checks to
prevent this more reliably, but for tonight I'm just adding this entry
to keep an address-sanitizer test run working.
llvm-svn: 369611
The file was modifiedlldb/source/DataFormatters/FormatManager.cpp
Commit 7630e24492c55cf07e43c0783997cbf9a1603f45 by pengfei.wang
[X86] Making X86OptimizeLEAs pass public. NFC
Reviewers: wxiao3, LuoYuanke, andrew.w.kaylor, craig.topper,
annita.zhang, liutianle, pengfei, xiangzhangllvm, RKSimon, spatel,
andreadb
Reviewed By: RKSimon
Subscribers: andreadb, hiraditya, llvm-commits
Tags: #llvm
Patch by Gen Pei (gpei)
Differential Revision: https://reviews.llvm.org/D65933
llvm-svn: 369612
The file was modifiedllvm/lib/Target/X86/X86.h
The file was modifiedllvm/lib/Target/X86/X86OptimizeLEAs.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetMachine.cpp
Commit 58eb033a497747331477f8aac36408f24ca0f628 by dkszelethus
[analyzer] Don't track the condition of foreach loops
As discussed on the mailing list, notes originating from the tracking of
foreach loop conditions are always meaningless.
Differential Revision: https://reviews.llvm.org/D66131
llvm-svn: 369613
The file was modifiedclang/test/Analysis/track-control-dependency-conditions.cpp
The file was modifiedclang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
Commit 12002fbd211d3197a2ccba63632937ee1e9212f4 by Jonas Devlieghere
[FormatManager] Add static_assert to keep formats in sync.
This adds a static assert that ensures that there's a format info entry
for every format enum value. This should prevent others from making the
same mistake I made and Jason kindly fixed in r369611. (Thanks!)
llvm-svn: 369614
The file was modifiedlldb/source/DataFormatters/FormatManager.cpp
Commit 4d71600c113243b0f3eb04c2308f0eda60bfccaa by dabis.csaba98
[analyzer] CastValueChecker: Model isa(), isa_and_nonnull()
Summary: -
Reviewed By: NoQ
Differential Revision: https://reviews.llvm.org/D66423
llvm-svn: 369615
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
The file was modifiedclang/test/Analysis/cast-value-logic.cpp
The file was modifiedclang/test/Analysis/cast-value-notes.cpp
The file was modifiedclang/test/Analysis/Inputs/llvm.h
Commit 0f9e530c0f4d2449b093f08b7d46bd2ef174578c by dkszelethus
[analyzer] Enable control dependency condition tracking by default
This patch concludes my GSoC'19 project by enabling track-conditions by
default.
Differential Revision: https://reviews.llvm.org/D66381
llvm-svn: 369616
The file was modifiedclang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
The file was modifiedclang/test/Analysis/track-control-dependency-conditions.cpp
The file was modifiedclang/test/Analysis/return-value-guaranteed.cpp
The file was modifiedclang/test/Analysis/analyzer-config.c
The file was modifiedclang/test/Analysis/diagnostics/no-store-func-path-notes.m
Commit 2621f7bdb4d3bb377d3e9bfb7f76ae527c8ba72d by Jonas Devlieghere
[FormatManage] Fix the format info order
The format info entries need to match the order of the enum entries.
This should fix the two failing data-formatter tests.
llvm-svn: 369617
The file was modifiedlldb/source/DataFormatters/FormatManager.cpp
Commit 0a8e634b3bb939407c49f11cd724eb656ca9f2cc by davide
[lldb] Replace std::once_flag with llvm::once_flag.
Summary: The former seems like it's not working on some platforms. All
the other uses use `llvm::`, so, let's change for consistency.
Reviewers: jasonmolenda, friss
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D66566
llvm-svn: 369618
The file was modifiedlldb/include/lldb/Target/Process.h
The file was modifiedlldb/tools/debugserver/source/MacOSX/DarwinLog/DarwinLogCollector.cpp
Commit 7d5bc554333e28749554c313a207d8267da69837 by jdenny.ornl
[OpenMP] Permit map with DSA on combined directive
For `map`, the following restriction changed in OpenMP 5.0:
* OpenMP 4.5 [2.15.5.1, Restrictions]: "A list item cannot appear in
both a map clause and a data-sharing attribute clause on the same
construct.
* OpenMP 5.0 [2.19.7.1, Restrictions]: "A list item cannot appear in
both a map clause and a data-sharing attribute clause on the same
construct unless the construct is a combined construct."
This patch removes this restriction in the case of combined constructs
and OpenMP 5.0, and it updates Sema not to capture a scalar by copy in
the target region when `firstprivate` and `map` appear for that scalar
on a combined target construct.
This patch also adds a fixme to a test that now reveals that a
diagnostic about loop iteration variables is dropped in the case of
OpenMP 5.0.  That bug exists regardless of this patch's changes.
Reviewed By: ABataev, jdoerfert, hfinkel, kkwli0
Differential Revision: https://reviews.llvm.org/D65835
llvm-svn: 369619
The file was modifiedclang/lib/Sema/Sema.cpp
The file was modifiedclang/include/clang/Sema/ScopeInfo.h
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
The file was modifiedclang/lib/Sema/SemaStmt.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_private_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_map_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_simd_lastprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_simd_firstprivate_messages.cpp
The file was modifiedclang/test/OpenMP/target_teams_distribute_parallel_for_lastprivate_messages.cpp
The file was addedclang/test/OpenMP/target_teams_map_codegen.cpp
The file was modifiedclang/lib/Sema/SemaExpr.cpp
The file was modifiedclang/include/clang/Sema/Sema.h
Commit 3c577bb415a59c033c1fb2fe1de6a3bbb0abfe0a by jdenny.ornl
[lit] Diagnose insufficient args to internal env
Without this patch, failing to provide a subcommand to lit's internal
`env` results in either a python `IndexError` or an attempt to execute
the final `env` argument, such as `FOO=1`, as a command.  This patch
diagnoses those cases with a more helpful message.
Reviewed By: stella.stamenova
Differential Revision: https://reviews.llvm.org/D66482
llvm-svn: 369620
The file was addedllvm/utils/lit/tests/Inputs/shtest-env/env-args-last-is-assign.txt
The file was addedllvm/utils/lit/tests/Inputs/shtest-env/env-args-last-is-u.txt
The file was modifiedllvm/utils/lit/tests/shtest-env.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-env/env-args-last-is-u-arg.txt
The file was modifiedllvm/utils/lit/lit/TestRunner.py
The file was addedllvm/utils/lit/tests/Inputs/shtest-env/env-args-none.txt
Commit 83ee8d4463d1bb1d2248f5cc7f5577672d3ddf94 by Jonas Devlieghere
[debugserver] Switch back to std::once_flag
We cannot use llvm::once_flag in debugserver because doesn't link
against llvm.
llvm-svn: 369621
The file was modifiedlldb/tools/debugserver/source/MacOSX/DarwinLog/DarwinLogCollector.cpp
Commit 72a41e7b0d0483afad6af64a99f3422e498f8809 by shiva0217
[TargetLowering] Remove optional arguments passing to makeLibCall
The patch introduces MakeLibCallOptions struct as suggested by @efriedma
on D65497. The struct contain argument flags which will pass to
makeLibCall function. The patch should not has any functionality
changes.
Differential Revision: https://reviews.llvm.org/D65795
llvm-svn: 369622
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp
The file was modifiedllvm/include/llvm/CodeGen/TargetLowering.h
The file was modifiedllvm/lib/Target/AArch64/AArch64ISelLowering.cpp
The file was modifiedllvm/lib/Target/Sparc/SparcISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
The file was modifiedllvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Commit 028b5499fffa536236cb5714e6d14b786883a4b4 by phosek
Revert "[GWP-ASan] Remove c++ standard lib dependency."
This reverts commit r369606: this doesn't addressed the underlying
problem and it's not the correct solution.
llvm-svn: 369623
The file was modifiedcompiler-rt/lib/gwp_asan/stack_trace_compressor_fuzzer.cpp
The file was modifiedcompiler-rt/lib/gwp_asan/CMakeLists.txt
Commit ae34ed2c0d2fba36d8363ba7fffc1dbe18878335 by Raphael Isemann
[lldb][NFC] Remove WordComplete mode, make result array indexed from 0
and remove any undocumented/redundant return values
Summary: We still have some leftovers of the old completion API in the
internals of LLDB that haven't been replaced by the new
CompletionRequest. These leftovers are:
* The return values (int/size_t) in all completion functions.
* Our result array that starts indexing at 1.
* `WordComplete` mode.
I didn't replace them back then because it's tricky to figure out what
exactly they are used for and the completion code is relatively
untested. I finally got around to writing more tests for the API and
understanding the semantics, so I think it's a good time to get rid of
them.
A few words why those things should be removed/replaced:
* The return values are really cryptic, partly redundant and rarely
documented.
They are also completely ignored by Xcode, so whatever information they
contain will end up
breaking Xcode's completion mechanism. They are also partly impossible
to even implement
as we assign negative values special meaning and our completion API
sometimes returns size_t.
  Completion functions are supposed to return -2 to rewrite the current
line. We seem to use this
in some untested code path to expand the history repeat character to
the full command, but
I haven't figured out why that doesn't work at the moment.
Completion functions return -1 to 'insert the completion character',
but that isn't implemented
(even though we seem to activate this feature in LLDB sometimes).
All positive values have to match the number of results. This is
obviously just redundant information
as the user can just look at the result list to get that information
(which is what Xcode does).
* The result array that starts indexing at 1 is obviously unexpected.
The first element of the array is
reserved for the common prefix of all completions (e.g. "foobar" and
"footar" -> "foo"). The idea is
that we calculate this to make the life of the API caller easier, but
obviously forcing people to have
1-based indices is not helpful (or even worse, forces them to manually
copy the results to make it
0-based like Xcode has to do).
* The `WordComplete` mode indicates that LLDB should enter a space
behind the completion. The
idea is that we let the top-level API know that we just provided a full
completion. Interestingly we
`WordComplete` is just a single bool that somehow represents all N
completions. And we always
provide full completions in LLDB, so in theory it should always be
true.
The only use it currently serves is providing redundant information
about whether we have a single
definitive completion or not (which we already know from the number of
results we get).
This patch essentially removes `WordComplete` mode and makes the result
array indexed from 0. It also removes all return values from all
internal completion functions. The only non-redundant information they
contain is about rewriting the current line (which is broken), so that
functionality was moved to the CompletionRequest API. So you can now do
`addCompletion("blub", "description", CompletionMode::RewriteLine)` to
do the same.
For the SB API we emulate the old behaviour by making the array indexed
from 1 again with the common prefix at index 0. I didn't keep the
special negative return codes as we either never sent them before (e.g.
-2) or we didn't even implement them in the Editline handler (e.g. -1).
I tried to keep this patch minimal and I'm aware we can probably now
even further simplify a bunch of related code, but I would prefer doing
this in follow-up NFC commits
Reviewers: JDevlieghere
Reviewed By: JDevlieghere
Subscribers: arphaman, abidh, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D66536
llvm-svn: 369624
The file was modifiedlldb/source/Commands/CommandObjectExpression.cpp
The file was modifiedlldb/include/lldb/Interpreter/OptionValueFormatEntity.h
The file was modifiedlldb/source/Utility/ArchSpec.cpp
The file was modifiedlldb/source/Interpreter/OptionValueFileSpec.cpp
The file was modifiedlldb/source/Commands/CommandObjectFrame.cpp
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/source/Symbol/Variable.cpp
The file was modifiedlldb/source/Commands/CommandObjectPlugin.cpp
The file was modifiedlldb/include/lldb/Interpreter/CommandInterpreter.h
The file was modifiedlldb/source/Commands/CommandCompletions.cpp
The file was modifiedlldb/source/Interpreter/OptionValueArch.cpp
The file was modifiedlldb/include/lldb/Expression/REPL.h
The file was modifiedlldb/include/lldb/Interpreter/CommandObject.h
The file was modifiedlldb/source/Interpreter/CommandAlias.cpp
The file was modifiedlldb/source/Interpreter/OptionValueUUID.cpp
The file was modifiedlldb/include/lldb/Host/Editline.h
The file was modifiedlldb/include/lldb/Utility/ArchSpec.h
The file was modifiedlldb/include/lldb/Interpreter/OptionValueBoolean.h
The file was modifiedlldb/include/lldb/Core/FormatEntity.h
The file was modifiedlldb/source/Commands/CommandObjectHelp.h
The file was modifiedlldb/source/Commands/CommandObjectProcess.cpp
The file was modifiedlldb/source/Commands/CommandObjectCommands.cpp
The file was modifiedlldb/source/Core/FormatEntity.cpp
The file was modifiedlldb/include/lldb/Interpreter/OptionValue.h
The file was modifiedlldb/source/Core/PluginManager.cpp
The file was modifiedlldb/source/Interpreter/OptionValueEnumeration.cpp
The file was modifiedlldb/include/lldb/Interpreter/CommandCompletions.h
The file was modifiedlldb/include/lldb/Symbol/Variable.h
The file was modifiedlldb/source/Interpreter/OptionValue.cpp
The file was modifiedlldb/include/lldb/Interpreter/CommandAlias.h
The file was modifiedlldb/source/Commands/CommandObjectHelp.cpp
The file was modifiedlldb/include/lldb/Interpreter/OptionValueFileSpec.h
The file was modifiedlldb/source/Utility/CompletionRequest.cpp
The file was modifiedlldb/include/lldb/Interpreter/OptionValueEnumeration.h
The file was modifiedlldb/source/Expression/REPL.cpp
The file was modifiedlldb/source/Interpreter/Options.cpp
The file was modifiedlldb/include/lldb/Core/PluginManager.h
The file was modifiedlldb/include/lldb/Utility/CompletionRequest.h
The file was modifiedlldb/unittests/Interpreter/TestCompletion.cpp
The file was modifiedlldb/include/lldb/Interpreter/OptionValueArch.h
The file was modifiedlldb/source/Commands/CommandObjectSettings.cpp
The file was modifiedlldb/source/Interpreter/OptionValueFormatEntity.cpp
The file was modifiedlldb/source/Core/IOHandler.cpp
The file was modifiedlldb/source/Commands/CommandObjectExpression.h
The file was modifiedlldb/source/Interpreter/OptionValueBoolean.cpp
The file was modifiedlldb/include/lldb/Interpreter/CommandObjectMultiword.h
The file was modifiedlldb/unittests/Utility/CompletionRequestTest.cpp
The file was modifiedlldb/source/API/SBCommandInterpreter.cpp
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/source/Interpreter/CommandInterpreter.cpp
The file was modifiedlldb/source/Interpreter/CommandObject.cpp
The file was modifiedlldb/include/lldb/Interpreter/CommandObjectRegexCommand.h
The file was modifiedlldb/include/lldb/Interpreter/OptionValueUUID.h
The file was modifiedlldb/source/Commands/CommandObjectMultiword.cpp
The file was modifiedlldb/include/lldb/Core/IOHandler.h
The file was modifiedlldb/source/Host/common/Editline.cpp
The file was modifiedlldb/source/Interpreter/CommandObjectRegexCommand.cpp
Commit 36162014c4697c30af588197d7cdeb8d2930abbf by Raphael Isemann
[lldb][NFC] Remove dead code that is supposed to handle invalid command
options
Summary: We currently have a bunch of code that is supposed to handle
invalid command options, but all this code is unreachable because
invalid options are already handled in `Options::Parse`. The only way we
can reach this code is when we declare but then not implement an option
(which will be made impossible with D65386, which is also when we can
completely remove the `default` cases).
This patch replaces all this code with `llvm_unreachable` to make clear
this is dead code that can't be reached.
Reviewers: JDevlieghere
Reviewed By: JDevlieghere
Subscribers: lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D66522
llvm-svn: 369625
The file was modifiedlldb/source/Commands/CommandObjectDisassemble.cpp
The file was modifiedlldb/source/Interpreter/OptionGroupOutputFile.cpp
The file was modifiedlldb/source/Interpreter/OptionGroupArchitecture.cpp
The file was modifiedlldb/source/Commands/CommandObjectBreakpoint.cpp
The file was modifiedlldb/source/Interpreter/OptionGroupPlatform.cpp
The file was modifiedlldb/source/Interpreter/OptionGroupVariable.cpp
The file was modifiedlldb/source/Commands/CommandObjectExpression.cpp
The file was modifiedlldb/source/Commands/CommandObjectBreakpointCommand.cpp
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/source/Commands/CommandObjectType.cpp
The file was modifiedlldb/source/Interpreter/OptionGroupUUID.cpp
The file was modifiedlldb/source/Commands/CommandObjectWatchpointCommand.cpp
The file was modifiedlldb/source/Commands/CommandObjectWatchpoint.cpp
The file was modifiedlldb/source/Commands/CommandObjectProcess.cpp
The file was modifiedlldb/source/Commands/CommandObjectSource.cpp
The file was modifiedlldb/source/Interpreter/OptionGroupFormat.cpp
The file was modifiedlldb/source/Interpreter/OptionGroupValueObjectDisplay.cpp
The file was modifiedlldb/source/Commands/CommandObjectLog.cpp
The file was modifiedlldb/source/Commands/CommandObjectTarget.cpp
The file was modifiedlldb/source/Commands/CommandObjectMemory.cpp
The file was modifiedlldb/source/Commands/CommandObjectThread.cpp
The file was modifiedlldb/source/Interpreter/OptionGroupWatchpoint.cpp
The file was modifiedlldb/source/Commands/CommandObjectHelp.h
The file was modifiedlldb/source/Commands/CommandObjectRegister.cpp
The file was modifiedlldb/source/Commands/CommandObjectCommands.cpp
The file was modifiedlldb/source/Commands/CommandObjectFrame.cpp
The file was modifiedlldb/source/Commands/CommandObjectSettings.cpp
Commit 7c6b229204c0dfcbe5758f0fd1bee370536a5658 by sam.tebbs
[ARM] Fix lsrl with a 128/256 bit shift amount or a shift of 32
This patch fixes shifts by a 128/256 bit shift amount. It also fixes
codegen for shifts of 32 by delegating to LLVM's default optimisation
instead of emitting a long shift.
Tests that used to generate long shifts of 32 are updated to check for
the more optimised codegen.
Differential revision: https://reviews.llvm.org/D66519
llvm-svn: 369626
The file was modifiedllvm/test/CodeGen/Thumb2/mve-div-expand.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-abs.ll
The file was modifiedllvm/test/CodeGen/ARM/shift_parts.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vcvt.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit 1b30ea2c504432bf2d2164ae3882137a43162e07 by pavel
[Support] Improve readNativeFile(Slice) interface
Summary: There was a subtle, but pretty important difference between the
Slice and regular versions of this function. The Slice function was
zero-initializing the rest of the buffer when the read syscall returned
less bytes than expected, while the regular function did not.
This patch removes the inconsistency by making both functions *not*
zero-initialize the buffer. The zeroing code is moved to the
MemoryBuffer class, which is currently the only user of this code. This
makes the API more consistent, and the code shorter.
While in there, I also refactor the functions to return the number of
bytes through the regular return value (via Expected<size_t>) instead of
a separate by-ref argument.
Reviewers: aganea, rnk
Subscribers: kristina, Bigcheese, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66471
llvm-svn: 369627
The file was modifiedllvm/lib/Support/Windows/Path.inc
The file was modifiedllvm/lib/Support/Unix/Path.inc
The file was modifiedllvm/include/llvm/Support/FileSystem.h
The file was modifiedllvm/unittests/Support/MemoryBufferTest.cpp
The file was modifiedllvm/unittests/Support/Path.cpp
The file was modifiedllvm/lib/Support/MemoryBuffer.cpp
Commit d420616313a3b4bc95a9effa00363cf3ad953e61 by craig.topper
[X86] Lower the cost of v2i32->v2f64 sint_to_fp under vector widening
legalization.
I don't really understand the costs we're using for fp_to_sint, but
prior to widening legalization we used 20 as the cost for this via the
v2i64->v2f64 entry. That number seems better than the 40 we got with
widening legalization. So now we need either a v2i32->v2f64 entry or a
v4i32->v2f64 entry depending on whether AVX is enabled or not since we
skip the first SSE2 table look up under AVX.
llvm-svn: 369628
The file was modifiedllvm/lib/Target/X86/X86TargetTransformInfo.cpp
The file was modifiedllvm/test/Analysis/CostModel/X86/sitofp.ll
The file was modifiedllvm/test/Analysis/CostModel/X86/cast.ll
Commit fcedc6a61bd152324bc6805bb8f0e0163f2af7d1 by hokein
Remove an unused function, suppress -Wunused-function warning.
llvm-svn: 369629
The file was modifiedclang/lib/StaticAnalyzer/Checkers/CastValueChecker.cpp
Commit e54d37153ded274e3a925537fb29fece363e0a41 by grimar
[llvm-readobj] - Remove `reportError(std::error_code EC, StringRef
Input)` helper.
We do not need it, std::error_code is used mostly for COFF and this
patch rewrites the calls to use a different overload.
Having reportError(std::error_code EC, ... is excessive by itself,
because API that use error codes actually needs refactoring to use
Error/Expected<> instead.
DIfferential revision: https://reviews.llvm.org/D66521
llvm-svn: 369630
The file was modifiedllvm/tools/llvm-readobj/ELFDumper.cpp
The file was modifiedllvm/tools/llvm-readobj/COFFDumper.cpp
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.cpp
The file was modifiedllvm/tools/llvm-readobj/llvm-readobj.h
Commit 35038c914c187484e65440d204029e716ea1eeca by hokein
[clangd] The ClangdServer::EnableHiddenFeatures is not used any more.
Remove it.
llvm-svn: 369631
The file was modifiedclang-tools-extra/clangd/ClangdServer.h
Commit 1153dc9603c74f85314505abdae28b3f0dc85c39 by Raphael Isemann
[lldb][NFC] NFC cleanup for the completion code
llvm-svn: 369632
The file was modifiedlldb/source/Commands/CommandObjectSettings.cpp
The file was modifiedlldb/source/Commands/CommandObjectMultiword.cpp
The file was modifiedlldb/source/Commands/CommandObjectProcess.cpp
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/source/Commands/CommandObjectHelp.cpp
The file was modifiedlldb/source/Interpreter/OptionValueUUID.cpp
The file was modifiedlldb/source/Core/IOHandler.cpp
The file was modifiedlldb/source/Interpreter/OptionValueEnumeration.cpp
Commit 307a73221b6481cb10604bfbe346713c9080c7f7 by hans
Revert r369458 "[DebugInfo] Add debug location to dynamic atexit
destructor"
It causes the build to fail with
"inlinable function call in a function with debug info must have a !dbg
location"
in Chromium. See llvm-commits thread for more info.
(This also reverts the follow-up in r369474.)
> Fixes PR43012
>
> Differential Revision: https://reviews.llvm.org/D66328
llvm-svn: 369633
The file was modifiedclang/test/CodeGenCXX/debug-info-global-ctor-dtor.cpp
The file was removedclang/test/CodeGenCXX/debug-info-atexit-stub.cpp
The file was modifiedclang/lib/CodeGen/CGDebugInfo.cpp
The file was modifiedclang/lib/CodeGen/CGDeclCXX.cpp
Commit 26f42623986e6d701ab7a17164b490b61fa75e6f by grimar
[llvm-objdump] - Remove an outdated "FIXME". NFC.
The bug mentioned in this test case was fixed in D63779 (r364955), which
also provides a test case.
llvm-svn: 369634
The file was modifiedllvm/test/tools/llvm-objdump/section-filter.test
Commit 494370c101e27c5a4561df864825992087a2d69f by Raphael Isemann
[lldb][NFC] Remove unused return value from
HandleOptionArgumentCompletion
llvm-svn: 369635
The file was modifiedlldb/source/Commands/CommandObjectProcess.cpp
The file was modifiedlldb/source/Interpreter/Options.cpp
The file was modifiedlldb/source/Commands/CommandObjectPlatform.cpp
The file was modifiedlldb/include/lldb/Interpreter/Options.h
Commit cd53ff6c0df5f75c4c15abffa18755a8768fc6b3 by hans
Revert r369626 "[ARM] Fix lsrl with a 128/256 bit shift amount or a
shift of 32"
It broke the bots, see e.g.
http://lab.llvm.org:8011/builders/clang-cuda-build/builds/36275/
> This patch fixes shifts by a 128/256 bit shift amount. It also fixes
> codegen for shifts of 32 by delegating to LLVM's default optimisation
> instead of emitting a long shift.
>
> Tests that used to generate long shifts of 32 are updated to check for
the
> more optimised codegen.
>
> Differential revision: https://reviews.llvm.org/D66519
>
> llvm-svn: 369626
llvm-svn: 369636
The file was modifiedllvm/test/CodeGen/ARM/shift_parts.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vcvt.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-abs.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-div-expand.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
Commit 036e636aa7fc6d367ac19197936f3320f28214b0 by serguei.katkov
[Loop Peeling] Fix silly bug in metadata update.
We must update loop metedata before we moved to parent loop if it is
present.
llvm-svn: 369637
The file was addedllvm/test/Transforms/LoopUnroll/peel-loop-inner.ll
The file was modifiedllvm/lib/Transforms/Utils/LoopUnrollPeel.cpp
Commit a69d9d61569b3c882b0b0a2c92dbf125ef64403e by sam.tebbs
Reapply: [ARM] Fix lsrl with a 128/256 bit shift amount or a shift of 32
The CodeGen/Thumb2/mve-vaddv.ll test needed to be amended to reflect the
changes from the above patch.
This reverts commit cd53ff6, reapplying 7c6b229.
llvm-svn: 369638
The file was modifiedllvm/test/CodeGen/Thumb2/mve-abs.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vcvt.ll
The file was modifiedllvm/test/CodeGen/Thumb2/mve-vaddv.ll
The file was modifiedllvm/lib/Target/ARM/ARMISelLowering.cpp
The file was modifiedllvm/test/CodeGen/Thumb2/mve-div-expand.ll
The file was modifiedllvm/test/CodeGen/ARM/shift_parts.ll
Commit 6dd51c2f193c9438ae11197333ad56b436fe9187 by llvm-dev
[MVT] Add MVT equivalent to EVT::getHalfNumVectorElementsVT() helper.
NFCI.
Allows for some cleanup in a lot of SSE/AVX vector splitting code
llvm-svn: 369640
The file was modifiedllvm/lib/Target/X86/X86ISelLowering.cpp
The file was modifiedllvm/include/llvm/Support/MachineValueType.h
Commit af478e240baa4377158a516ad28039ad0e778f69 by Yaxun.Liu
[OpenCL] Fix declaration of enqueue_marker
Differential Revision: https://reviews.llvm.org/D66512
llvm-svn: 369641
The file was modifiedclang/lib/Headers/opencl-c.h
Commit c6744055adf950b8deaa0291cb475d70ca292740 by Andrea_DiBiagio
[X86][BtVer2] Fix latency and throughput of XCHG and XADD.
On Jaguar, XCHG has a latency of 1cy and decodes to 2 macro-opcodes.
Maximum throughput for XCHG is 1 IPC. The byte exchange has worse
latency and decodes to 1 extra uOP; maximum observed throughput is 0.5
IPC.
``` xchgb %cl, %dl           # Latency: 2cy  -  uOPs: 3  -  2 ALU xchgw
%cx, %dx           # Latency: 1cy  -  uOPs: 2  -  2 ALU xchgl %ecx, %edx
        # Latency: 1cy  -  uOPs: 2  -  2 ALU xchgq %rcx, %rdx         #
Latency: 1cy  -  uOPs: 2  -  2 ALU
```
The reg-mem forms of XCHG are atomic operations with an observed latency
of 16cy.  The resource usage is similar to the XCHGrr variants. The
biggest difference is obviously the bus-locking, which prevents the LS
to issue other memory uOPs in parallel until the unlocking store uOP is
executed.
``` xchgb %cl, (%rsp)        # Latency: 16cy  -  uOPs: 3 - ECX latency:
11cy xchgw %cx, (%rsp)        # Latency: 16cy  -  uOPs: 3 - ECX latency:
11cy xchgl %ecx, (%rsp)       # Latency: 16cy  -  uOPs: 3 - ECX latency:
11cy xchgq %rcx, (%rsp)       # Latency: 16cy  -  uOPs: 3 - ECX latency:
11cy
```
The exchanged in/out register operand becomes available after 11cy from
the start of execution. Added test xchg.s to verify that we correctly
see that register write committed in 11cy (and not 16cy).
Reg-reg XADD instructions have the same latency/throughput than the byte
exchange (register-register variant).
``` xaddb %cl, %dl           # latency: 2cy  -  uOPs: 3  -  3 ALU xaddw
%cx, %dx           # latency: 2cy  -  uOPs: 3  -  3 ALU xaddl %ecx, %edx
        # latency: 2cy  -  uOPs: 3  -  3 ALU xaddq %rcx, %rdx         #
latency: 2cy  -  uOPs: 3  -  3 ALU
```
The non-atomic RM variants have a latency of 11cy, and decode to 4
macro-opcodes. They still consume 2 ALU pipes, and the exchange in/out
register operand becomes available in 3cy (it matches the 'load-to-use
latency').
``` xaddb %cl, (%rsp)        # latency: 11cy  -  uOPs: 4  -  3 ALU xaddw
%cx, (%rsp)        # latency: 11cy  -  uOPs: 4  -  3 ALU xaddl %ecx,
(%rsp)       # latency: 11cy  -  uOPs: 4  -  3 ALU xaddq %rcx, (%rsp)  
   # latency: 11cy  -  uOPs: 4  -  3 ALU
```
The atomic XADD variants execute in 16cy. The in/out register operand is
available after 11cy from the start of execution.
``` lock xaddb %cl, (%rsp)   # latency: 16cy - uOPs: 4 - 3 ALU -- ECX
latency: 11cy lock xaddw %cx, (%rsp)   # latency: 16cy - uOPs: 4 - 3 ALU
-- ECX latency: 11cy lock xaddl %ecx, (%rsp)  # latency: 16cy - uOPs: 4
- 3 ALU -- ECX latency: 11cy lock xaddq %rcx, (%rsp)  # latency: 16cy -
uOPs: 4 - 3 ALU -- ECX latency: 11cy
```
Added test xadd.s to verify those latencies as well as read-advance
values.
Differential Revision: https://reviews.llvm.org/D66535
llvm-svn: 369642
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/resources-x86_64.s
The file was addedllvm/test/tools/llvm-mca/X86/BtVer2/xadd.s
The file was addedllvm/test/tools/llvm-mca/X86/BtVer2/xchg.s
The file was modifiedllvm/lib/Target/X86/X86ScheduleBtVer2.td
Commit 282dc72c8b84759dda4fe12420228158962351e8 by gribozavr
Remove \brief commands from doxygen comments.
Summary: We've been running doxygen with the autobrief option for a
couple of years now. This makes the \brief markers into our comments
redundant. Since they are a visual distraction and we don't want to
encourage more \brief markers in new code either, this patch removes
them all.
Patch produced by
  for i in $(git grep -l '\\brief'); do perl -pi -e 's/\\brief //g' $i &
done
[This is analogous to LLVM r331272 and CFE r331834]
Subscribers: srhines, nemanjai, javed.absar, kbarton, MaskRay, jkorous,
arphaman, jfb, kadircet, jsji, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66578
llvm-svn: 369643
The file was modifiedclang-tools-extra/clang-apply-replacements/tool/ClangApplyReplacementsMain.cpp
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyOptions.cpp
The file was modifiedclang-tools-extra/clang-include-fixer/find-all-symbols/PragmaCommentHandler.h
The file was modifiedclang-tools-extra/modularize/ModularizeUtilities.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseNullptrCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/PassByValueCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/HeaderGuard.cpp
The file was modifiedclang-tools-extra/clangd/URI.cpp
The file was modifiedclang-tools-extra/clang-apply-replacements/include/clang-apply-replacements/Tooling/ApplyReplacements.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/LoopConvertUtils.h
The file was modifiedclang-tools-extra/clang-include-fixer/find-all-symbols/SymbolReporter.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseEqualsDeleteCheck.h
The file was modifiedclang-tools-extra/clang-include-fixer/find-all-symbols/PathConfig.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/IncorrectRoundingsCheck.h
The file was modifiedclang-tools-extra/clang-tidy/readability/IdentifierNamingCheck.h
The file was modifiedclang-tools-extra/clang-tidy/utils/DeclRefExprUtils.h
The file was modifiedclang-tools-extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.h
The file was modifiedclang-tools-extra/clangd/index/SymbolCollector.h
The file was modifiedclang-tools-extra/clang-tidy/utils/OptionsUtils.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseAutoCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/llvm/PreferIsaOrDynCastInConditionalsCheck.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/ReplaceAutoPtrCheck.cpp
The file was modifiedclang-tools-extra/clangd/tool/ClangdMain.cpp
The file was modifiedclang-tools-extra/modularize/Modularize.h
The file was modifiedclang-tools-extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/MultipleStatementMacroCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseEqualsDefaultCheck.cpp
The file was modifiedclang-tools-extra/clang-apply-replacements/lib/Tooling/ApplyReplacements.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/VirtualNearMissCheck.h
The file was modifiedclang-tools-extra/clangd/index/Index.h
The file was modifiedclang-tools-extra/clang-tidy/utils/HeaderFileExtensionsUtils.h
The file was modifiedclang-tools-extra/clang-include-fixer/find-all-symbols/SymbolInfo.h
The file was modifiedclang-tools-extra/clang-reorder-fields/ReorderFieldsAction.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/StaticAccessedThroughInstanceCheck.h
The file was modifiedclang-tools-extra/clang-tidy/google/NonConstReferences.h
The file was modifiedclang-tools-extra/modularize/PreprocessorTracker.h
The file was modifiedclang-tools-extra/clang-include-fixer/find-all-symbols/FindAllSymbols.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseEqualsDefaultCheck.h
The file was modifiedclang-tools-extra/clang-include-fixer/find-all-symbols/FindAllMacros.h
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyDiagnosticConsumer.h
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyModule.h
The file was modifiedclang-tools-extra/clang-tidy/ExpandModularHeadersPPCallbacks.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseNodiscardCheck.h
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyOptions.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/RedundantVoidArgCheck.h
The file was modifiedclang-tools-extra/clang-tidy/readability/ImplicitBoolConversionCheck.h
The file was modifiedclang-tools-extra/clang-tidy/bugprone/SwappedArgumentsCheck.cpp
The file was modifiedclang-tools-extra/clang-doc/BitcodeWriter.cpp
The file was modifiedclang-tools-extra/clang-tidy/bugprone/TooSmallLoopVariableCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/LoopConvertUtils.cpp
The file was modifiedclang-tools-extra/clang-tidy/utils/FixItHintUtils.h
The file was modifiedclang-tools-extra/clang-include-fixer/find-all-symbols/HeaderMapCollector.h
The file was modifiedclang-tools-extra/clang-tidy/ClangTidyCheck.h
The file was modifiedclang-tools-extra/clang-tidy/utils/IncludeInserter.h
The file was modifiedclang-tools-extra/clangd/fuzzer/clangd-fuzzer.cpp
The file was modifiedclang-tools-extra/modularize/CoverageChecker.h
The file was modifiedclang-tools-extra/clang-include-fixer/IncludeFixerContext.h
The file was modifiedclang-tools-extra/clang-query/QueryParser.h
The file was modifiedclang-tools-extra/clang-tidy/performance/UnnecessaryValueParamCheck.h
The file was modifiedclang-tools-extra/clang-tidy/objc/SuperSelfCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
The file was modifiedclang-tools-extra/clang-tidy/readability/ConvertMemberFunctionsToStatic.cpp
The file was modifiedclang-tools-extra/clang-tidy/android/CloexecCheck.h
The file was modifiedclang-tools-extra/clang-tidy/ClangTidy.h
The file was modifiedclang-tools-extra/pp-trace/PPCallbacksTracker.h
The file was modifiedclang-tools-extra/clang-tidy/modernize/UseNoexceptCheck.h
The file was modifiedclang-tools-extra/unittests/include/common/VirtualFileHelper.h
The file was modifiedclang-tools-extra/clang-tidy/cppcoreguidelines/ProTypeMemberInitCheck.h
The file was modifiedclang-tools-extra/pp-trace/PPCallbacksTracker.cpp
Commit c2ca965c8984202ef887a43c1119c7e21b559bf3 by sylvestre
Fix some regressions caused by r369553 on old versions of Debian and
Ubuntu It was causing some errors like:
Encoding error:
'ascii' codec can't decode byte 0xe2 in position 341: ordinal not in
range(128) The full traceback has been saved in
/tmp/sphinx-err-y2fq4dtb.log, if you want to report the issue to the
developers.
llvm-svn: 369644
The file was modifiedllvm/docs/CommandGuide/llvm-ranlib.rst
The file was modifiedllvm/docs/CommandGuide/llvm-strings.rst
The file was modifiedllvm/docs/CommandGuide/llvm-size.rst
Commit 91208447d0a653871165c2139ac7030dc95022b3 by grimar
[yaml2obj] - Lookup relocation symbols in dynamic symbol when .dynsym
referenced.
This fixes https://bugs.llvm.org/show_bug.cgi?id=40337.
Previously, it was always assumed that relocations referenced symbols in
the static symbol table.  Now, if the Link field references a section
called ".dynsym" it will look up these symbols in the dynamic symbol
table.
This patch is heavily based on D59097 by James Henderson
Differential revision: https://reviews.llvm.org/D66532
llvm-svn: 369645
The file was modifiedllvm/lib/ObjectYAML/ELFEmitter.cpp
The file was modifiedllvm/test/tools/llvm-readobj/demangle.test
The file was addedllvm/test/tools/yaml2obj/dynamic-relocations.yaml
The file was modifiedllvm/test/tools/yaml2obj/dynamic-symbols.yaml
Commit 5215770e88ee71321466a4904a4ab628af687673 by Raphael Isemann
[lldb][NFC] Add test for target stop-hook disable/enable/delete
llvm-svn: 369646
The file was modifiedlldb/packages/Python/lldbsuite/test/functionalities/target_command/TestTargetCommand.py
Commit 8288453f6aac05080b751b680455349e09d49825 by hans
Revert r369402 "win: Enable /Zc:twoPhase by default if targeting MSVC
2017 update 3 or newer"
This broke compiling some ASan tests with never versions of MSVC/the Win
SDK, see https://crbug.com/996675
> MSVC 2017 update 3 (_MSC_VER 1911) enables /Zc:twoPhase by default,
and
> so should clang-cl:
> https://docs.microsoft.com/en-us/cpp/build/reference/zc-twophase
>
> clang-cl takes the MSVC version it emulates from the -fmsc-version
flag,
> or if that's not passed it tries to check what the installed version
of
> MSVC is and uses that, and failing that it uses a default version
that's
> currently 1911. So this changes the default if no -fmsc-version flag
is
> passed and no installed MSVC is detected. (It also changes the default
> if -fmsc-version is passed or MSVC is detected, and either indicates
> _MSC_VER >= 1911.)
>
> As mentioned in the MSDN article, the Windows SDK header files in
> version 10.0.15063.0 (Creators Update or Redstone 2) and earlier
> versions do not work correctly with /Zc:twoPhase. If you need to use
> these old SDKs with a new clang-cl, explicitly pass /Zc:twoPhase- to
get
> the old behavior.
>
> Fixes PR43032.
>
> Differential Revision: https://reviews.llvm.org/D66394
llvm-svn: 369647
The file was modifiedclang/test/Driver/cl-options.c
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Driver/CLCompatOptions.td
The file was modifiedclang/docs/ReleaseNotes.rst
Commit 589cb004dee799a097b878a8a13e4ba43114d5bd by Andrea_DiBiagio
[MCA] consistently use MCPhysReg instead of unsigned as register type.
NFCI
llvm-svn: 369648
The file was modifiedllvm/lib/MCA/Stages/DispatchStage.cpp
The file was modifiedllvm/lib/MCA/InstrBuilder.cpp
The file was modifiedllvm/include/llvm/MCA/Instruction.h
The file was modifiedllvm/lib/MCA/HardwareUnits/RegisterFile.cpp
The file was modifiedllvm/include/llvm/MCA/HardwareUnits/RegisterFile.h
The file was modifiedllvm/lib/MCA/Instruction.cpp
Commit 545e993b8b0c39c9622924cd6467e3adc9b075a4 by Jinsong Ji
[SlotIndexes] Add print-slotindexes to disable printing slotindexes
Summary: When we print the IR with --print-after/before-*, SlotIndexes
will be printed whenever available (We haven't freed it).
This introduces some noises when we try to compare the IR among
different optimizations.
eg:
-print-before=machine-cp will print SlotIndexes for 1st machine-cp pass,
but NOT for 2nd machine-cp;
-print-after=machine-cp will NOT print SlotIndexes for both machine-cp
passes. So SlotIndexes in 1st pass introduce noises when differing these
IRs.
This patch introduces an option to hide indexes.
Reviewers: stoklund, thegameg, qcolombet
Reviewed By: thegameg
Subscribers: hiraditya, arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66500
llvm-svn: 369650
The file was addedllvm/test/Other/print-slotindexes.ll
The file was modifiedllvm/lib/CodeGen/MachineBasicBlock.cpp
Commit 00235e1b920e220d813db9b8037e88ed6d59d6f4 by Raphael Isemann
[lldb][NFC] Fix indentation in CommandObjectProcess
llvm-svn: 369652
The file was modifiedlldb/source/Commands/CommandObjectProcess.cpp
Commit 70576cac521a3d6eb90db41fa2e60b4b55eec861 by uenoku.tokotoko
[Attributor][NFC] Move DerefState to header and use StateWrapper
Summary: In D65402, I want to get DerefState from AADereferenceable but
it was not allowed. This patch moves DerefState definition into
Attributor.h and makes AADerefenceable inherit StateWrapper.
Reviewers: jdoerfert, sstefan1
Reviewed By: jdoerfert
Subscribers: hiraditya, jfb, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66585
llvm-svn: 369653
The file was modifiedllvm/include/llvm/Transforms/IPO/Attributor.h
The file was modifiedllvm/lib/Transforms/IPO/Attributor.cpp
Commit b17d6c52fd4eaa5ae26b1ec5eea642d6d933ee37 by jan.kratochvil
[lldb] Fix `TestDataFormatterStdList` regression
Since D66174 I see failures of TestDataFormatterStdList in about 50% of
runs on Fedora 30 x86_64 libstdc++. I have found out that LLDB
internally expects these RegularExpressions to be matched in their
alphabetical order:
^std::(__cxx11::)?list<.+>(( )?&)?$
^std::__[[:alnum:]]+::list<.+>(( )?&)?$
But since D66174 they are sometimes matched in reverse order. In fact it
was only some luck it worked before as there is internally
std::map<lldb::RegularExpressionSP, FormatterImpl>
(FormattersContainer).
Differential Revision: https://reviews.llvm.org/D66398
llvm-svn: 369655
The file was modifiedlldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
Commit 08d93f1ed3b65d962552e5b3b9a288078a0b740e by hokein
[clangd] Send suppported codeActionKinds to the client.
Summary: This would make client know which codeActionKinds that clangd
may return.
VSCode will add a new entry "Refactor..." (which shows all
refactoring-kind code actions) in the right-click menu.
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D66592
llvm-svn: 369656
The file was modifiedclang-tools-extra/clangd/ClangdLSPServer.cpp
Commit 18fd1b0b494a196f84bfa93dec6f421c9a4da22e by sfertile
[PowerPC][XCOFF][MC] Explicitly set containing csect on symbols. [NFC]
Previously we would get the csect a symbol was contained in through its
fragment. This works only if we are writing an object file, and only for
defined symbols. To fix this we set the contating csect explicitly on
the MCSymbolXCOFF object.
Differential Revision: https://reviews.llvm.org/D66032
llvm-svn: 369657
The file was modifiedllvm/include/llvm/MC/MCSymbolXCOFF.h
The file was modifiedllvm/lib/MC/XCOFFObjectWriter.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit 5f85a7b1cfe900e9ade741fec770397c5a7bded6 by sfertile
[PowerPC] Add combined ELF ABI and 32/64 bit queries to the subtarget.
[NFC]
A lot of places in the code combine checks for both ABI
(SVR4/Darwin/AIX) and addressing mode (64-bit vs 32-bit). In an attempt
to make some of the code more readable I've added a couple functions
that combine checking for the ELF abi and 64-bit/32-bit code at once. As
we add more AIX support I intend to add similar functions for the AIX
ABI.
Differential Revision: https://reviews.llvm.org/D65814
llvm-svn: 369658
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCRegisterInfo.td
The file was modifiedllvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCSubtarget.h
The file was modifiedllvm/lib/Target/PowerPC/PPCISelLowering.cpp
The file was modifiedllvm/lib/Target/PowerPC/PPCFastISel.cpp
Commit ab2f68d5adf83dfb2484ad2c0b7aff7f2badc23d by llvm-dev
[PowerPC] Regenerate reciprocal tests, as discussed on D66548
llvm-svn: 369659
The file was modifiedllvm/test/CodeGen/PowerPC/qpx-recipest.ll
Commit 4ae79199ed1a2d6dc8961ed124048f5622b95bab by Raphael Isemann
[lldb] Remove ')' to fix the build
That ')' slipped in by accident in the reformatting commit.
llvm-svn: 369660
The file was modifiedlldb/source/Commands/CommandObjectProcess.cpp
Commit c9649eb9dab747c3b5c1d2b8ab6d54145fce40b2 by Andrea_DiBiagio
[X86][BtVer2] Fix latency/throughput of scalar integer MUL instructions.
Single operand MUL instructions that implicitly set EAX have the
following latency/throughput profile (see below):
imul %cl              # latency: 3cy - uOPs: 1 - 1 JMul imul %cx       
     # latency: 3cy - uOPs: 3 - 3 JMul imul %ecx             # latency:
3cy - uOPs: 2 - 2 JMul imul %rcx             # latency: 6cy - uOPs: 2 -
4 JMul
mul %cl               # latency: 3cy - uOPs: 1 - 1 JMul mul %cx        
     # latency: 3cy - uOPs: 3 - 3 JMul mul %ecx              # latency:
3cy - uOPs: 2 - 2 JMul mul %rcx              # latency: 6cy - uOPs: 2 -
4 JMul
Excluding the 64bit variant, which has a latency of 6cy, every other
instruction has a latency of 3cy. However, the number of decoded
macro-opcodes (as well as the resource cyles) depend on the MUL size.
The two operand MULs have a more predictable profile (see below):
imul %dx, %dx         # latency: 3cy - uOPs: 1 - 1 JMul imul %edx, %edx
     # latency: 3cy - uOPs: 1 - 1 JMul imul %rdx, %rdx       # latency:
6cy - uOPs: 1 - 4 JMul
imul $3, %dx, %dx     # latency: 4cy - uOPs: 2 - 2 JMul imul $3, %ecx,
%ecx   # latency: 3cy - uOPs: 1 - 1 JMul imul $3, %rdx, %rdx   #
latency: 6cy - uOPs: 1 - 4 JMul
This patch updates the values in the Jaguar scheduling model and
regenerates llvm-mca tests.
Differential Revision: https://reviews.llvm.org/D66547
llvm-svn: 369661
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-6.s
The file was modifiedllvm/test/tools/llvm-mca/X86/llvm-mca-markers-10.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/xchg.s
The file was modifiedllvm/test/tools/llvm-mca/X86/llvm-mca-markers-9.s
The file was modifiedllvm/test/tools/llvm-mca/X86/intel-syntax.s
The file was modifiedllvm/lib/Target/X86/X86ScheduleBtVer2.td
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/clear-super-register-1.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-4.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-7.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/xadd.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/read-advance-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/resources-x86_64.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/dependency-breaking-sbb-2.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/cmpxchg-read-advance.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update.s
The file was modifiedllvm/test/tools/llvm-mca/X86/BtVer2/partial-reg-update-2.s
Commit 95cf66de7cc186253c59a009bb795da1cbe9d6f4 by deadalnix
[DAGCombiner] Remove explicit call to AddToWorklist in sqrt and
reciprocal computations
Summary: These nodes end up being processed regardless due to
DAGCombiner ensuring arguments are processed. This changes the order in
which nodes are processed, which fixes an issue on PowerPC.
Reviewers: craig.topper, efriedma, RKSimon, lebedev.ri, mcberg2017,
stefanp, hfinkel
Subscribers: nemanjai, MaskRay, jsji, steven.zhang, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66548
llvm-svn: 369662
The file was modifiedllvm/test/CodeGen/PowerPC/qpx-recipest.ll
The file was modifiedllvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
Commit 51f48295cbe8fa3a44db263b528dd9f7bae7bf9a by carrot
[MBP] Disable aggressive loop rotate in plain mode
Patch https://reviews.llvm.org/D43256 introduced more aggressive loop
layout optimization which depends on profile information. If profile
information is not available, the statically estimated profile
information(generated by BranchProbabilityInfo.cpp) is used. If user
program doesn't behave as BranchProbabilityInfo.cpp expected, the layout
may be worse.
To be conservative this patch restores the original layout algorithm in
plain mode. But user can still try the aggressive layout optimization
with -force-precise-rotation-cost=true.
Differential Revision: https://reviews.llvm.org/D65673
llvm-svn: 369664
The file was modifiedllvm/test/CodeGen/ARM/atomic-cmp.ll
The file was removedllvm/test/CodeGen/X86/loop-rotate.ll
The file was modifiedllvm/test/CodeGen/PowerPC/cmp_elimination.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-5.ll
The file was modifiedllvm/test/CodeGen/X86/reverse_branches.ll
The file was modifiedllvm/test/CodeGen/RISCV/atomic-rmw.ll
The file was modifiedllvm/test/CodeGen/X86/code_placement_ignore_succ_in_inner_loop.ll
The file was modifiedllvm/test/CodeGen/Hexagon/redundant-branching2.ll
The file was modifiedllvm/test/CodeGen/ARM/atomic-cmpxchg.ll
The file was modifiedllvm/test/CodeGen/RISCV/remat.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/optimize-negated-cond.ll
The file was modifiedllvm/test/CodeGen/AArch64/tailmerging_in_mbp.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/si-annotate-cf.ll
The file was modifiedllvm/test/CodeGen/ARM/code-placement.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wqm.ll
The file was modifiedllvm/test/CodeGen/PowerPC/block-placement-1.mir
The file was modifiedllvm/test/CodeGen/X86/block-placement.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/global_smrd_cfg.ll
The file was modifiedllvm/test/CodeGen/Thumb/pr42760.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-3.ll
The file was modifiedllvm/test/CodeGen/X86/code_placement.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-4.ll
The file was modifiedllvm/test/CodeGen/Thumb/consthoist-physical-addr.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-6.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/indirect-addressing-si.ll
The file was modifiedllvm/test/DebugInfo/X86/PR37234.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/multilevel-break.ll
The file was modifiedllvm/test/CodeGen/ARM/arm-and-tst-peephole.ll
The file was modifiedllvm/test/CodeGen/X86/code_placement_no_header_change.ll
The file was modifiedllvm/test/CodeGen/X86/move_latch_to_loop_top.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-2.ll
The file was modifiedllvm/test/CodeGen/ARM/2011-03-23-PeepholeBug.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/divergent-branch-uniform-condition.ll
The file was modifiedllvm/test/CodeGen/Hexagon/prof-early-if.ll
The file was modifiedllvm/test/CodeGen/X86/loop-blocks.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/loop_exit_with_xor.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/collapse-endcf.ll
The file was modifiedllvm/test/CodeGen/Hexagon/bug6757-endloop.ll
The file was modifiedllvm/test/CodeGen/X86/conditional-tailcall.ll
The file was modifiedllvm/test/CodeGen/PowerPC/atomics-regression.ll
The file was modifiedllvm/test/CodeGen/X86/lsr-loop-exit-cond.ll
The file was modifiedllvm/test/CodeGen/AArch64/cmpxchg-idioms.ll
The file was modifiedllvm/test/CodeGen/X86/widen_cast-4.ll
The file was modifiedllvm/test/CodeGen/Hexagon/early-if-merge-loop.ll
The file was modifiedllvm/test/CodeGen/PowerPC/machine-pre.ll
The file was modifiedllvm/test/CodeGen/X86/widen_arith-1.ll
The file was modifiedllvm/test/CodeGen/X86/vector-shift-by-select-loop.ll
The file was modifiedllvm/test/CodeGen/X86/tail-dup-merge-loop-headers.ll
The file was modifiedllvm/test/CodeGen/ARM/pr32578.ll
The file was modifiedllvm/test/CodeGen/PowerPC/licm-remat.ll
The file was modifiedllvm/test/DebugInfo/X86/dbg-value-transfer-order.ll
The file was modifiedllvm/lib/CodeGen/MachineBlockPlacement.cpp
The file was modifiedllvm/test/CodeGen/X86/ragreedy-hoist-spill.ll
The file was modifiedllvm/test/CodeGen/X86/speculative-load-hardening.ll
The file was modifiedllvm/test/CodeGen/X86/tail-dup-repeat.ll
The file was modifiedllvm/test/CodeGen/X86/pr38185.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/wave32.ll
The file was modifiedllvm/test/CodeGen/AMDGPU/i1-copy-from-loop.ll
Commit 898a0e9b8495b4247ed77bb33725a153503150ed by craig.topper
[X86] Remove MCInstLower code that drops operands from some CALL and
TAILJMP instructions. Add asserts to verify operand count
It appears the FIXME here was handled at some point. r159728 from 2012
seems to be at least aportion of fixing it.
Differential Revision: https://reviews.llvm.org/D66570
llvm-svn: 369665
The file was modifiedllvm/lib/Target/X86/X86MCInstLower.cpp
Commit 5ee01ef1e53251c7fec97660e1784e9d4b9b9e0b by shauryab98
Fixed Missing Expected error handling
llvm-svn: 369666
The file was modifiedclang-tools-extra/clangd/unittests/TweakTesting.cpp
Commit 41f89c348421c27387ba5063b4fb418a53abfea9 by lebedev.ri
[NFC][InstCombine] New tests: unrecognized_three-way-comparison.ll is
ignorant about commutative variants
D66232 "exposes" the problem.
llvm-svn: 369667
The file was modifiedllvm/test/Transforms/InstCombine/unrecognized_three-way-comparison.ll
Commit ebcfc9eaed5dcc7eec40a916c6d12de8515494a0 by a.bataev
[OPENMP]Generalization of handling of declare target attribute.
Used OMPDeclareTargetDeclAttr::isDeclareTargetDeclaration instead of
direct checking of the OMPDeclareTargetDeclAttr attribute.
llvm-svn: 369668
The file was modifiedclang/lib/Sema/SemaDecl.cpp
The file was modifiedclang/lib/Sema/SemaOpenMP.cpp
Commit 7be93589c4b548ac2aeed12475338e66c7b388bf by Adrian Prantl
Doxygenify comments.
llvm-svn: 369669
The file was modifiedlldb/include/lldb/lldb-enumerations.h
Commit 9a0f124f26437504c50fdb78401b73d820ed3991 by Adrian Prantl
Remove redundant curly braces.
llvm-svn: 369670
The file was modifiedlldb/tools/lldb-test/lldb-test.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit 5b5ee61b5fa95327ed5a57b16f22e9e52a459129 by francisvm
[MachO][TLOF] Use hasLocalLinkage to determine if indirect symbol is
local
Local symbols in the indirect symbol table contain the value
`INDIRECT_SYMBOL_LOCAL` and the corresponding __pointers entry must
contain the address of the target.
In r349060, I added support for local symbols in the indirect symbol
table, which was checking if the symbol `isDefined` && `!isExternal` to
determine if the symbol is local or not.
It turns out that `isDefined` will return false if the user of the
symbol comes before its definition, and we'll again generate .long 0
which will be the symbol at the adress 0x0.
Instead of doing that, use GlobalValue::hasLocalLinkage() to check if
the symbol is local.
Differential Revision: https://reviews.llvm.org/D66563
llvm-svn: 369671
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetObjectFile.cpp
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetObjectFile.h
The file was modifiedllvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
The file was modifiedllvm/lib/Target/X86/X86TargetObjectFile.h
The file was modifiedllvm/test/MC/MachO/cstexpr-gotpcrel-32.ll
The file was modifiedllvm/include/llvm/Target/TargetLoweringObjectFile.h
The file was modifiedllvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
The file was modifiedllvm/lib/Target/AArch64/AArch64TargetObjectFile.cpp
Commit 347c7d682e5a88bcc94a2cfa4aaaf48536473418 by Louis Dionne
[libc++] Mark lock_guard nodiscard test as unsupported in C++03
llvm-svn: 369672
The file was modifiedlibcxx/test/libcxx/thread/thread.lock/thread.lock.guard/nodiscard.fail.cpp
Commit fba82858f2673b0602557d8de8d1dcb224f0d635 by Matthew.Arsenault
GlobalISel: Don't create G_UADDE with constant false carry in
The x86 tests are now broken (in paticular add-scalar.ll now hits the
DAG fallback) due to not handling G_UADDO. The DAG x86 backend has a
custom lowering for this, so that will need to be implemented.
llvm-svn: 369673
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/llvm-ir/add.ll
The file was modifiedllvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-add.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-phi.mir
The file was modifiedllvm/test/CodeGen/AMDGPU/GlobalISel/legalize-sitofp.mir
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/legalize-add.mir
The file was modifiedllvm/test/CodeGen/Mips/GlobalISel/legalizer/add.mir
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/add-scalar.ll
The file was modifiedllvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll
The file was modifiedllvm/test/CodeGen/X86/GlobalISel/legalize-add.mir
Commit d5aecb9486e4ae94d776a809b1b9638b398abbe2 by benny.kra
Retire llvm::less/equal in favor of C++14 std::less<>/equal_to<>.
llvm-svn: 369674
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedllvm/utils/TableGen/CodeGenDAGPatterns.cpp
The file was modifiedllvm/utils/TableGen/CodeGenRegisters.h
The file was modifiedllvm/utils/TableGen/CodeGenRegisters.cpp
The file was modifiedllvm/utils/TableGen/RegisterInfoEmitter.cpp
The file was modifiedclang-tools-extra/clang-doc/Representation.h
Commit cd2bae3bd77fc3ee75cf98ebe02d88776d6d6a9a by benny.kra
Retire llvm::less_ptr. llvm::deref is much more flexible.
llvm-svn: 369675
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedllvm/include/llvm/ADT/STLExtras.h
The file was modifiedclang/utils/TableGen/NeonEmitter.cpp
The file was modifiedllvm/utils/TableGen/AsmMatcherEmitter.cpp
Commit 1a28a06ebef290e0dafcd2d2f4ca1a817263d02b by shauryab98
[Clangd] Tweaktesting replace toString with consumeError
llvm-svn: 369676
The file was modifiedclang-tools-extra/clangd/unittests/TweakTesting.cpp
Commit 966eea91ad94e38a3654f154d2d5ad28ea5deb9d by richard-llvm
Revert "[LifetimeAnalysis] Support more STL idioms (template forward
declaration and DependentNameType)"
This reverts commit r369591, because it causes the formerly-reliable
-Wreturn-stack-address warning to start issuing false positives.
Testcase provided on the commit thread.
llvm-svn: 369677
The file was modifiedclang/lib/Sema/SemaInit.cpp
The file was removedclang/unittests/Sema/GslOwnerPointerInference.cpp
The file was modifiedclang/test/SemaCXX/attr-gsl-owner-pointer-std.cpp
The file was modifiedclang/lib/Sema/SemaAttr.cpp
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp
The file was modifiedclang/lib/Sema/SemaTemplateInstantiateDecl.cpp
The file was modifiedclang/test/SemaCXX/attr-gsl-owner-pointer.cpp
The file was modifiedclang/unittests/Sema/CMakeLists.txt
Commit f12d56f2638d7402d94efb6081e972ea3e819fcc by nicolasweber
gn build: Merge r369677
llvm-svn: 369678
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Sema/BUILD.gn
Commit 15ee5ba6e75759f5ca3d58f941fb6f8023741491 by benny.kra
[clangd] Fold string copy into lambda capture. NFC.
llvm-svn: 369679
The file was modifiedclang-tools-extra/clangd/ClangdServer.cpp
Commit 4dc5573acc0d2e7c59d8bac2543eb25cb4b32984 by Alex Lorenz
Introduce FileEntryRef and use it when handling includes to report
correct dependencies when the FileManager is reused across invocations
This commit introduces a parallel API to FileManager's getFile:
getFileEntryRef, which returns a reference to the FileEntry, and the
name that was used to access the file. In the case of a VFS with
'use-external-names', the FileEntyRef contains the external name of the
file, not the filename that was used to access it.
The new API is adopted only in the HeaderSearch and Preprocessor for
include file lookup, so that the accessed path can be propagated to
SourceManager's FileInfo. SourceManager's FileInfo now can report this
accessed path, using the new getName method. This API is then adopted in
the dependency collector, which now correctly reports dependencies when
a file is included both using a symlink and a real path in the case when
the FileManager is reused across multiple Preprocessor invocations.
Note that this patch does not fix all dependency collector issues, as
the same problem is still present in other cases when dependencies are
obtained using FileSkipped, InclusionDirective, and HasInclude. This
will be fixed in follow-up commits.
Differential Revision: https://reviews.llvm.org/D65907
llvm-svn: 369680
The file was modifiedclang/lib/Lex/HeaderSearch.cpp
The file was modifiedclang/include/clang/Basic/SourceManager.h
The file was modifiedclang/lib/Lex/PPMacroExpansion.cpp
The file was modifiedclang/test/VFS/external-names.c
The file was modifiedclang/unittests/Tooling/CMakeLists.txt
The file was modifiedclang/lib/Lex/HeaderMap.cpp
The file was modifiedclang/lib/Lex/Preprocessor.cpp
The file was modifiedclang/lib/Serialization/ASTReader.cpp
The file was addedclang/unittests/Tooling/DependencyScannerTest.cpp
The file was modifiedclang/lib/Lex/PPDirectives.cpp
The file was modifiedclang/lib/Frontend/Rewrite/InclusionRewriter.cpp
The file was modifiedclang/include/clang/Lex/DirectoryLookup.h
The file was modifiedclang/include/clang/Basic/FileManager.h
The file was modifiedclang/lib/Serialization/ASTWriter.cpp
The file was modifiedclang/lib/Frontend/CompilerInstance.cpp
The file was modifiedclang/lib/Frontend/FrontendActions.cpp
The file was modifiedclang/lib/Basic/FileManager.cpp
The file was modifiedclang/include/clang/Lex/HeaderMap.h
The file was modifiedclang/lib/Lex/Pragma.cpp
The file was modifiedclang/lib/Frontend/DependencyFile.cpp
The file was modifiedclang/lib/Frontend/VerifyDiagnosticConsumer.cpp
The file was modifiedclang/include/clang/Lex/HeaderSearch.h
The file was modifiedclang/include/clang/Lex/Preprocessor.h
The file was modifiedclang/lib/Basic/SourceManager.cpp
Commit ed184b03d252835f27f3eb6fe81af9468618f5b6 by nicolasweber
gn build: Merge r369680
llvm-svn: 369682
The file was modifiedllvm/utils/gn/secondary/clang/unittests/Tooling/BUILD.gn
Commit 9148302a2ae5ac6e5d69ae84042361889247ce64 by aaron
Implement nullPointerConstant() using a better API.
Instead of manually attempting to identify whether something is a null
pointer constant, use Expr::isNullPointerConstant().
llvm-svn: 369683
The file was modifiedclang/include/clang/ASTMatchers/ASTMatchers.h
Commit cc62e38d258f414c196b566374c606e83a85a034 by Vedant Kumar
[heap.py] Add missing declaration for malloc_get_all_zones
The evaluation context isn't guaranteed to have this declaration.
Fixes "error: use of undeclared identifier 'malloc_get_all_zones'" bugs.
llvm-svn: 369684
The file was modifiedlldb/examples/darwin/heap_find/heap.py
Commit e5d6f07e9d9ab1c4600d70609cb1303583957d66 by deadalnix
[AArch64] autogenerate some tests. NFC
llvm-svn: 369685
The file was modifiedllvm/test/CodeGen/AArch64/arm64-vmul.ll
Commit 518b2266f5eb22b0c34835971ef1bbaf7f2ac710 by aaron
Fix the nullPointerConstant() test to get bots back to green.
llvm-svn: 369686
The file was modifiedclang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
Commit 18796da0cd5c4d2fb7cf95f8e0f9db1958effaaa by aaron
Improve the documentation for OpenCL vector types.
This fixes some minor grammatical issues I noticed when reading the
docs, and changes the recommended feature testing approach to use
__has_attribute instead of __has_extension.
llvm-svn: 369687
The file was modifiedclang/docs/LanguageExtensions.rst
Commit 7a490c5b0683208c5df9f3be86260bb7e086ecc2 by Alex Lorenz
Disable the ScanDepsReuseFilemanager test on Windows
Right now it fails. I'm going to investigate it and fix it in follow-up
commits.
llvm-svn: 369688
The file was modifiedclang/unittests/Tooling/DependencyScannerTest.cpp
Commit 6c6dd6acf9e4a9d0599c99abbcbb696ed6b5ab19 by rupprecht
[llvm-objcopy][NFC] Refactor symbol/section matching
Summary: The matchers for section/symbol related flags (e.g.
`--keep-symbol=Name` or `--regex --keep-symbol=foo.*`) are currently
just vectors that are matched linearlly. However, adding wildcard
support would require negative matching too, e.g. a symbol should be
removed if it matches a wildcard *but* doesn't match some other
wildcard.
To make the next patch simpler, consolidate matching logic to a class
defined in CopyConfig that takes care of matching.
Reviewers: jhenderson, seiya, MaskRay, espindola, alexshap
Reviewed By: jhenderson, MaskRay
Subscribers: emaste, arichardson, jakehehrlich, abrachet, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66432
llvm-svn: 369689
The file was modifiedllvm/tools/llvm-objcopy/COFF/COFFObjcopy.cpp
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.h
The file was modifiedllvm/tools/llvm-objcopy/CopyConfig.cpp
The file was modifiedllvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
Commit aa3a564efa6b5fff2129f81a4041069a0233168f by Adrian Prantl
Extend FindTypes with CompilerContext to allow filtering by language.
This patch is also motivated by the Swift branch and is effectively NFC
for the single-TypeSystem llvm.org branch.
In multi-language projects it is extremely common to have, e.g., a Clang
type and a similarly-named rendition of that same type in another
language. When searching for a type It is much cheaper to pass a set of
supported languages to the SymbolFile than having it materialize every
result and then rejecting the materialized types that have the wrong
language.
Differential Revision: https://reviews.llvm.org/D66546
<rdar://problem/54471165>
llvm-svn: 369690
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.h
The file was modifiedlldb/lit/SymbolFile/DWARF/compilercontext.ll
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.cpp
The file was modifiedlldb/source/Core/Debugger.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
The file was modifiedlldb/source/Symbol/ClangASTContext.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.h
The file was modifiedlldb/include/lldb/Symbol/ClangASTContext.h
The file was modifiedlldb/include/lldb/Target/Language.h
The file was modifiedlldb/source/Symbol/SymbolFile.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
The file was modifiedlldb/include/lldb/Symbol/TypeSystem.h
The file was modifiedlldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp
The file was modifiedlldb/tools/lldb-test/lldb-test.cpp
The file was modifiedlldb/source/Symbol/TypeSystem.cpp
The file was modifiedlldb/include/lldb/lldb-private-interfaces.h
The file was modifiedlldb/source/Target/Language.cpp
The file was modifiedlldb/source/Core/PluginManager.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/PDB/SymbolFilePDB.h
The file was modifiedlldb/include/lldb/Core/PluginManager.h
The file was modifiedlldb/include/lldb/Symbol/SymbolFile.h
The file was modifiedlldb/source/Plugins/SymbolFile/NativePDB/SymbolFileNativePDB.h
The file was modifiedlldb/source/Target/Target.cpp
The file was modifiedlldb/source/Interpreter/OptionValueLanguage.cpp
The file was modifiedlldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
Commit a90eb1ee9f7d826fc1df29337ca99813f9174b32 by Adrian Prantl
Add missing include
llvm-svn: 369691
The file was modifiedlldb/include/lldb/Target/Language.h
Commit df5c04e1cdf3ab9873634e90784fc2617e8f6998 by Adrian Prantl
Add missing include
llvm-svn: 369692
The file was modifiedlldb/include/lldb/Core/PluginManager.h
Commit b43923da5bb5390653b40143c2ef72ae90a9c1b7 by Louis Dionne
[libc++] Fix broken <random> test
In r369429, I hoisted a floating point computation to a variable in
order to remove a warning. However, it turns out this doesn't play well
with floating point arithmetic. This commit reverts r369429 and instead
casts the result of the floating point computation to remove the
warning.
Whether hoisting the computaiton to a variable should give the same
result can be investigated independently.
llvm-svn: 369693
The file was modifiedlibcxx/test/std/numerics/rand/rand.util/rand.util.canonical/generate_canonical.pass.cpp
Commit a1c022c791b506f021a630f6263c14c981b8977b by akhuang
[COFF] Add libcall symbols to the link when LTO is being used
llvm-svn: 369694
The file was modifiedlld/COFF/Symbols.h
The file was modifiedlld/COFF/Symbols.cpp
The file was modifiedlld/COFF/SymbolTable.cpp
The file was addedlld/test/COFF/Inputs/libcall-archive.s
The file was addedlld/test/COFF/libcall-archive.ll
The file was modifiedlld/COFF/Driver.cpp
The file was addedlld/test/COFF/Inputs/libcall-archive.ll
The file was modifiedlld/COFF/SymbolTable.h
Commit b3a991df3cd6ad06b0b40227f636588df75870db by benny.kra
Fight a bit against global initializers. NFC.
llvm-svn: 369695
The file was modifiedlld/ELF/MapFile.cpp
The file was modifiedllvm/lib/WindowsManifest/WindowsManifestMerger.cpp
The file was modifiedlld/COFF/MapFile.cpp
The file was modifiedllvm/tools/llvm-objcopy/ELF/Object.cpp
The file was modifiedclang-tools-extra/clangd/index/Ref.cpp
The file was modifiedclang-tools-extra/clangd/index/CanonicalIncludes.cpp
Commit 1aeb27af224e670a9ff40da33c3cdb811220d70b by lebedev.ri
[NFC][InstCombine] New tests: unrecognized_three-way-comparison.ll is
ignorant about commutative variants part 2
llvm-svn: 369696
The file was modifiedllvm/test/Transforms/InstCombine/unrecognized_three-way-comparison.ll
Commit 2452d7030b84d358165f5f76c9270937b4ea1a91 by peter
IR. Change strip* family of functions to not look through aliases.
I noticed another instance of the issue where references to aliases were
being replaced with aliasees, this time in InstCombine. In the instance
that I saw it turned out to be only a QoI issue (a symbol ended up being
missing from the symbol table due to the last reference to the alias
being removed, preventing HWASAN from symbolizing a global reference),
but it could easily have manifested as incorrect behaviour.
Since this is the third such issue encountered (previously: D65118,
D65314) it seems to be time to address this common error/QoI issue once
and for all and make the strip* family of functions not look through
aliases.
Includes a test for the specific issue that I saw, but no doubt there
are other similar bugs fixed here.
As with D65118 this has been tested to make sure that the optimization
isn't load bearing. I built Clang, Chromium for Linux, Android and
Windows as well as the test-suite and there were no size regressions.
Differential Revision: https://reviews.llvm.org/D66606
llvm-svn: 369697
The file was modifiedllvm/test/Transforms/InstCombine/pr39177.ll
The file was addedllvm/test/Transforms/InstCombine/bitcast-function.ll
The file was modifiedllvm/lib/Analysis/ConstantFolding.cpp
The file was modifiedllvm/lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp
The file was modifiedllvm/lib/Transforms/IPO/GlobalOpt.cpp
The file was modifiedllvm/include/llvm/IR/Value.h
The file was modifiedllvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
The file was modifiedllvm/lib/IR/Value.cpp
The file was modifiedllvm/lib/Analysis/StackSafetyAnalysis.cpp
The file was modifiedllvm/lib/IR/Module.cpp
The file was removedllvm/test/Transforms/InstCombine/bitcast-alias-function.ll
The file was modifiedllvm/lib/IR/Constants.cpp
The file was modifiedllvm/lib/CodeGen/Analysis.cpp
The file was modifiedllvm/lib/IR/Verifier.cpp
The file was addedllvm/test/Transforms/InstCombine/gep-alias.ll
The file was modifiedllvm/lib/Transforms/IPO/ConstantMerge.cpp
The file was modifiedclang/lib/CodeGen/CGExpr.cpp
The file was modifiedllvm/lib/Analysis/ModuleSummaryAnalysis.cpp
Commit 06d778f00ae4d5f2b3508a197ee7265302fde1c2 by Adrian Prantl
Rename lldb/source/Interpreter/OptionValueFileSpecLIst.cpp to       
lldb/source/Interpreter/OptionValueFileSpecListTmp.cpp (NFC)
llvm-svn: 369698
The file was removedlldb/source/Interpreter/OptionValueFileSpecLIst.cpp
The file was addedlldb/source/Interpreter/OptionValueFileSpecListTmp.cpp
The file was modifiedlldb/source/Interpreter/CMakeLists.txt