Skip to content
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

llvm2cpp generates incorrect code #1889

Closed
llvmbot opened this issue Jun 16, 2007 · 2 comments
Closed

llvm2cpp generates incorrect code #1889

llvmbot opened this issue Jun 16, 2007 · 2 comments
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead llvm-tools All llvm tools that do not have corresponding tag

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Jun 16, 2007

Bugzilla Link 1517
Resolution FIXED
Resolved on Feb 22, 2010 12:53
Version 1.0
OS All
Reporter LLVM Bugzilla Contributor

Extended Description

#include <stdio.h>

extern "C" void NewMarker1()
{
printf("NewMarker1 \n");
printf("NewMarker1 \n");
}

llvm2cpp -f -gen-function -funcname=makeNewMarker1 -for=NewMarker1 test.bc -o substitute_bug.
test.cpp produces

@llvmbot
Copy link
Collaborator Author

llvmbot commented Jun 16, 2007

Sorry for incorrect submit:

#include <stdio.h>

extern "C" void NewMarker1()
{
printf("NewMarker1 \n");
printf("NewMarker1 \n");
}

llvm2cpp -f -gen-function -funcname=makeNewMarker1 -for=NewMarker1 test.bc -o test.bc.cpp
produces twice a same function in the resulting code.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Jun 16, 2007

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 3, 2021
troelsbjerre pushed a commit to troelsbjerre/llvm-project that referenced this issue Jan 10, 2024
Handle unknown OSes in DarwinTargetInfo::getExnObjectAlignment
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla compile-fail Use [accepts-invalid] and [rejects-valid] instead llvm-tools All llvm tools that do not have corresponding tag
Projects
None yet
Development

No branches or pull requests

1 participant