forked from OSchip/llvm-project
Basic: fix __USER_LABEL_PREFIX__ on Cygwin
Adjust the user label prefix for cygwin x86_64. Resolves PR26744. llvm-svn: 262030
This commit is contained in:
parent
37d136e48e
commit
16fcf0aa52
|
@ -4226,6 +4226,7 @@ public:
|
|||
: X86_64TargetInfo(Triple) {
|
||||
TLSSupported = false;
|
||||
WCharType = UnsignedShort;
|
||||
UserLabelPrefix = "";
|
||||
}
|
||||
void getTargetDefines(const LangOptions &Opts,
|
||||
MacroBuilder &Builder) const override {
|
||||
|
|
|
@ -9049,3 +9049,10 @@
|
|||
// WEBASSEMBLY64-NEXT:#define __wasm64 1
|
||||
// WEBASSEMBLY64-NEXT:#define __wasm64__ 1
|
||||
// WEBASSEMBLY64-NEXT:#define __wasm__ 1
|
||||
|
||||
// RUN: %clang_cc1 -E -dM -ffreestanding -triple i686-windows-cygnus < /dev/null | FileCheck -match-full-lines -check-prefix CYGWIN-X32 %s
|
||||
// CYGWIN-X32: #define __USER_LABEL_PREFIX__ _
|
||||
|
||||
// RUN: %clang_cc1 -E -dM -ffreestanding -triple x86_64-windows-cygnus < /dev/null | FileCheck -match-full-lines -check-prefix CYGWIN-X64 %s
|
||||
// CYGWIN-X64: #define __USER_LABEL_PREFIX__
|
||||
|
||||
|
|
Loading…
Reference in New Issue