1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 02:33:06 +01:00
llvm-mirror/test
Martin Storsjö 7563d8dfe5 [llvm-rc] Allow specifying language with a leading 0x prefix
This option is always interpreted strictly as a hexadecimal string,
even if it has no prefix that indicates the number format, hence
the existing call to StringRef::getAsInteger(16, ...).

StringRef::getAsInteger(0, ...) consumes a leading "0x" prefix is
present, but when the radix is specified, the radix shouldn't
be included.

Both MS rc.exe and GNU windres accept the language with that
prefix.

Also allow specifying the codepage to llvm-windres with a different
radix, as GNU windres allows that (but MS rc.exe doesn't).

This fixes https://llvm.org/PR51295.

Differential Revision: https://reviews.llvm.org/D107263

(cherry picked from commit 46020f6f0c8aa134002208b2ecf0593b04c46d08)
2021-08-06 12:39:15 -07:00
..
Analysis [AArch64] Update and expand min-max cost model test. NFC 2021-07-27 18:48:58 +01:00
Assembler
Bindings
Bitcode [IR] Rename comdat noduplicates to comdat nodeduplicate 2021-07-20 12:47:10 -07:00
BugPoint
CodeGen [X86][AVX] Add test case for PR51281 2021-08-02 20:05:12 -07:00
DebugInfo [DebugInfo][InstrRef] Don't break up ret-sequences on debug-info instrs 2021-07-29 15:08:13 +01:00
Demangle
Examples [Orc] At CBindings for LazyRexports 2021-07-01 21:52:05 +02:00
ExecutionEngine [JITLink][RISCV] Run new test from 0ad562b48 only if the RISCV backend is enabled 2021-07-25 10:47:26 -04:00
Feature
FileCheck
Instrumentation [hwasan] Use stack safety analysis. 2021-07-22 16:20:27 -07:00
Integer
JitListener
Linker [IR] Rename comdat noduplicates to comdat nodeduplicate 2021-07-20 12:47:10 -07:00
LTO [LTO] Add SelectionKind to IRSymtab and use it in ld.lld/LLVMgold 2021-07-20 13:22:00 -07:00
MachineVerifier [MachineVerifier] Make INSERT_SUBREG diagnostic respect operand 2 subregs 2021-07-21 08:47:17 -07:00
MC [AArch64][SME] Add zero instruction 2021-07-27 08:35:45 +00:00
Object [llvm-readobj] Display multiple function names for stack size entries 2021-07-26 14:49:53 +01:00
ObjectYAML [yaml2obj][MachO] Rename PayloadString to Content 2021-07-26 09:04:51 -07:00
Other [ConstantFold] Get rid of special cases for sizeof etc. 2021-08-04 21:25:15 -07:00
SafepointIRVerifier
Support
SymbolRewriter [IR] Rename comdat noduplicates to comdat nodeduplicate 2021-07-20 12:47:10 -07:00
TableGen
ThinLTO/X86 Revert "ThinLTO: Fix inline assembly references to static functions with CFI" 2021-07-20 13:59:46 -07:00
tools [llvm-rc] Allow specifying language with a leading 0x prefix 2021-08-06 12:39:15 -07:00
Transforms [DebugInfo][LSR] Avoid crashes on large integer inputs 2021-08-05 10:38:19 +01:00
Unit
Verifier [Verifier] Check byval/etc type when comparing ABI attributes 2021-07-20 20:19:47 +02:00
YAMLParser
.clang-format
CMakeLists.txt [test] Add llvm-stress to LLVM_TEST_DEPENDS and lit substitutions 2021-07-22 09:37:01 -07:00
lit.cfg.py [test] Add llvm-stress to LLVM_TEST_DEPENDS and lit substitutions 2021-07-22 09:37:01 -07:00
lit.site.cfg.py.in
TestRunner.sh