This repository was archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e56dcce
to
a0379c5
Compare
am11
reviewed
Feb 23, 2019
a0379c5
to
8cc2dee
Compare
Any review feedback? |
janvorli
reviewed
Feb 25, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides the nit, I would like to know @noahfalk's preference on the SyntheticStorage stuff change (as I have asked him in the other PR), but it seems fine otherwise.
1505e26
to
267db3d
Compare
@dotnet-bot test coreclr-ci |
Suppress warning during hash add casting
src/vm/codeversion.h:112:16: warning: ‘struct NativeCodeVersion::<anonymous union>::SyntheticStorage’ invalid; an anonymous union can only have non-static data members [-fpermissive] struct SyntheticStorage
Remove extra class declaration
src/vm/amd64/virtualcallstubcpu.hpp:735:103: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] resolveInit.toMiss1 = offsetof(ResolveStub,miss)-(offsetof(ResolveStub,toMiss1)+1) & 0xFF; ^ src/vm/amd64/virtualcallstubcpu.hpp:741:103: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] resolveInit.toMiss2 = offsetof(ResolveStub,miss)-(offsetof(ResolveStub,toMiss2)+1) & 0xFF; Add parenthesis src/vm/dataimage.cpp:631:55: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] previousRvaInfo->rva == rvaInfo->rva && previousRvaInfo->size >= rvaInfo->size Add parenthesis src/debug/daccess/daccess.cpp:6871:29: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] _ASSERTE(peFile == NULL && reflectionModule != NULL || peFile != NULL && reflectionModule == NULL); Add parenthesis src/vm/dataimage.cpp:631:57: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] (previousRvaInfo->rva == rvaInfo->rva) && (previousRvaInfo->size >= rvaInfo->size)
src/ilasm/method.cpp:35:36: warning: operation on ‘((Method*)this)->Method::m_ulColumns[0]’ may be undefined [-Wsequence-point] m_ulColumns[0]=m_ulColumns[0]=0;
267db3d
to
9489493
Compare
Rebased to master. |
Should this go in since all tests pass now? Any other review feedback? |
Thanks for pinging, I missed the original in the noise : ) I didn't see if there multiple options you were trying to get my preference between, but what you have here that makes the struct nameless seems fine to me. cc @kouvel (the current owner of the code version manager) |
Looks ok to me as well |
omajid
added a commit
to omajid/dotnet-coreclr
that referenced
this pull request
Aug 12, 2019
This commit fixes coreclr to build in newer versions of llvm (tested with llvm 8 on Fedora 30). These recent versions of llvm (as well as GCC) do not accept values like "20h" as valid integer literals: src/debug/ee/amd64/dbghelpers.S:32:21: error: unknown token in expression add rsp, 20h ^ This was reported as a bug to llvm upstream and they explicitly rejected supporting these literals: https://reviews.llvm.org/D59810 This is partial backport of cbd672e (PR dotnet#22810), which was about adding compatiblity with GCC 5.
omajid
added a commit
to omajid/dotnet-coreclr
that referenced
this pull request
Aug 12, 2019
This commit fixes coreclr to build in newer versions of llvm (tested with llvm 8 on Fedora 30). These recent versions of llvm (as well as GCC) do not accept values like "20h" as valid integer literals: src/debug/ee/amd64/dbghelpers.S:32:21: error: unknown token in expression add rsp, 20h ^ This was reported as a bug to llvm upstream and they explicitly rejected supporting these literals: https://reviews.llvm.org/D59810 This is partial backport of cbd672e (PR dotnet#22810), with some modifications to compile, which was about adding compatiblity with GCC 5.
omajid
added a commit
to omajid/dotnet-coreclr
that referenced
this pull request
Aug 12, 2019
This commit fixes coreclr to build in newer versions of llvm (tested with llvm 8 on Fedora 30). These recent versions of llvm (as well as GCC) do not accept values like "20h" as valid integer literals: src/debug/ee/amd64/dbghelpers.S:32:21: error: unknown token in expression add rsp, 20h ^ This was reported as a bug to llvm upstream and they explicitly rejected supporting these literals: https://reviews.llvm.org/D59810 This is partial backport of cbd672e (PR dotnet#22810), with some modifications to compile, which was about adding compatibility with GCC 5.
omajid
added a commit
to omajid/dotnet-coreclr
that referenced
this pull request
Aug 13, 2019
This commit fixes coreclr to build in newer versions of llvm (tested with llvm 8 on Fedora 30). These recent versions of llvm (as well as GCC) do not accept values like "20h" as valid integer literals: src/debug/ee/amd64/dbghelpers.S:32:21: error: unknown token in expression add rsp, 20h ^ This was reported as a bug to llvm upstream and they explicitly rejected supporting these literals: https://reviews.llvm.org/D59810 This is partial backport of cbd672e (PR dotnet#22810), with some modifications to compile, which was about adding compatibility with GCC 5.
jkotas
pushed a commit
that referenced
this pull request
Sep 12, 2019
This commit fixes coreclr to build in newer versions of llvm (tested with llvm 8 on Fedora 30). These recent versions of llvm (as well as GCC) do not accept values like "20h" as valid integer literals: src/debug/ee/amd64/dbghelpers.S:32:21: error: unknown token in expression add rsp, 20h ^ This was reported as a bug to llvm upstream and they explicitly rejected supporting these literals: https://reviews.llvm.org/D59810 This is partial backport of cbd672e (PR #22810), with some modifications to compile, which was about adding compatibility with GCC 5.
picenka21
pushed a commit
to picenka21/runtime
that referenced
this pull request
Feb 18, 2022
* Use thread_local for thread local storage on non MSVC targets * Use local copy of visitor rather than function parameter * Remove extra class qualifier * Replace hex number representation in ASM files * Reorder STDAPI and DLLEXPORT * Suppress conversion Suppress warning during hash add casting * Remove anonymous struct src/vm/codeversion.h:112:16: warning: ‘struct NativeCodeVersion::<anonymous union>::SyntheticStorage’ invalid; an anonymous union can only have non-static data members [-fpermissive] struct SyntheticStorage * Remove class declaration Remove extra class declaration * Remove extern C * Add implicit paranthesis src/vm/amd64/virtualcallstubcpu.hpp:735:103: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] resolveInit.toMiss1 = offsetof(ResolveStub,miss)-(offsetof(ResolveStub,toMiss1)+1) & 0xFF; ^ src/vm/amd64/virtualcallstubcpu.hpp:741:103: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses] resolveInit.toMiss2 = offsetof(ResolveStub,miss)-(offsetof(ResolveStub,toMiss2)+1) & 0xFF; Add parenthesis src/vm/dataimage.cpp:631:55: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] previousRvaInfo->rva == rvaInfo->rva && previousRvaInfo->size >= rvaInfo->size Add parenthesis src/debug/daccess/daccess.cpp:6871:29: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] _ASSERTE(peFile == NULL && reflectionModule != NULL || peFile != NULL && reflectionModule == NULL); Add parenthesis src/vm/dataimage.cpp:631:57: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] (previousRvaInfo->rva == rvaInfo->rva) && (previousRvaInfo->size >= rvaInfo->size) * Initialize member 1 src/ilasm/method.cpp:35:36: warning: operation on ‘((Method*)this)->Method::m_ulColumns[0]’ may be undefined [-Wsequence-point] m_ulColumns[0]=m_ulColumns[0]=0; * Remove unknown compiler option * Abstract DLLEXPORT Commit migrated from dotnet/coreclr@cbd672e
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.