p4lang-p4c-nightly:cdodd-cherry

Last commit made on 2019-05-09
Get this branch:
git clone -b cdodd-cherry https://git.launchpad.net/p4lang-p4c-nightly

Branch merges

Branch information

Name:
cdodd-cherry
Repository:
lp:p4lang-p4c-nightly

Recent commits

ba85e67... by Chris Dodd <email address hidden>

Framework for non-local branches in ControlFlowVisitor

- add support for tracking named 'global' flow paths between different
  parts of the IR, useful for tracking data flow over things like
  exit/return or calls or state transitions.

49415fb... by Chris Dodd <email address hidden>

Move exit; statement to actions in actionSynthesis (#1920)

* added .gdbinit with useful pretty printers

* Move exit; statement to actions in actionSynthesis

a5468fa... by Chris Dodd <email address hidden>

ordered_set::operator< (#1901)

- allows sets of ordered_sets or ordered_sets as map keys in a sensible way.
  Compares the underlying sets independent of the order, so that it is
  possible to have ordered_sets where !(a < b) && !(b < a) && !(a == b).
  Such sets contain the same elements but in a different order.

ff42e6c... by Han Wang <email address hidden>

revert cmake changes (#1854)

* Revert "remove dependency between controlplane and frontend (#1850)"

This reverts commit b73449d522debe0188071b2a8b2eb670799a9b28.

* Revert "add p4parser.hpp to controlplane dependency (#1851)"

This reverts commit e0e11391d85d211655db309c4f7b0373efc59359.

e0e1139... by Han Wang <email address hidden>

add p4parser.hpp to controlplane dependency (#1851)

63d6efb... by Mihai Budiu <email address hidden>

Convert some error messages to the new format (#1813)

* Convert some error messages to the new format

a7aa7d0... by Antonin Bas <email address hidden>

Restrict duplicate name check for P4Info to objects of the same "type" (#1849)

It seems that some people use P4Runtime with P4_14 programs. In P4_14 it
is valid (and quite common) when defining a keyless table with a const
default action to use the same same for both the table and the default
action. When the compiler translates the program to P4_16, it ensures
that the names are different but preserves the original names with a
@name annotation. The @name annotation is used when generating the
P4Info message. In order to avoid breaking backward-compatibility for
these P4_14 programs, it seems that we need to restrict the duplicate
name check to objects of the same type. This is a weaker guarantee than
what is required by both the P4_16 and the P4Runtime spec but in my
experience consumers of P4Info are capable of handling non-unique names,
as longs as names are unique for a given object type.

b73449d... by Han Wang <email address hidden>

remove dependency between controlplane and frontend (#1850)

74bcfa3... by "Peter J. Li" <email address hidden>

add bmv2 psa_switch stf tests for drop all, unicast, multicast (#1848)

* add drop-all and unicast-or-drop stf tests

* update unicast stf test to be andys instead of my incorrect version

* add basic multicast test from demo

* psa tests should fail on travis, add them to xfail

899f77a... by Han Wang <email address hidden>

A couple bugfixes (#1847)

* do not discard header annotation while flattening

* bugfix in stringref.h