forked from eclipse-omr/omr
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Virtualizing CodeGenerator fails #53
Comments
Proposed solution: add default implementation for such cases |
samasri
added a commit
that referenced
this issue
Jun 9, 2018
Signed-off-by: Samer AL Masri <[email protected]>
samasri
added a commit
that referenced
this issue
Jun 9, 2018
Signed-off-by: Samer AL Masri <[email protected]>
samasri
added a commit
that referenced
this issue
Jul 3, 2018
Signed-off-by: Samer AL Masri <[email protected]>
samasri
added a commit
that referenced
this issue
Jul 3, 2018
Signed-off-by: Samer AL Masri <[email protected]>
samasri
added a commit
that referenced
this issue
Jul 9, 2018
Signed-off-by: Samer AL Masri <[email protected]>
samasri
added a commit
that referenced
this issue
Jul 9, 2018
Signed-off-by: Samer AL Masri <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tasks
OMR_API
from PRsDescription of problem
The PR to virtualize
CodeGenerator
is failing. The main problem seems to be from virtualizinggenerateSwitchToInterpreterPrePrologue(TR::Instruction*, uint8_t, uint8_t)
.Error message:
This function is declared in
OMR::X86::CodeGenerator
however it is not defined in the OMR project. It is, however, defined inJ9::X86::CodeGenerator
. Hence, when compiling the OMR project independently of OpenJ9 (as in Travis CI), the linker would not be able to find a definition for the virtual function which causes an error.I tried adding
= 0
to the end of the functions declaration making it pure virtual; since pure virtual functions are allowed not to have a declaration which caused another error:The text was updated successfully, but these errors were encountered: