| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| build-pnacl-ir.py | ||
| build-runtime.py | ||
| crosstest.py | ||
| crosstest_generator.py | ||
| gen_arm32_reg_tables.py | ||
| if.py | ||
| run-pnacl-sz.py | ||
| szbuild.py | ||
| szbuild_spec2k.py | ||
| targets.py | ||
| utils.py |
The driver programs for vector tests use a loop to initialize vector-type values one element at a time. The PNaCl ABI requires the vector element index to be a constant, and the createConstantInsertExtractElementIndexPass() transformation creates an alloca instruction. When this alloca is inside a loop, it can (and does in the cross tests) cause a stack overflow. The workaround here is to use a noinline helper function to do the insertelement. We didn't run into this problem until now because native and sandbox cross tests build the driver in a different way that presumably avoids running the PNaCl ABI simplification passes. BUG= none R=jpp@chromium.org Review URL: https://codereview.chromium.org/1560933002 .
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| build-pnacl-ir.py | Loading commit data... | |
| build-runtime.py | Loading commit data... | |
| crosstest.py | Loading commit data... | |
| crosstest_generator.py | Loading commit data... | |
| gen_arm32_reg_tables.py | Loading commit data... | |
| if.py | Loading commit data... | |
| run-pnacl-sz.py | Loading commit data... | |
| szbuild.py | Loading commit data... | |
| szbuild_spec2k.py | Loading commit data... | |
| targets.py | Loading commit data... | |
| utils.py | Loading commit data... |