1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 10:32:48 +02:00
Go to file
Martin Storsjö ea4f7bb1a3 [llvm-rc] Allow dashes as part of resource name strings
This matches what MS rc.exe allows in practice. I'm not aware of
any legal syntax case that are broken by allowing dashes as part
of what the tokenizer considers an Identifier - but I'm not
very well versed in the RC syntax either, can @amccarth think of
any case that would be broken by this?

This fixes downstream bug
https://github.com/msys2/MINGW-packages/issues/9180.

Additionally, rc.exe allows such resource name strings to be surrounded
by quotes, ending up with e.g.

    Resource name (string): "QUOTEDNAME"

(i.e., the quotes end up as part of the string), which llvm-rc doesn't
support yet either. (I'm not aware of such cases in the wild though,
but resource string names with dashes do exist.)

This also allows including files with unquoted paths, with filenames
containing dashes (which fixes
https://github.com/msys2/MINGW-packages/issues/9130, which has been
worked around differently so far).

Differential Revision: https://reviews.llvm.org/D106598
2021-07-23 23:05:20 +03:00
benchmarks
bindings [IR] Rename comdat noduplicates to comdat nodeduplicate 2021-07-20 12:47:10 -07:00
cmake cmake: Remove unused property on some targets: LLVM_LINK_LIBS 2021-07-22 20:00:18 -07:00
docs [AMDGPU][MC][GFX9][NFC][DOC] Updated AMD GPU assembler syntax description. 2021-07-23 12:59:42 +03:00
examples Opaque pointer GEP fixes for BrainF example 2021-07-18 18:25:54 -07:00
include [llvm][NFC] Fix typos in Errc.h description 2021-07-23 11:54:49 -07:00
lib [NFC][MLGO] Just use the underlying protobuf object for logging 2021-07-23 10:56:48 -07:00
projects [RFC][debuginfo-test] Rename debug-info lit tests for general purposes 2021-06-28 11:31:40 +01:00
resources
runtimes [runtimes] Fix umbrella component targets 2021-06-12 19:49:44 -07:00
test [llvm-rc] Allow dashes as part of resource name strings 2021-07-23 23:05:20 +03:00
tools [llvm-rc] Allow dashes as part of resource name strings 2021-07-23 23:05:20 +03:00
unittests [NFC][MLGO] Just use the underlying protobuf object for logging 2021-07-23 10:56:48 -07:00
utils [gn build] Port e5d8b93e5a25 2021-07-23 16:13:25 +00:00
.clang-format
.clang-tidy NFC: .clang-tidy: Inherit configs from parents to improve maintainability 2021-06-08 08:25:59 -07:00
.gitattributes
.gitignore Remove .gitignore entries not relevant in the monorepo. 2021-04-07 12:25:02 -07:00
CMakeLists.txt [MLGO] Strip TF_PIP cmake variable 2021-07-22 16:28:13 -07:00
CODE_OWNERS.TXT [NFC] Update code owners file 2021-07-20 11:29:10 -07:00
configure
CREDITS.TXT Update personal info in CREDITS.TXT 2021-04-11 19:25:02 +08:00
LICENSE.TXT
llvm.spec.in
README.txt Test commit. 2020-03-14 18:08:26 -07:00
RELEASE_TESTERS.TXT

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.