Incorrect constructor representation in GCC Dehydra

RESOLVED FIXED

Status

RESOLVED FIXED
11 years ago
9 months ago

People

(Reporter: taras.mozilla, Assigned: taras.mozilla)

Tracking

Trunk
x86
Mac OS X

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

11 years ago
1.
      The C++ code:
   2.
       
   3.
      // Initialize the entry with placement new
   4.
      new (entry) RequestMapEntry(request);
   5.
       
   6.
      The gcc-dehydra process() call:
   7.
       
   8.
      nsLoadGroup.cpp:112:41: Processing: {name:"entry", type:{isPointer:true, type:{name:"PLDHashEntryHdr", typedef:{kind:"struct", name:"PLDHashEntryHdr"}}}, loc:"../../../../src/netwerk/base/src/nsLoadGroup.cpp:106:37"},{name:"operator new(size_t, void*)", isFunction:true, type:{type:#1={isPointer:true, type:#2={name:"void"}}, parameters:[{name:"size_t", typedef:{name:"unsigned int"}}, #1#]}, loc:"/builds/gcc-dehydra/installed/lib/gcc/x86_64-unknown-linux-gnu/4.3.0/../../../../include/c++/4.3.0/new:105:57", isFcall:true, arguments:[]},{name:"<anonymous>", type:#3={isPointer:true, type:{kind:"class", name:"RequestMapEntry"}}, loc:"../../../../src/netwerk/base/src/nsLoadGroup.cpp:112:40"},{value:"0u"},{name:"RequestMapEntry::RequestMapEntry(nsIRequest*)", isFunction:true, isConstructor:true, type:{type:#2#, parameters:[#3#, {isPointer:true, type:{kind:"class", name:"nsIRequest"}}]}, loc:"../../../../src/netwerk/base/src/nsLoadGroup.cpp:76:41", isFcall:true, arguments:[]}
(Assignee)

Comment 1

11 years ago
Turned out function call arguments were mostly broken. print-functions.js now gives me this filtered output:
nsLoadGroup.cpp:112:41: ({name:"RequestMapEntry::RequestMapEntry(nsIRequest*)", isFunction:true, isConstructor:true, isFcall:true, fieldOf:{name:"<anonymous>"}, arguments:[{name:"request"}]})

Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → FIXED

Updated

9 months ago
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.