Skip to content

llvm-gcc doesn't handle struct-returning stdcall functions right #1503

@asl

Description

@asl
Bugzilla Link 1131
Resolution FIXED
Resolved on Feb 22, 2010 12:44
Version trunk
OS All
Attachments Failed bytecode, Preprocessed source, Just one insteresting function extracted, Updated bytecode, The source of prev. bytecode

Extended Description

Consider the attached bytecode.

./opt -instcombine -simplifycfg nsSubstring.bc

strips all code from %_ZN11nsSubstring7ReplaceEjjRK18nsAString_internal function
(the same for "EjjRK19" one). Without instcombine - everything is ok.

This breaks Mozilla builds.

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzillallvm-toolsAll llvm tools that do not have corresponding tagmiscompilation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions