Skip to content

Conversation

@idoth2o
Copy link

@idoth2o idoth2o commented Mar 18, 2018

Hi.
I want use “LLVM assembly code”(createPrintModulePass(outs())) to compile “llc” command.
So, "main function" need define “GlobalValue::ExternalLinkage” at codegen.cpp

—hope output(LLVM assembly code)—
define void @main() {
entry:
…etc
}

—current output(LLVM assembly code)—
define internal void @main() {
entry:
…etc
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant