diff options
author | Sinan Kaya <41809318+franksinankaya@users.noreply.github.com> | 2019-02-07 04:28:29 -0500 |
---|---|---|
committer | Jan Vorlicek <janvorli@microsoft.com> | 2019-02-07 10:28:29 +0100 |
commit | 328f79f1d9c17dd1ac00901631cd90a41e788022 (patch) | |
tree | ba2a543c43c40d87c98945432d2cf026b575e5b5 /src/debug | |
parent | 8152fc3c8d42fd9e8b80872bef63a29baa64229e (diff) | |
download | coreclr-328f79f1d9c17dd1ac00901631cd90a41e788022.tar.gz coreclr-328f79f1d9c17dd1ac00901631cd90a41e788022.tar.bz2 coreclr-328f79f1d9c17dd1ac00901631cd90a41e788022.zip |
Cleanup LLVM assumption (#22456)
We want to support GNU compilation for CoreCLR. Luckily both LLVM
and GNU compilers define __GNUC__ and there are a lot of things
they can share.
Diffstat (limited to 'src/debug')
-rw-r--r-- | src/debug/daccess/daccess.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug/daccess/daccess.cpp b/src/debug/daccess/daccess.cpp index 326e480a2e..95013760ca 100644 --- a/src/debug/daccess/daccess.cpp +++ b/src/debug/daccess/daccess.cpp @@ -7504,9 +7504,9 @@ STDAPI CLRDataAccessCreateInstance(ICLRDataTarget * pLegacyTarget, // This is the legacy entrypoint to DAC, used by dbgeng/dbghelp (windbg, SOS, watson, etc). // //---------------------------------------------------------------------------- -#ifdef __llvm__ +#ifdef __GNUC__ __attribute__((used)) -#endif // __llvm__ +#endif // __GNUC__ STDAPI CLRDataCreateInstance(REFIID iid, ICLRDataTarget * pLegacyTarget, |