hubert.reinterpretcast added a comment.

In D96033#2757342 <https://reviews.llvm.org/D96033#2757342>, @lhames wrote:

> Hi Hubert,
>
> Could you apply the following patch and let me know the output from the 
> failing test? I'm trying to work out whether the JIT is getting the triple or 
> the data layout wrong.



  ******************** TEST 'Clang :: Interpreter/execute.cpp' FAILED 
********************
  Script:
  --
  : 'RUN: at line 1';   cat 
/home/hstong/.Liodine/llvmproj/clang/test/Interpreter/execute.cpp | 
/home/hstong/.Nrtphome/.Liodine/llcrossbld/dev/build/bin/clang-repl | 
/home/hstong/.Nrtphome/.Liodine/llcrossbld/dev/build/bin/FileCheck 
/home/hstong/.Liodine/llvmproj/clang/test/Interpreter/execute.cpp
  --
  Exit Code: 1
  
  Command Output (stderr):
  --
  triple:     powerpc64-ibm-aix7.2.0.0
  datalayout: E-m:a-i64:64-n32:64-S128-v256:256:256-v512:512:512
  error: Added modules have incompatible data layouts: 
e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512 (module) vs 
E-m:a-i64:64-n32:64-S128-v256:256:256-v512:512:512 (jit)
  error: Added modules have incompatible data layouts: 
e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512 (module) vs 
E-m:a-i64:64-n32:64-S128-v256:256:256-v512:512:512 (jit)
  error: Added modules have incompatible data layouts: 
e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512 (module) vs 
E-m:a-i64:64-n32:64-S128-v256:256:256-v512:512:512 (jit)
  error: Added modules have incompatible data layouts: 
e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512 (module) vs 
E-m:a-i64:64-n32:64-S128-v256:256:256-v512:512:512 (jit)
  error: Added modules have incompatible data layouts: 
e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512 (module) vs 
E-m:a-i64:64-n32:64-S128-v256:256:256-v512:512:512 (jit)
  error: Added modules have incompatible data layouts: 
e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512 (module) vs 
E-m:a-i64:64-n32:64-S128-v256:256:256-v512:512:512 (jit)
  error: Added modules have incompatible data layouts: 
e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512 (module) vs 
E-m:a-i64:64-n32:64-S128-v256:256:256-v512:512:512 (jit)
  error: Added modules have incompatible data layouts: 
e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512 (module) vs 
E-m:a-i64:64-n32:64-S128-v256:256:256-v512:512:512 (jit)
  error: Added modules have incompatible data layouts: 
e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512 (module) vs 
E-m:a-i64:64-n32:64-S128-v256:256:256-v512:512:512 (jit)
  error: Added modules have incompatible data layouts: 
e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512 (module) vs 
E-m:a-i64:64-n32:64-S128-v256:256:256-v512:512:512 (jit)
  error: Added modules have incompatible data layouts: 
e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512 (module) vs 
E-m:a-i64:64-n32:64-S128-v256:256:256-v512:512:512 (jit)
  error: Added modules have incompatible data layouts: 
e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512 (module) vs 
E-m:a-i64:64-n32:64-S128-v256:256:256-v512:512:512 (jit)
  error: Added modules have incompatible data layouts: 
e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512 (module) vs 
E-m:a-i64:64-n32:64-S128-v256:256:256-v512:512:512 (jit)
  /home/hstong/.Liodine/llvmproj/clang/test/Interpreter/execute.cpp:7:11: 
error: CHECK: expected string not found in input
  // CHECK: i = 42
            ^
  <stdin>:1:1: note: scanning from here
  clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> 
clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> 
clang-repl> clang-repl> 
  ^
  <stdin>:1:9: note: possible intended match here
  clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> 
clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> 
clang-repl> clang-repl> 
          ^
  
  Input file: <stdin>
  Check file: /home/hstong/.Liodine/llvmproj/clang/test/Interpreter/execute.cpp
  
  -dump-input=help explains the following input dump.
  
  Input was:
  <<<<<<
             1: clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> 
clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> clang-repl> 
clang-repl> clang-repl> clang-repl>  
  check:7'0     
X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 error: no match found
  check:7'1             ?                                                       
                                                                                
                          possible intended match
  >>>>>>
  
  --
  
  ********************


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96033/new/

https://reviews.llvm.org/D96033

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to